Since BrowserUI is the main frontend framework for web and Electron development, it is of high importance as part of Confoederatio's main tech stack. As such, it is subject to frequent updates in both planning, layout, and documentation. We intend on refactoring BrowserUI later as a core module of what Confoederatio requires.
Red denotes undone tasks, whilst green indicates finished tasks. Yellow denotes tasks that are still under review.
- Inputs.
- Add ‘search_select’, similar to https://www.w3schools.com/howto/howto_js_filter_dropdown.asp.
- Add ‘sortable_list’ as a valid context menu input. This uses SortableJS, see https://sortablejs.github.io/Sortable/.
- Add controls for sortable_list: (options.has_controls option). true should be the default value.
- Other options: .disable_add (false by default), .disable_remove (false by default).
- Add elements to sortable_list: .onadd() should fire in this case if needed, with the newly created element for (e)
- Add event for ‘sortable_list’: .onchange(), which changes on any event firing, including .onadd() or .onremove().
- Add .onchange() event for ‘search_select’.
- Remove elements from sortable_list: .onremove() should fire in this case if needed with the newly created element for (e)
- Finish getInput() for ‘basic_colour’, ‘search_select’, ‘sortable_list’; alongside autoFillInputs()
- Document basic_colour
- Document search_select
- Document sortable_list
- Sections.
- Add minimisation chevrons with the ability to bind them to certain elements. These are float right by default, but should have .options: .align: ‘left’/'right'.
- Add nested sections/context menu options for createContextMenu().
- Windows.
- Add .options.is_window to createContextMenu(). This should be most similar to https://www.w3schools.com/howto/howto_js_draggable.asp
- Add .options.is_resizable/options.is_resizeable to createContextMenu(). This is available only for .is_window and determiunes whether this window is currently resizeable.
Note. QA has not currently been performed for Universal Framework/BrowserUI. Ideally this should be done in the future to ensure that new components meet dev standards.