* checkbox inactive styling
* fix options
* fix translation
* dropdown placeholder default
* cleanup text input options
* roles layout setup
* add placeholder option to dropdown
* add translations
* info on global settings
* elipses after placeholders
* update to bytes for better formatting control
* clean up mime type displays
* new template formatting
* WIP info and help sidebar
* add support for svgs
* user popover styling
* have un-styled logo spinner feel centered
* consistent missing avatar colors
* fix asset url
* add info drawers
* initial help drawer
* WIP add help components to all pages
* Remove non-existing trim
* Fix file interface deselect
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* no cursor when disabled
* consistent disabled styling
* divider icon alignment
* don’t show last item’s border
* notifications spacing
* status placeholder
* default status icon placeholder
* fix textarea focus style
* tags styling
* proper tags padding when empty
* proper input number step hovers
* show background color
* Fix data-model collections overview name class
* Don't use display template for batch mode
* Fix headline being hidden
* Use formatted name fo bookmarks breadcrumb
* Move drawer open to app store
* Fix tests
* slider value style
* Add comments to users/files
* Make comments selectable
* Move window width drawer state to app parent
* Fix private user condition
* Allow relationships to system collections
* Refresh revisions drawer detail on save and stay
* Add disabled support to m2o / user
* Center v-infos
* Hide default drag image
* Ellipsis all the things
* Use icon interface for fallback icon
* Render icons grid based on available space
* Fix ellipsis on cardsl
* fix batch edit checkbox styling
* Let render template ellipsis its raw values
* Fix render template
* Default cropping to current aspect ratio
* missing translation
* secondary button style
so sorry, rijk… it’s the only one (promise)
* Add image dimensions, add drag mode
* track the apology
* no elipses on titles
* Add cancel crop button
* Only show new dimensions on crop
* Inform file preview if it's in modal
* preview styling
* Install pretty-bytes
* Show file info in drawer sidebar
* Use outline icons in drawer sidebar
* don’t confuse null with subdued text value
* edge-case justification
* Show character count remaining
* Fix storybook + typing error
* Add length constraints to color
* Watch value prop
* Fix tags
* Open icon on icon click
* Fix overflow of title
* Show batch editing x items
* Fix edits emptying input on cancel
* Don't count locked filters in no results message
* simple batch edit title
* Fix headline being invisible
* Add no-options notice to interfaces/displays
* Use existing collection preset in browse modal
* Don't emit null on invalid hex
* Use correct titles in modal-detail
* style char remaining
* file info sidebar styling
* Another attempt at trying to make render template behave in any contetx
* Show remaining char count on focus only
* Remove fade, prevent jumping
* Render skeleton loader in correct height
* Fix o2m not fetching items
* Pass collection/field to render display in o2m
* Add no-items message in table
* Add default state to v-table
* Allow ISO8601 in datetime interface
* Title format selected icon name
* avoid blinking bg on load
* align characters remaining
* Default to tabular in browse modal
* Add disabled string
* Add center + make gray default notice
* Add disabled-no-value state
* Export getItems
* Expose refresh method on layouts
* Fix (batch) deletion from browse)
* Fix interface disabled on batch
* Add interface not found notice
* Add default label (active) for toggle interface
* Use options / prop default for toggle
* Support ISO 8601 in datetime display
* Render edit form in form width
* Fix deselecting newly selected item
* Undo all selection when closing browse modal
* Fix deselecting newly selected item
* wider divider
* update webhooks table
* Fix checkbox label disappearing
* Fix tests.. by removing them
Co-authored-by: Ben Haynes <ben@rngr.org>
* Add no collections notice to settings
* Use db safe inputs for name / primary key field
* Only show filter notice when there are items
* Move english strings to translations
* Fix padding top
* Fix dialog in menu
* Add note on dialog in menu
* Save UUID field as type uuid
* Restructure fields management
* Tweak active state / colors
* Fix field-duplicate
* icon width
* updated pagination style
* file preview zoom
WIP — shouldn’t show up on MODAL preview
* overlay/modal close button styling
* duplicate key
* bookmark styling
* card fade
also adds an rgb value for the page background variable
* style per page dropdown
* cards per page dropdown color
* inset non-dense notifications within sidebar
* reduce border radius for xs avatars
* hide non-expanded prepend/append
* reduce sidebar padding
this gives content a bit more room
* WIP: split and update comments and revisions
work in progress
* fix collections module name
* fix file library title
* consistent border on disabled
* fix title/breadcrumb positioning
* breadcrumb fixes
* add “open” button to image interface
WIP — this needs the actual logic, and we might want to remove a button
* hide presets delete until selection
* image shadow and subtext color
* Remove breadcrumb calculation
* increase contrast for image subtitle
* fix textarea hover style
* Update src/modules/collections/index.ts
* Fix typing of translateresult to format
* Add undefined check to collection name
* Put v-if on dialog instead of button
* Remove breadcrumb logic
* Remove breadcrumb calculation
* Rename shadow to collapsed in header bar
* fix rating star display going over table header
* show collection breadcrumb for bookmarks
WIP — needs the formatted collection title
* shorter error to avoid wrapping
* remove periods
* new grid layout icon
* better inline divier text styling
* add v-detail and update layouts to use it
* Finish readme of detail
* Use translations for default value in title
* Add layout options translation
* Don't have margin on base component
* Add margin to v-detail
* Remove duplicated style
* Update src/layouts/cards/cards.vue
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* icon width
* updated pagination style
* file preview zoom
WIP — shouldn’t show up on MODAL preview
* overlay/modal close button styling
* duplicate key
* bookmark styling
* card fade
also adds an rgb value for the page background variable
* style per page dropdown
* cards per page dropdown color
* inset non-dense notifications within sidebar
* reduce border radius for xs avatars
* hide non-expanded prepend/append
* reduce sidebar padding
this gives content a bit more room
* WIP: split and update comments and revisions
work in progress
* fix collections module name
* fix file library title
* consistent border on disabled
* fix title/breadcrumb positioning
* breadcrumb fixes
* add “open” button to image interface
WIP — this needs the actual logic, and we might want to remove a button
* hide presets delete until selection
* image shadow and subtext color
* Remove breadcrumb calculation
* increase contrast for image subtitle
* fix textarea hover style
* Update src/modules/collections/index.ts
* Fix typing of translateresult to format
* Add undefined check to collection name
* Put v-if on dialog instead of button
* Remove breadcrumb logic
* Remove breadcrumb calculation
* Rename shadow to collapsed in header bar
* fix rating star display going over table header
* show collection breadcrumb for bookmarks
WIP — needs the formatted collection title
* shorter error to avoid wrapping
* remove periods
* Fix standard font-size of divider label, use large in interface
* Add extra date format strings
* Structure comments, support date headers
* Add ability to delete comments
* Add edited on status badge
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Add util to find related collection
* Allow display.fields to be function
* Return fixed relation for user types
* Pass type / collection / field to displays
* Add template display
* Finish display template display template display
* 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>