mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
* Use menu for project switcher * Setup base structure for settings module * Setup routes for settings * Tweak v-menu styling * Rough in collection overview in settings * Save field info based on sort * Add accidentally renamed global route * Add move-in-arrow util * Add update methods for fields * Add field sorting logic * Handle sorting between groups * Add support for label on the v-divider component * Register missing components * Allow multiple dialogs at once * Progress in settings * Fix full-width option of input * Update missing translations * Improve menu performance * Add field sizing * Add disabled state to list item * Add visibility toggle * Undo changes on API errors * Add test for usecollectoins * Add notifications to field updates * Fix linter warning * Remove useCollection directive * Fix linter warnings
Displays
Displays are functions / components that are used in the system to display data. They are small wrappers that help display values in a matter that makes sense for the saved value, for example rendering a color swatch for a saved color value.
Functions vs Components
A Display can either be a function, or a component. The function gets the value, and returns a
string of how to display this value. A Vue component similarly gets the value through the value
prop, and can render whatever makes sense for the value.