pub fn add_section_entry(
config_watcher: &Arc<ConfigState>,
event_bus: &Arc<EventBus>,
base: &str,
entry: Value,
) -> Result<String, String>Expand description
Adds a section’s entry to the user’s widgets.json (section_entry_in) and applies the file
at once, so the widget bar can pin the entry as soon as this returns; the file watcher applies
it again a moment later, which changes nothing. Returns the entry’s key. For “Pin this section
to the widget bar” (section-pins.ts): the bar pins only an entry that exists.