Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Open Questions

Budget UI
IssueDiscussionDecisionRequisition page actionsAdding columnsTicket(s)

UI-Router Extendable UI-Views

Currently UI-Views allow for sections of a page to be changed depending on the requested URI, but only a single item can be placed in one view definition.

This proposal is to create a method of registering additional page components to be displayed from a UI-View. There are features that could be added, but are optional.

  • Template (HTML) and Controller (code to drive HTML) additions
  • Priority
  • Resolved values

NOTE: I have been unable to find a pre-built solution for this (but feel like one must exist)




Form Extensions

A theoretical pain point for implementers is to add a single checkbox or configuration option to a configuration screen. Example: Assign a color selection to a user setting.

This proposal would allow for Templates/Controllers to be added to a `<form>` element programatically. This would function much like extendable UI-Views, but the large technical difference is there would need to be a way to register a function to execute when the form is submitted.




Extensibility of Requisition Screen

The Requisition Screen is a highly used and specialized screen — if we don't make global extensions (as stated above) — what would be want to add to these pages?




Documentation

What is the best way to document extension points?

  • JS Documentation
  • Markdown documentation guide
  • Sample extension git repository



Currently Supported

  • Localizable Strings
  • SCSS/CSS
  • Add UI-Path & Navigation Options
  • Backend Extensions

In Process and Undocumented

  • File Overwrite
  • UI-Route Overwrite

Depth of Extendability

  • UI-View
     Allow views defined in UI-Router to have additional content added before or after
  • Requisition Page
    Take the time to build extendable hooks into highly used pages, so that implementers can add functionality to those specific pages. This would discourage developers from forking main parts of mark-up, but it would be important to have enough documentation to support these features or changes.   
  • Budget popover
    Many large pages have small sections that may require extension, but the functionality here is limited and fairly small. Is it worth investment to build hooks into these components or allow for small pieces of code to be forked.