* add icon & color to bookmarks
* update current bookmark title on edit
* clean up edit bookmark dialog on cancel
* remove unused bookmark-edit component
* interaction improvements
* sort based on scope and alphabetically
* prevent hover when locked & use tooltip
* Reduce size of right hand icon in bookmark
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Add field validation column
* Add frontend config for validation
* Make it work
* Add regex to filter configuration
* Fix const/let
* Add custom validation message support
* Add custom validation message tooltip inline
* Fix custom names in validation errors up top
* Fix type error
* Nog eentje om het af te leren
* resolve unused import warnings
* add migration for translation strings
* add to navigation
* WIP
* fix dialog overflow
* update translation keys
* Update logic
* add placeholder to system-language
* fix translation
* remove unused import
* reset dialog on create new
* ensure search input is visible when searching
* merge translation strings on set language
* merge translation strings on update
* hydrate
* make sure null translation do not get merged
* change dialog to drawer
* update placeholder text
* fix form value
* revert dialog style change
* rename drawer component
* Force safe key name
* Move interface to system interfaces
The saved values are Directus app proprietary, so to prevent confusion in what it's supposed to do, we'll move it to system.
* Move composable to root composables
* Use new languages input in interface/display options
* hide translation strings field in project settings
* set system true to system-input-translated-string
* use this in field detail notes
* use in list options
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Use script setup
* Start on export dialog
* Use new system field interface, replace limit with numeric input
* Set placeholder
* Add sort config
* Use folder picker, correct layoutQuery use
* Add local download button
* Allow writing exports to file
* Add notification after export
* Fix sort config, use new export endpoint
* Setup notification hints
* Add information notice
* Fix local limit, cancel button
* Add (basic) docs for export functionality
* Fix json export file format
* Implement xml batch stitching
* Resolve review points
* expand groups on save when they contain error(s)
* bubble to top & scroll top
* fix groups validation errors watcher
* fix group acordion's first error field selection
* update global error notice
* WIP - field validation
* tweak validation errors list styling
* more validation-errors-list tweaks
* click and scroll to field
* move validation error notice to a component
* tweak use-item validate
* validate drawer item
* extract validateItem function
* Revert "WIP - field validation"
This reverts commit f6ffd836c4.
* Start by stripping out the previous Union attempt
* Then set limit to -1, causing massive memory issues on big data sets
* Now fix the memory problem by batching the responses
* Use env var for max relational batch size
* Rename env var, add to docs
* extension takes context object
* v-model with options object
* removed comments
* added typing
* fixed typing
* state is saved on field-configuration
* extension-options uses object for objectOptions
* removed unnecessary context
* more props instead of context object
* remove unused import
* move Panel type to shared
* passing edits.options => whole edit object
* alterOptions check => edits watch
* props on extension types have defaults
* returning the whole panel not just .options
* panels without functions load
* only displaying first, last, and count
* first last count working
* string values displayed!
* removed unused vars
* choices disabled not removed
* options.function resets to count
* fills in values when editing a panel
* field resets when collection changes
* doesn't wipe collection on edit
* panel cleared when panel type changes
* removed resolved comment
* package.json
* Advanced Field Detail working
* divider on type of function
* divider option removed unneeded values
* removed unneeded v-if
* Don't check against function type in panel options
* Tweaks to resolve my own commentary
* 🧹 Cleanup tweaks
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Since #11099 the extensions-sdk isn't externalized anymore when bundling API extensions.
This causes rollup to pull in a lot of unnecessary dependencies that aren't automatically tree-shaken.
Fixes#11275
This ensures that extensions work with an out-of-root extensions folder.
Instead of leaving the list of API shared deps empty, this adds `directus` as the only shared dep
because it is never a good idea to bundle the Directus API into an extension.
* Use indnatts instead of indnkeyatts in postgres dialect
* Update knex-schema-inspector
* Add PG10 for debugging
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Refactor parseFilter to only flatten filter entries that need it
* Fixed typescript check
* Use custom get function instead of lodash's.
* Improved get function readability
* Allow null result from shared parseFilter
* Add missing defaultValue in get function
* Change parseFilter argument type from Record<string, any> to Filter | null
Co-authored-by: ian <licitdev@gmail.com>