Commit Graph

45 Commits

Author SHA1 Message Date
Rijk van Zanten
ae40445dee Add a standardized max-height to tree select interface (#7103) 2021-07-30 18:59:02 +02:00
Rijk van Zanten
68fd121485 Add selectMode to Calendar layout (#7018)
Fixes #6851
2021-07-28 00:14:34 +02:00
Tim
2c9ff3bca6 Allow custom transformations of assets (#6593)
* Allow custom transformations of assets

This exposes one query parameter `transforms`, which is a JSON array of
shard transformation operations.

It also updates the asset presets. The UX for this still needs some work

* Rename options to arguments for presets

More explicit

* options -> arguments in setting spec

* Better errors for invalid JSON in asset presets

* Add limit to transforms query parameter

* Use flattened option for extra transforms

* Fix placeholder color of code input

* Allow "simple mode" aliases

* Add documentation

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-21 15:57:47 -04:00
Nicola Krumschmidt
1961dc188b Port the app to Vue 3 (#5339)
* Fix linting errors

* Fix remaining catch all routes

* Fix directive registration regression

* Replace $router global with composition function

* Fix v-bind overwrite order in nested-draggable

* Migrate vuedraggable

* Fix building with empty translation files

* Add comment regarding array equality check

* Fix markdown-it plugins import

* Fix newly introduced wrong store usage

* Fix v-button-group model

* Fix v-fancy-select model

* Fix v-field-template model

* Fix v-input model

* Fix v-item-group model

* Fix v-menu model

* Fix v-select model

* Fix v-tabs model

* Fix v-tabs-items model

* Fix v-textarea model

* Fix v-checkbox model

* Fix v-dialog model

* Fix v-drawer model

* Fix v-form model

* Fix v-list model

* Fix v-table model

* Fix v-detail model

* Fix v-radio model

* Fix v-switch model

* Fix files-navigation model

* Fix replace-file model

* Fix bookmark-add model

* Fix bookmark-edit model

* Fix drawer-batch model

* Fix drawer-item model

* Fix file-lightbox model

* Fix image-editor model

* Fix notifications-preview model

* Fix users-invite model

* Lowercase editor component name

* Fix collections-filter model

* Fix filter-input model

* Fix filter-sidebar-detail model

* Fix folder-picker model

* Fix interface-checkboxes model

* Fix interface-code model

* Fix interface-icon model

* Fix interface-repeater model

* Fix refresh-sidebar-detail model

* Fix search-input model

* Fix interface/display component option v-model usage

* Replace calling listener through $attrs with $emit and add emits option

* Add comment regarding useCustomSelection emits

* Fix context menu activation

* Fix collectionsStore access

* Fix popperjs

* Hotfix useGroupable

* Fix notifications-preview old prop name

* Fix module bar tooltip translation

* Fix useSync type signature

* Fix update:layoutOptions emit name

* Fix usePermissions missing imports regression

* Revert changes to docs vuepress instance

* Fix module-relative-resolve vite plugin when serving

* Fix docs

* Fix refresh on first load

* Fix creating new collection

* Fix loading of collection route

* Fix v-dialog/v-menu appear transition

* Access props directly

* Fix v-table clickable

* Fix v-drawer cancelable

* Fix v-icon clickable

* Fix v-input clickable

* Fix v-list-group clickable

* Fix v-list-item clickable

* Fix v-overlay clickable

* Fix header-bar primary button

* Fix v-table item.* slot

* Fix vue warning regarding exposed variables starting with _ or $

* Fix usePermissions

* Add package-lock.json

* Fix v-form unset regression

* Fix vue shims

* Fix useCustomSelection emit

* Make extensions arrays shallow

* Move teleport targets out of the vue app

* Fix v-field-select model

* Fix v-slider model

* Fix v-pagination model

* Fix card model

* Fix v-select item-value prop usage

* Fix layout-sidebar-detail model

* Fix form-field model

* Fix form-field-menu model

* Fix form-field-interface model

* Fix v-form model

* Use kebab-case for modelValue

* Update package-lock.json

* Add missing dependency

* Replace $t with i18n composable

* Replace remaining usages of $t

* Replace $te with i18n composable

* Replace $n with i18n composable

* Disable global injection in vue-i18n

* Replace i18n.global.t usage where composable is already imported

* Replace remaining i18n.global.t usage with composable

* Replace remaining i18n.global usages with composable

* Fix uploadFile emitter regression

* Remove inheritAttrs: false from file-info-sidebar-detail

* Hotfix v-input

* Update .eslintrc.js

* Fix use-preview

* Fix eslint issues

* Remove unused imports

* Fix extension getter type

* Refactor layout structure and fix tabular layout

* Fix build

* Fix cards layout

* Hotfix vuedraggable

* Dev is true again

* Register export-sidebar-detail globally

* Deconstruct layout state

* Fix calendar layout

* Fix cards/calendar layouts

* Fix layout options when switching layout

* Replace marked usage with md util

* Use useLayout everywhere

* Fix type issue

* Fix codemirror dynamic imports

* Fix data-fns dynamic import

* Fix useLayout selection

* Fix v-avatar scoped styling

* Remove unused v-button-group component

* Remove v-deep from v-card-actions

* Replace v-deep in v-dialog

* Use correct pseudoclasses for vue3

* Fix v-deep in v-field-template

* Replace v-deep in v-list-item-content

* Replace v-deep in v-list-item

* v-deep in v-list

* v-deep in v-notice

* Replace breakpoint mixin

* Replace v-deep in v-button

* Enforce empty line before block

* v-deep in v-pagination

* No white lines on the inner brackets of a block please

* Replace v-deep in v-select

* Fix stylelint rule

* Replace v-deep in v-table

* Replace v-deep in v-tabs

* Replace v-deep in rich text input

* Replace v-deep

* Replace v-deep elsewhere

* Needs more stylelint tweaks, but v-deep is done

* Fix translations interface

* Fix date layout

* Fix npm install

* Fix router catch all routes

* Fix layout options

* Remove call to next in router guards

* Remove vue router in-component guards

* Refactor module route registration

* Fix collections module navigation

* Fix settings module navigation

* Fix router-passthrough in devtools

* Refactor docs export and docs route registration

* Import docs routes using exported function

* Remove moduleRelativeResolve vite hack

* Re-add dev scripts

* Fix deprecated hljs usage

* Use activateContextMenu without parens

* Re-add readme/license/editorconfig

* Fix groupable

* Fix initial docs navigation

* Move global app css to app component

* Fix collection navigation icon color

* Fix field setup style

* Fix divider icon style

* Fix optional v-input slots

* Use $slots direct property access

* Fix docs font style

* Fix docs v-deep

* Fix docs add missing styles

* Remove docs style margin

* Fix save options color

* Fix nested v-slotted usage

* Fix v-button exact prop

* Fix v-list-item exact prop

* Fix package-lock.json

* Improve useSync type

* Fix route type error

* Fix bookmark router links

* Add redirect to route with bookmark

* Fix files module folder route

* Fix users module role route

* Add redirect routes to files and roles sub-routes

* Fix users module role active state

* Replace routerPassthrough function with object

* Nest file routes

* Improve module bar hidden check

* Remove slash from module router link

* Fix files and folder navigation

* Revert users route nesting

* Fix buttons in list

* Don't make nav item mandatory in left sidebar

* Fix infinite loop in box open

* Fix interactivity in v-list items

* Fix docs menu jumps

* Fix right click positioning

* Fix missing translations

* Fix close/open alignment of color interface

* Fix code editor interfaces

* Fix relation access in cards layout

* Remove template ref from collection-or-item

* Revert jest-environment-jsdom package update

* Fix package-lock.json

* Resolve vue3 TODO comments

* Fix layout presets

* Remove reactivity fix

* Remove Todo3 comment

* Fix icon color override

* Add error message to useLayoutState

* Add composable to properly transition dialog routes

* Fix new collection transition

* Fix add new role transition

* Fix add new file transition

* Fix activity item transition

* Fix error type in useItems

* Fix collection error dialog transition

* Fix field detail transition

* Fix permissions detail transition

* Fix store getters types

* Update package-lock

* Fix preview icon color

* Fix reference to selections

* Fix linter warnings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-08 15:59:55 -04:00
rijkvanzanten
8b2d715a90 Fix linting errors 2021-05-07 14:31:01 -04:00
Ben Haynes
e662186169 Calendar no events styling 2021-05-07 14:22:21 -04:00
Ben Haynes
2b54e36233 Calendar styling 2021-05-07 14:15:25 -04:00
rijkvanzanten
010eabad27 Format remaining md files 2021-05-04 18:52:08 -04:00
Rijk van Zanten
d1de1f0d58 Add calendar layout (#2893)
* Setup layout boilerplate

* Install calendar

* Render events based on date filter

* Style calendar toolbar

* Add layout options

* Start adding timeGrid, add todo list

* Persist viewInfo to preset

* Add dnd

* Fix linter warnings
2021-05-04 16:51:35 -04:00
Ben Haynes
4ddfc5ef47 Codemirror input colors 2021-04-08 17:07:21 -04:00
Ben Haynes
611d5be382 Interface background colors 2021-04-08 13:44:11 -04:00
Evgeny Vlasov
7f72aa796e style: add sans-serif for monospace (#4899) 2021-04-08 09:08:55 -04:00
Ben Haynes
870cd5ec9a fixes #4402
adds background-input variable to differentiate from page
updates repeater to use card styling
2021-03-08 15:13:53 -05:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00
rijkvanzanten
286f7191d4 Update monospace font
Fixes #4375
2021-03-04 10:42:37 -05:00
Ben Haynes
1ecedf5d44 dark theme highlight fix 2021-02-18 12:56:58 -05:00
YannickMol
a18c933f7e Remove border-color from disabled code interface (#4100)
Design consistency
2021-02-16 15:27:32 -05:00
YannickMol
e691c2a911 Update readonly styling for code editor (#4085)
Fixes #3365
2021-02-16 13:56:15 -05:00
Rijk van Zanten
81fc8443df Don't wrap text in nav (#4035)
* Move v-list-item-text to v-text-overflow, use in tables

* Fix type issue
2021-02-12 16:39:17 -05:00
Rijk van Zanten
b7d87e581a System permissions for app access (#4004)
* Pass relations through schema, instead of individual reads

* Fetch field transforms upfront

* Fix length check

* List if user has app access or not in accountability

* Load permissions up front, merge app access minimal permissions

* Show app access required permissions in permissions overview

* Show system minimal permissions in permissions detail

* Fix app access check in authenticate for jwt use

* Fix minimal permissions for presets

* Remove /permissions/me in favor of root use w/ permissions

* Fix logical nested OR in an AND

* Use root permissions endpoint with filter instead of /me

* Allow filter query on /permissions

* Add system minimal app access permissions into result of /permissions

* Remove stray console log

* Remove stray console.dir

* Set current role as role for minimal permissions

* Fix no-permissions state for user detail

* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -05:00
Rijk van Zanten
5450de0351 Update Docs (#3905)
* Allow formatted value display for numbers

* Move the docs website into monorepo

* Fix build

* Tweak docs build setup

* Fix tips, pull in images

* Add syntax highlighting to docs

* Restructure nav, add divider

* Fix tips formatting

* Add prettier config

* Add editorconfig
2021-02-02 11:55:04 -05:00
Ben Haynes
52948bcbce fixes #3788 2021-01-27 18:35:18 -05:00
Ben Haynes
c528a7b1ba text style updates 2021-01-13 18:35:18 -05:00
Ben Haynes
f69c8c2c36 add new type contrast option to hierarchy 2021-01-13 18:11:24 -05:00
Ben Haynes
45dd0e6d4d add inter 700+800 weights 2021-01-13 17:56:57 -05:00
Ben Haynes
7f5d469c56 fix form variables 2021-01-13 17:56:30 -05:00
Nitwel
dd5ea08c8c change form-grid spacing 2020-10-20 16:03:37 +02:00
rijkvanzanten
4ba58049ef Fix ligatures, move dimensions 2020-10-16 16:27:27 -04:00
rijkvanzanten
25bdcb37e6 Fix editing raw value for object fields 2020-10-02 17:57:04 -04:00
rijkvanzanten
663d86c3b6 Reuse form grid spacing for layout options 2020-09-29 14:03:47 -04:00
Ben Haynes
e9e2308c60 Light theme color tweaks 2020-09-22 14:52:36 -04:00
Nitwel
614d656a2a use lib instead of own functions 2020-09-21 12:00:08 +02:00
Nitwel
b86baa7833 add border on low contrast 2020-09-17 14:04:09 -04:00
rijkvanzanten
09518f7816 Allow auto-generating o2m collection/field 2020-09-11 15:02:59 -04:00
rijkvanzanten
97f9554b9a Add form grid mixin 2020-09-11 12:50:49 -04:00
Nitwel
69036d6ffd add missing defaults and clean code 2020-09-09 19:33:40 +02:00
Ben Haynes
4b1d8fa227 clean up dark mode 2020-08-31 16:53:29 -04:00
rijkvanzanten
2a9e424eac Make module registration dynamic 2020-08-31 16:11:00 -04:00
Ben Haynes
3f0c4070c1 responsive polish 2020-08-29 08:44:49 -04:00
Ben Haynes
4210c3f644 code interface styling 2020-08-19 16:12:41 -04:00
Ben Haynes
eb95a81778 more complressed info details 2020-08-17 13:40:48 -04:00
rijkvanzanten
50c5a66bba Add tooltips to save buttons 2020-08-06 16:06:01 -04:00
rijkvanzanten
de087aba19 Remove display:contents from vue-portal-target 2020-08-05 13:02:22 -04:00
rijkvanzanten
c0ebf8d90c Prevent detail DL DTs from wraping 2020-07-30 15:36:09 -04:00
rijkvanzanten
d1aa5d350e Move app to app folder 2020-07-29 11:24:52 -04:00