MCPcopy Create free account
hub / github.com/Rello/analytics / showFields

Function showFields

js/jsonPicker.js:220–228  ·  view source on GitHub ↗
(records, parts, initialFields = [])

Source from the content-addressed store, hash-verified

218 render();
219 };
220 const showFields = (records, parts, initialFields = []) => {
221 rowPath = parts.join('/');
222 selected = initialFields;
223 update();
224 tree.replaceChildren();
225 back.hidden = false;
226 children(records.slice(0, 50), [], tree, true);
227 back.focus();
228 };
229 status.textContent = t('analytics', 'Loading');
230 try {
231 const result = await request('apps/analytics/datasource/json/content', {

Callers 3

renderFunction · 0.85
browseFunction · 0.85
jsonPicker.jsFile · 0.85

Calls 3

childrenFunction · 0.85
focusMethod · 0.80
updateFunction · 0.70

Tested by

no test coverage detected