Commit Graph

208 Commits

Author SHA1 Message Date
Rijk van Zanten
fea49a12e3 Filter out circular fields in relational drawer-item use (#5067)
Fixes #2961
2021-04-14 19:32:53 -04:00
rijkvanzanten
c41b5a8179 Fix loading order of lang changing 2021-04-13 17:33:49 -04:00
Rijk van Zanten
bcac4b80c2 Fix perf regression in translations (#5041)
* Only translate extensions on language load

* Make table-row functional
2021-04-13 17:00:22 -04:00
Nitwel
c7f2b05c00 Fix drawer item title not showing data (#4940)
* fix drawer item title not showing data

* load template items relational

* Only render preview on first load

* Fix type issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 18:05:41 -04:00
Nitwel
44091e6f41 Add option to auto refresh collections (#4777)
* add auto refresh

* add refresh_interval to DB

* remove refresh_interval template

* set refresh interval default to null

* Fix typo in filename

* Rename sidebar-auto-refresh to refresh-sidebar-detail

* Rename import

* Add badge on active refresh, change options

* Fix refresh not working on refresh

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 17:24:40 -04:00
WoLfulus
42393951e0 Test runners for storage drivers (#4716)
* add tests to drive

* add azure test runner

* add gcs test runner

* add s3 test runner

* quick changes

* Re-add npm run dev

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 15:40:12 -04:00
Ben Haynes
d20e675877 Revision user should not “steal” click 2021-04-08 17:07:40 -04:00
Nitwel
ea7ab2b28d Fix svg overflow (#4719)
* fix svg overflow

* fix max height on svg

* Fix padding in card preview

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-08 16:49:41 -04:00
Nitwel
1b57bc3e82 use display template in drawer-item when possible (#4872) 2021-04-07 11:50:28 -04:00
Ben Haynes
ecd5526b55 fixes #4442 2021-04-02 14:51:56 -04:00
Nitwel
6f9b2cafcd Add page titles (#4775)
* restructure template rendering

* add useTitle composable

* Split up render-string-template from getFieldsFromTemplate

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-31 10:53:57 -04:00
Nitwel
706dca1740 allow for temporary presets (#4724) 2021-03-29 10:20:09 -04:00
Rijk van Zanten
be611a03f9 Change revert action to insert changes into page (#4637)
Closes #3941
2021-03-23 11:59:00 -04:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00
rijkvanzanten
490870858c Make revisions drawer detail more resiliant
Fixes #4344 (i think)
2021-03-04 14:05:27 -05:00
rijkvanzanten
47c9657cc3 Prefix export url with app root path
Fixes #4258
2021-03-03 20:02:33 -05:00
rijkvanzanten
3a7fd847e4 Filter out revisions without related activity record
Fixes #4160
2021-02-26 14:44:18 -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
YannickMol
01e1a8c958 Make headline visible if title is short (#4107)
* Make headline visible if title is short

Fixes #4101

* Revert "Make headline visible if title is short"

This reverts commit eb5ef8212d.

* Add min-width to title-container

Not the most beautiful solution, but it works for most cases.

* Revert "Add min-width to title-container"

This reverts commit 6d0afb7e43.

* Move title-outer inside title-container
2021-02-23 17:43:59 -05:00
rijkvanzanten
fab082b63f Fix revisions drawer detail when number of revisions > 100
Fixes #4187
2021-02-23 14:38:38 -05:00
rijkvanzanten
036c9810f9 Don't show unchanged data in diff
Fixes #2914
2021-02-22 19:09:23 -05:00
Nitwel
78bd05bff4 Fix advanced filtering on relational fields (#4217)
* fix advanced filtering on relational fields

* Fix relational lookup for o2m fields

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-22 10:42:45 -05:00
Nitwel
7a2a4c311a Add expand_more icons to sidebar detail (#4153)
* add expand_more icons to sidebar detail

* remove moving sidebar header

* Use mandatory for open state

* Use mandatory to toggle first item

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-18 12:51:07 -05:00
Nitwel
bdec23c796 Fix bookmarks not updating properly (#4134)
* first try on fixing bookmarks

* fix bookmarks and search not updating on single word

* Fix double inject on paste

Fixes #3792

* Remove unused import

* Set bookmark saved state on clear local value

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-18 11:21:49 -05:00
Nitwel
e1b353b38b fix translation of module names (#4057) 2021-02-15 11:32:36 -05:00
rijkvanzanten
e3b39f211f Use overflow helper for text-only displays 2021-02-12 16:48:40 -05:00
Rijk van Zanten
c440c66461 Trigger search on input and paste (#4034)
Fixes #3792
2021-02-12 15:41:54 -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
df22a58c6a Update in-app docs (#3989)
* Fix root redirect

* Fix html in headings

* Add graphql syntax mode

* Install markdown-it + plugins

* Fix file copying on mac

* Replace md rendering engine

* Fix wrong links in guides

* Scroll to top on every route change

* Update in-app links

* Fix home redirect

* Fix deep-linking paths

* Add to reference

* Fix nested group scoping

* Fix open path reference
2021-02-09 18:31:25 -05:00
Rijk van Zanten
c049daf418 Fix save-button overflow in header-bar (#3970)
Fixes #3910
2021-02-08 15:42:09 -05:00
rijkvanzanten
e547a72693 Use correct permissions in drawer-item
Fixes #3811
2021-01-28 16:48:51 -05:00
Nicola Krumschmidt
8f8b33de09 Fix v-input usages requiring nullable to be false 2021-01-26 13:08:29 +01: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
8ec04fa458 update public logo 2021-01-25 10:52:47 -05:00
rijkvanzanten
9e2826057e Optimize search performance 2021-01-21 14:38:37 -05:00
rijkvanzanten
7bbce08b98 Add edit drawers to file/image interfaces
Closes #3752
2021-01-21 11:49:35 -05:00
Ben Haynes
5bd9e60fdf style updates 2021-01-20 19:28:57 -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
Ben Haynes
b0af07ae99 public page style updates 2021-01-14 09:58:23 -05:00
Ben Haynes
1cfa09e46c improve sizing/spacing on page
This could be converted to a Project Setting option… which might be nice :)
2021-01-13 18:21:45 -05:00
Ben Haynes
54ddf83f6d shift up breadcrumb 2021-01-13 18:21:02 -05:00
Ben Haynes
f69c8c2c36 add new type contrast option to hierarchy 2021-01-13 18:11:24 -05:00
Ben Haynes
fbe5d6e094 Give page title more left space 2021-01-13 18:08:02 -05:00
Jakob-em
ec1f5c9826 Clear emails after successful invite 2021-01-13 21:01:41 +01:00
Jakob-em
efce49930a Add missing tooltips
- create bookmark
- delete filter
- change operator
- table sort icons
2020-12-29 21:48:09 +01:00
rijkvanzanten
451f412b28 Fix filters not staging on first use
And add no-results state, no-layout-selected state

Fixes #3402
2020-12-14 19:43:02 -05:00
e01
25666d1521 Add search items to be translated 2020-12-11 11:30:04 +02:00