* 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>
* 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
* Add support for bookmarks in collection preset composition
* Add strings for bookmark 404
* Use bookmarks prop in collections browse
* Use exact for active link in navs
* Show bookmarks in navigation
* Make bookmark optional in collection preset
* 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
* 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
* 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
* 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
* Add filter operators
* Render drawer detail hr full width
* Start on filter component
* Add getRelationsForCollection method
* Add all filter logic (no sorting yet)
* Use correct border color for divider by default
* Tweak operator translations
* Add getField action to fields store
* Fetch fieldsinfo in relations get for files
* Use scoped operators, start on type based input
* Add disabled option to v-badge
* Globally register v-badge component
* Add between filter support
* Hide alias fields
* Work debouncing magic
* Add margin beneath filter blocks
* Fix fetching filter count in use-items comp
* Add relational field lookup
and show tooltip with field name in filter section
* Use filters on users / files
* Allow double level filter
* 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
* margin, padding, size, and color tweaks
* Remove commented out code
* Use pointer-events instead of double click event
* Use v-deep for v-sheet in v-dialog
* Add newline
* Fix stylelint complaint
* Fix tests
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* 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
* Add translateShortcut util
* Add prepend/append slots to v-button
* Reduce default list item height + listen to parent dense
* Refactor save/delete logic into composition
* Tweak popper positioning
* Add v-list-item-hint component
* Reset state on primary key change to +
* Tweak save-and-x translations
* Add and use save-options component
* Move activity drawer detail to views folder
* Prevent unnecessary overflow when popper is inactive
* Revert spacing change in popper
* Move comments translation up
* Use translated title for section
* Dont grow full height by default
* Only show comments when you're not creating a new item
* Add notifications to use-item composition
* Add saveAsCopy function to useItem composition
* Use ref for parameter in useCollection
* Fix tests
* Fix codesmells
* Show activity sidebar in detail page
* Add localized format distance util
* Update use-time-from-now composition to use localized dates
* Install marked
* Add activity delta strings
* Show all activity records in sidebar
* Add correct permutations of users
* Make avatar rounded square
* Finish posting comments
* Remove empty test file
* Fix tests
* Add skeleton loader, add loading to v-form, add disabled to v-menu
* Make sure height matches with input
* Add transition to skeleton loader
* Force skeleton loader to adhere to input size on form
* Sneak in this little thing unnoticed
* 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
* Add logout route
* Don't render spinner on top of content
* Use logout route instead of onBeforeEnterLogout handler
* Remove onBeforeLogoutRouteEnter test
* Fix warnings in tests
* 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>
* mvp list groups
* list group updates
* updated readme and list group to use css vars and icons
* added supgroups to story
* add list group test
* Expand Transition / Transitions Folder (#187)
* add expand transition to components folder
* expand readme
* test sorta
* test is dumb
* dummy component to test
* oops
* Add tests for capitalize first
* Rename v-transition-expand to expand-transition, inline util in test
* Update src/components/transitions/expand/expand-methods.ts
* Update src/components/transitions/expand/expand-methods.ts
* Update src/components/transitions/expand/expand-methods.ts
* Rename some more things, add storybook entry
* Use expand transition in detail drawer
* Improve readme
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Refactor out groupable top level component + indentLevel prop
* Fix tests
* Update readme
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* working on story with reactive subtitle
* styling of icons seems consistent with default sizing
* checkbox in list story
* colors
* lines and tests
* merge conflict
* basically im a genius styling is cool now
* Update src/components/v-button/readme.md
* Fix scoping of nav mode
* Tweak spacing of icons
* Register list item subcomponents globally
* Render icons in sidebar nav of collections module
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Delete unused styles from linear progress
* Allow vuei18n result as name in table haeder
* Rename createX to defineX
* Fix styling glitch in private view
* Add header bar basic
* Fix alignment of breadcrumb
* Fix icon size in breadcrumb
* Add slots / stories for header bar
* Fix typo
* Add disabled color overrides to button
* Fix box icon
* Add header actions section for collapsable buttons
* Tweak css of drawer responsively
* Cover viewport (for notched use)
* Hide gray boxes on iOS taps
* Only show hover effect for devices that support hover
* Finish collapsable header buttons
* Remove wrong reference
* Tweak spacing of nav toggle
* Update storybook entry
* Add storybook entry for header actions
* Update structure of private-view and subcomponents
* Add provide support to storybook
* Update storybook / readme's for private view components
* Use defineComponent instead of createComponetn
* Fix broken import
* Fix tests, update readmes, etc
* Add storybook entries for header actions and module bar
* Remove unused utils
* Use defineComponent instead of createComponent
* Update structure of stories
* Fix story of 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