* Fix table select all
* Fix defaulting + staging changes on new preset
* Navigate to bookmark after creation
* Support exact prop on v-list
* Use exact links in browse
* Show bookmark title when on bookmark
* Force layout refresh on navigation change
* Allow numbers in v-badge
* Add edit bookmark string
* Rename add-bookmark to bookmark-add
* Add bookmark-edit
* Save name changes to bookmark
* secondary action button style
will apply to other modules if we like this
* card styling
filled grid
static gaps
improved selections/hovering
* action button colors
* dialog styling
* updated pagination
* choose layout name
* move page count to footer
* card footer
* correct list group icon orientation
* move card size to header
* header icon color
* radios are not labels
* clean up projcet chooser styling
* don’t collapse pagination when empty
* logout style and tooltips
* correct css variable
* layout translation key
* use general “per page” translation
* hide per page when not in use
also increases min per page from 10 to 25
* more per page fixes
* add regex placeholder
* add new custom grid icons
* new card size toggle and tooltips
* differentiate between inner/outer border radius
WIP
* display icons
* horizontal alignment for status dot
WIP
* beautiful badges
* fix jumping table loader
* show search “x” when minimized
* shorten page count string
* system tooltips
* user menu avatar hover
* edit vs new detail page
don’t show delete if new
rijk might not like my nested ternary
* conditional divider spacing
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Add translation strings for adding/editing item
* Add display_template to collection type
* Dont use functional for skeleton loader
* Make title optional and add title slot
* Make title prop optional in private view
* Render -- for null values in render template
* Render display template in header bar
* Render null values in template as subdued --
* Render status dot aligned in the middle
* Fetch latest collections on settings save
* Render markdown in field notes
* Make add field button full width on data model
* Add no items with cta
* Add no items cta
* Add no results + clear
* Add no collections state
* secondary action button style
will apply to other modules if we like this
* card styling
filled grid
static gaps
improved selections/hovering
* action button colors
* dialog styling
* updated pagination
* choose layout name
* move page count to footer
* card footer
* correct list group icon orientation
* move card size to header
* header icon color
* radios are not labels
* clean up projcet chooser styling
* don’t collapse pagination when empty
* logout style and tooltips
* correct css variable
* layout translation key
* use general “per page” translation
* hide per page when not in use
also increases min per page from 10 to 25
* more per page fixes
* add regex placeholder
* add new custom grid icons
* new card size toggle and tooltips
* differentiate between inner/outer border radius
WIP
* display icons
* horizontal alignment for status dot
WIP
* beautiful badges
* Register filter drawer detail globally
* Add loading state mode to filter drawer detail
* Fix cursor clicking in search-filter
* Move filter drawer detail to layouts
* Fix typing of badge in drawer detail
* Close filter dropdown on content click
* Close project chooser on click outside
* Add show-deselect option to v-select
* Add parse-choices util
* Add dropdown interface
* Add allow-other prop to v-select (single only)
* Check for custom state correctly
* Treat empty custom value as null
* Set full-width to true by default for inputs / selects
* Add allow-other support to multiple dropdown
* Upgrade display value to show item count
* Fix custom deletion
* Fix tests
* Pass allow other on in dropdown interface
* Convert render function into component
* Allow types definition in display registration
* Add status-dot interface
* Fix render display rendering in tabular view
* Add types to other displays
* Export tooltip from index
* Start on readme
* Add tests for status dot
* secondary action button style
will apply to other modules if we like this
* card styling
filled grid
static gaps
improved selections/hovering
* action button colors
* dialog styling
* updated pagination
* choose layout name
* move page count to footer
* card footer
* correct list group icon orientation
* move card size to header
* header icon color
* radios are not labels
* clean up projcet chooser styling
* don’t collapse pagination when empty
* logout style and tooltips
* correct css variable
* layout translation key
* use general “per page” translation
* Fix default state for file library, dont allow sorting by fake fields
* Fix duplicate collection presets
* Force type field to be fetched in file library
* Fix wrong assignment
* Fix reactivity of currentLayout in drawer detail
* Start on cards layout
* Use dense list items in v-select
* Add cards + size option
* Render cards + files based on options
* Allow modules to set view defaults
* Start on render-template component
* Add get fields from template util
* Use render template component in cards layout
* Render as small icon
* Accept options in display handler function
* Fix type warnings in format title display
* Remove empty styling in render template component
* Account for null values in render template
* Add loading state to cards layout
* Remove type validation in skeleton loader
* Only fetch rendered fields
* Fix resolving of default values for cards module
* Add selection state to cards
* Add selection state to cards
* Make render template reactive
* Implement setup options
* Add disabled support to v-select
* Add fallback icon option + disable fit input when no source
* Add sort header to cards layout
* Remove console log
* Add selection state to cards header
* Fix z-indexing of header menu
* Add pagination to cards layout
* Fix types in field
* Fix type checks in field-setup
* Add role presentation to img
* Remove code smell
* Handle file library gracefully
* Add native lazy loading to images in cards layout
* Render SVGs inline in card
* Manage view_type through collection preset composition
* Move view type translation
* Add layout drawer detail component
* Use different icon for tabular
* Render view as section in browse sidebar
* Fix sticky header in table
* Sort return statement values 🤓
* Use viewtype picker on users
* Use layout picker on files
* Default to tabular view when invalid is set
* Render view type dynamically based on setting
* nav list sizing
* less contrast on table load progress
* new data model icon
* fixes all users nav
rijk SAID he fixed… but that’s ok ;)
* lighter module active color
* decrease badge size
* text changes
* new sidebar drawer component styling
* space out filters a bit more
* add auto-save warning to fields setup
* new tabular option icons
* new filter styling
needs formatting and translations for field name tooltips
* form field group styling
WIP — just styling, and needs translations
* Add 160px bottom padding to all pages
* Force header column to have 24px min width
* Allow resizing of last column in v-table
* Fix table row unwanted spacing + offset 2px
* Add divider to end of drawer detail
* Add down chevron on project chooser hover
* Add support for color accented modules
* Use yellow header icon in settings
* Add link to collections module browse icon
* Dont show all items selected on load v-table
* Add prepend / append slot to v-checkbox
* Add drag handles to field setup settings in tabular
* Fix loading state in table
* Show all resize handles on hover
* Lose breadcrumb in collections module, show singleton title
* Wrap activity icon, render textarea full width
* Dont render comments section on batch
* Allow input to shrink for slots
* Fix cursor on v-selects
* Prevent input usage when they have click events
* Fix margin on divider in fields-management
* Fix drag handles on field selects
* Fix button / divider spacing
* Remove support for divider inset
* Fix test warning
* Fix table-row test
* Fix codesmell
* Fix missing scope attr
* Add filters-to-query util
* Add all users string
* Suppot filters in tabular layout
* Sync filters with collection presets
* Support filters in use-items composition
* Render users nav + use skeleton loader
* Add list-item-icon type to skeleton loader
* Fix missing loader indicator on table
* Cleanup has click check
* Dont route based on id
* Fix loading state in table
* Revert "Dont route based on id"
This reverts commit 6de7cbe1b801d5e5e267f09a6e77dc73dcc60a37.
* Fix table loading state
* Fix routing for users module
* Force role field to be fetched
* Add roles store
* Dont render avatar until user is known
* Speed up hydration absurd much
* Rely on roles store to prevent nav from loading
* Fix tests
* Fix wrong component names
* Hide selection in table when there is no selection prop
* Add activity module
* Support hidden option in module definition
* Install micromustache
* Add useCollectionPreset composition
* Add detailRoute prop to layouts
Allows for overriding where the detail view is located from the parent
* Add locale translations for users/files/activity
* Update collections module to use new composition / layout prop
* Update useItem useItems to allow for directus_ collections
* Add default width to all fields with no width
* Only fetch comment,create,update,delete activity on detail
* Fix out-transition on sign-out button
* Add users module
* Extract tabular items logic into composition
* Fix racing condition in watchers
* Remove empty test
* Use v-select in detail sidebar tabular
* Fix pagination styles
* Reset to page 1 on sort / limit changes
* Cast limit to string
* Fix button test
* Add content padding to tabular layout
* WIP start on collections modal
* Add titles / system optional fields
* Finish add collection modal
* Fix readonly state in text input
* Fix default value in v-form
* Add getPresetForCollection method
* Add savePreset action
* Add useSync composition
* Sync collection presets with store / api
* Clean up browse flow
* Cleanup tabular code
* Move portal target to browse page
* Save column widths to view options
* Add must-sort prop to v-table
* Add saving flow for viewQuery / viewOptions
* Optimize saving flow
* Provide main element to sub components
* Add per page option
* Add field setup drawer detail
* Render add new link, only render delete on isnew is false
* Add header actions buttons based on state
* Add header buttons and breadcrumbs
* Style tweaks
* Add navigation guard for single collections
* Add delete button logic
* Add ability to delete items on browse
* Add select mode to tabular layout
* Add saving / deleting logic to detail view
* remove tests (temporarily)
* Remove empty tests temporarily
* Add pagination to tabular layout if collection is large
* Add server sort
* wip table tweaks
* show shadow only on scroll, fix padding on top of private view.
* Update table
* fix header hiding the scrollbar
* Fix rAF leak
* Make pagination sticky
* fix double scroll bug
* add selfScroll prop to private view
* Last try
* Lower the default limit
* Fix tests for table / private / public view
* finish header
* remove unnessesary code
* Fix debug overflow + icon alignment
* Fix breadcrumbs
* Fix item fetching
* browse view now collapses on scroll
* Add drawer-button component
* Fix styling of drawer-button drawer-detail
* Revert "browse view now collapses on scroll"
This reverts commit a8534484d496deef01e399574126f7ba877e098c.
* Final commit for the night
* Add scroll solution for header overflow
* Render table header over shadow
* Add useScrollDistance compositoin
* Add readme for scroll distance
* Restructure header bar using sticky + margin / add shadow
* Tweak box shadow to not show up at top on scroll up
* Fix tests
Co-authored-by: Nitwel <nitwel@arcor.de>
* Delete unused styles from linear progress
* Allow vuei18n result as name in table haeder
* Rename createX to defineX
* Fix styling glitch in private view
* Restructure extensions and registration
* Add registration function for layouts
* Combine extension registrations
* Prefer separate folders over single
* Don't register extensions / views in storybook
* Fix failing tests
* Move modules types into extensions file
* Rename modules store to extensions store
* Start on registering tabular
* Add register component util
* Register layouts
* Build bundle for modern browsers
Snuck this commit into the wrong branch, just because I can
* Add tests for layout registration + add dummy tabular