Commit Graph

375 Commits

Author SHA1 Message Date
Nitwel
4ab1d76b2f change order of toggle icons (#4284) 2021-02-25 09:55:06 -05:00
rijkvanzanten
340b240f0f Fix responsiveness of radio-buttons / checkboxes
Fixes #4275
2021-02-24 19:02:45 -05:00
Nitwel
c2e7c85bbd Update documentation of app (#4222)
* move component docs to documentation

* update app docs tables for components

* update docs

* Add components to docs sidebar

* fix generated tables

* fix tables

* rename transitions

* update tables

* update nested components

* update tables

* update tables

* update tables

* update v-table table

* add basic documentation to each component

* remove all stories of storybook

* add missing documentation

* undate tables

* update tables

* update docs sidebar

* update app docs

* remove unused references

* add general readme

* update docs

* make reference titiles smaller

* add reference tag

* improve docs

* update order of tabs in sidebar

* remove all readmes and stories from interfaces/displays

* Cleanup menu

* Remove storybook

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-24 17:48:19 -05:00
rijkvanzanten
5b12e1c85c Show errors on 2fa disable
Fixes #4156
2021-02-24 16:18:39 -05:00
Jian Liao
545b6a03f6 Fix Issue 4188 (#4200)
* add more ignore pattern for git

* fix #4188 by applying a special flag for unsaved item and build a predictable sort

* revert the change for api/.gitignore

* Rely on editsAtStart in value check instead of unsaved flag

Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-23 15:18:23 -05:00
rijkvanzanten
f0ed48d344 Use db-safe for repeater field option
Closes #3391
2021-02-22 20:11:43 -05:00
Nitwel
3cedef6d13 allow setting primary key in o2m (#4218) 2021-02-22 10:07:51 -05:00
Nitwel
de528f261d fix-z-height on wysiwyg in drawer (#4177) 2021-02-19 11:06:52 -05:00
Jian Liao
b9cc5ec8b3 Fix issue-4005 [M2A] Item order changed after parent object save (#4167)
* add more ignore pattern for git

* revert gitignore change for api

Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-19 10:43:15 -05:00
Jian Liao
a4932a099e Fix issue 4146 - Warning message while rendering M2A builder (#4158)
* add more ignore pattern for git

* fix #4146 by waiting until junctionRowMap got filled

* fix #4146 by waiting until junctionRowMap got filled

* revert local gitingore change

Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-18 18:13:14 -05:00
Adrian Dimitrov
ca8d0e3dc0 Actions presentation interface (#3677)
* Adding actions interface

* Do not use v-button-group

* Add open in new window; Use injected values instead of $parent

* Simplify and rename interface

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-18 16:37:53 -05:00
Nitwel
32fabbd2ee fix repeater type not being able to be set (#4149) 2021-02-18 11:22:57 -05:00
Nitwel
84c52feb71 Reset value of interface interface when type gets changed (#4125) 2021-02-17 11:03:38 -05:00
Jian Liao
fcfee6bde3 fix #4058 set index correctly for deletion (#4104)
Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-16 16:15:47 -05:00
rijkvanzanten
3d08c02e4c Fix disabled state of code editor
Fixes #3916
2021-02-16 16:03:04 -05:00
YannickMol
e691c2a911 Update readonly styling for code editor (#4085)
Fixes #3365
2021-02-16 13:56:15 -05:00
Adrian Dimitrov
9d7dccfac0 Fix readonly colors; Fix font selecting (#4086) 2021-02-16 11:30:02 -05:00
Jian Liao
f7a9b25e3b fix #4060 by setting array $index (#4077)
Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-15 17:22:39 -05:00
YannickMol
8fb5c10544 Update midnight DateTime format (#4076)
Fixes #3870
2021-02-15 17:13:58 -05:00
YannickMol
d6b6821258 Remove button in O2M fields works in readonly mode (#4070)
Fixes #3930
2021-02-15 15:37:47 -05:00
Nitwel
8d0a23e2e6 add clear button to datetime interface (#4064) 2021-02-15 12:58:47 -05:00
Nitwel
e02d36d3a5 add reset button for color interface (#4063) 2021-02-15 12:58:26 -05:00
Nitwel
d1149260e3 add default values to toggle interface (#4062) 2021-02-15 12:53:15 -05:00
Adrian Dimitrov
e4bf978655 Add file library integration for WYSIWYG interface (#3263)
* Add file library integration for WYSIWYG interface

* Fix typing; Prevent selecting non-image on image field

* Allow imageToken in the interface; addTokenToURL() replace token if presents

* Add file library integration for WYSIWYG interface

* Fix typing; Prevent selecting non-image on image field

* Allow imageToken in the interface; addTokenToURL() replace token if presents

Co-authored-by: Nitwel <nitwel@arcor.de>
2021-02-15 10:15:11 -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
ee3f5cbad3 Various m2a builder fixes (#4032)
* Fix drawer opening empty item after sort

* Fix null sorting

* Fix sending null for a type in field creation

* Fix sort / edit existing on sorted values in m2a builder

Fixes #4005, fixes #4007

* Remove stray console log
2021-02-12 15:23:23 -05:00
Rijk van Zanten
1064d10296 Fix file imports now that vetur supports monorepos (#4016) 2021-02-11 13:08:59 -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
f3cb3ddc2b Fix query param handling in file interface (#3977)
Fixes #3944
2021-02-08 17:44:36 -05:00
rijkvanzanten
77e10a7130 Use sort value in m2a preview values
Fixes #3315
2021-01-29 10:36:18 -05:00
rijkvanzanten
68ef095875 Fix image interface not fetching image in drawers
Fixes #3512
2021-01-27 17:50:08 -05:00
rijkvanzanten
c89b83a76a Add token to download links
Fixes #3451
2021-01-27 15:28:14 -05:00
Nicola Krumschmidt
8f8b33de09 Fix v-input usages requiring nullable to be false 2021-01-26 13:08:29 +01:00
rijkvanzanten
5a050a22db Fix wysiwyg toolbar height 2021-01-25 17:51:04 -05:00
rijkvanzanten
7abd2842d4 Don't nullify input in icon interface
Fixes #3787
2021-01-25 17:26:06 -05:00
Ben Haynes
0b3aa71940 Merge branch 'main' of https://github.com/directus/directus into main 2021-01-25 10:52:51 -05:00
Ben Haynes
da22c48cb8 fix color placard 2021-01-25 10:52:14 -05:00
rijkvanzanten
7bbce08b98 Add edit drawers to file/image interfaces
Closes #3752
2021-01-21 11:49:35 -05:00
rijkvanzanten
f01685bcc9 Add imageToken option to markdown interface 2021-01-19 12:27:08 -05:00
rijkvanzanten
4ea6aa1f7c Add image picker to md interface 2021-01-19 12:11:16 -05:00
rijkvanzanten
b30324a06c Add custom syntax block option to markdown
And fix v-form overrides
2021-01-15 11:43:27 -05:00
rijkvanzanten
596230107a Various markdown improvements 2021-01-15 11:07:55 -05:00
rijkvanzanten
9a15f2baa1 Remove unused import 2021-01-14 19:37:31 -05:00
rijkvanzanten
2aeafb2bce Finish markdown interface v3 2021-01-14 19:34:16 -05:00
rijkvanzanten
ca36e312c4 Start on new md interface 2021-01-14 14:48:40 -05:00
Rijk van Zanten
e090593a45 Merge pull request #3691 from nickrum/color-interface-fixes
Color interface fixes
2021-01-14 09:30:32 -07:00
Nicola Krumschmidt
d5e757c026 Don't re-emit value propagated to color interface 2021-01-14 16:15:53 +01:00
Nicola Krumschmidt
5c018948f3 Round rgb and hsl values in color interface 2021-01-14 16:09:13 +01:00
Nicola Krumschmidt
127ba9ec01 Fix setting hue greater than 100 in color interface 2021-01-14 16:06:42 +01:00
rijkvanzanten
f05e264c85 Fix datetime interface displayvalue not initializing on load
Fixes #3137, fixes #3252
2021-01-13 17:44:57 -05:00