Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to WYSIWYG interface #12216

Merged
merged 8 commits into from Mar 18, 2022

Conversation

licitdev
Copy link
Member

Closes #11989. Opening a new PR as I still have the branch locally.
Thank you @d1rOn for PR #11990!

Changes

  • Prevent updates to disabled fields
  • Allow to undo Insert image, Insert link, Insert media and Edit Source Code
  • Fix incorrect DOM selection of WYSIWYG interface for fields having the same name

@licitdev licitdev added this to the v9-next milestone Mar 17, 2022
@d1rOn
Copy link
Contributor

d1rOn commented Mar 17, 2022

@licitdev, Thank you!

@rijkvanzanten rijkvanzanten self-assigned this Mar 18, 2022
@rijkvanzanten rijkvanzanten merged commit 6d8b17e into directus:main Mar 18, 2022
@licitdev licitdev deleted the rich-text-html-fix branch March 20, 2022 07:42
ztob added a commit to ztob/directus that referenced this pull request Mar 27, 2022
* fix copy/paste for readonly code interface (directus#11769)

* fix permission for field functions (directus#11771)

* Fix relational interfaces to return null when the array is empty after deselecting item(s) (directus#11765)

* Fix relational interfaces to return null on delete

* add fix to m2a

* fix treeview not clearing displayed list

* Docs: update CSS and pics (directus#11634)

* .gitignored package-lock.json that was created in the docs subfolder

* tweaked color names, except the ones in in vue files

* converted terminal screencaps into markdown

* updated images in 'Content'

* updated user-directory images

* updated media in file-library

* moved picsto cloud in reference>files

* updated images in config > datamodels > relationships

* updated primary colors in app-overview.svg

* updated insights images

* swapped quickstart-guide media and touched up copy

* Update last colors, remove linting from docs temporarily

* Fix theme color

* Update homepage header image

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* New translations en-US.yaml (Croatian) (directus#11780)

* Update package-lock

* Fix dark mode for docs (directus#11781)

* fix docs dark mode

* tweak code token color

* Docs dark mode fix v2 (directus#11782)

* fix docs dark mode

* tweak code token color

* dynamic color for homepage elements

* swap primary/secondary for dark mode

* add dark variant of header background

* Fixed readByQuery's sort parameter in custom API endpoint example (directus#11662)

* fix video size within in-app docs (directus#11784)

* Hide delete action for last admin role (directus#11793)

* fix map interface extension options (directus#11796)

* add missing directus_shares note (directus#11815)

* New Crowdin updates (directus#11816)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (German) (directus#11820)

* New translations en-US.yaml (Polish) (directus#11822)

* Fix anonymous binding ldap (directus#11750)

* fix anonymous binding ldap by correcting condition for throwing InvalidConfigException

* add anonymous bind option to docs

Co-authored-by: Dominik Tils <d.tils@studentec.de>

* LDAP handle posix groups (directus#11799)

* Simplified user fetching by passing EqualityFilter

* Simplified LDAP fetching and added posix user/group support

* Update api/src/auth/drivers/ldap.ts

* Renamed getAttribueValue to getEntryValue

* Update api/src/auth/drivers/ldap.ts

* Update plesk docs: Create / apply snapshots (directus#11819)

* Update plesk docs: Create / apply snapshots

Add a script wrapper to support snapshots on plesk servers. 

Not sure if the example script should stay here or be added next to the other wrapper on the cli-page.

* Update docs/getting-started/installation/plesk.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* New Crowdin updates (directus#11831)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Simplified) (directus#11833)

* Clarify default role ID format for SSO (directus#11855)

* clarify default role ID format for SSO

* tweak

* close date picker on select (directus#11854)

* Add support to extend `server` properties (directus#11869)

* New translations en-US.yaml (Italian) (directus#11872)

* New translations en-US.yaml (Mongolian) (directus#11876)

* Update available-languages.yaml (directus#11874)

Added Mongolian language option to language selection list.

* redirect to page not found for invalid collections (directus#11882)

* Empty {} supersedes other permissions/validations in _OR merge (directus#11554)

* Empty {} supersedes other permissions/validations in _OR merge

* Add unit test

* Fix typo

* Add a different conditional filter for comparison

* allow target="_blank" in markdown sanitization (directus#11787)

* Datetime interface improvements (directus#11783)

* Datetime interface improvements

* tweak click event

* Respect the disable the o2m sort option (directus#11893)

* Avoid get database when authenticate with JWT (directus#11617)

* Adds Deploy with Koyeb. (directus#11686)

* Adds Deploy with Koyeb.

* Oops

I'm not great at markdown :|

* Support listen parameter (directus#11465)

* Support listen option for allowing server to listen on wanted IP address or host

* Change default listen value from localhost to 0.0.0.0

* Update LISTEN variable to HOST

* fix formatting

* Update docs/configuration/config-options.md

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Docker: Add support for changing the timezone (directus#11516)

* feat(docker): add support for changing the timezone

Add support for changing the timezone of a docker container. This is a standard way of configuring the timezone in a lot of docker images.

* Improve dockerfile cache performance

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Add .git to local dockerignore

* Fix access to public role permissions (directus#11904)

* lockfile: regenerate to fix inconsistencies (directus#11646)

* update lockfile

* Regen lock-file another time

* Fix type issue from rollup package version

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Replace union query approach with updated table scan (directus#11246)

* Start by stripping out the previous Union attempt

* Then set limit to -1, causing massive memory issues on big data sets

* Now fix the memory problem by batching the responses

* Use env var for max relational batch size

* Rename env var, add to docs

* add style to links in notice (directus#11925)

* add style to links in notice

* fix for stylelint

* unrelated: fix eslint warning for unused variables

* add number to prop type for radio and dropdown (directus#11924)

* Add `authenticate` hook to implement custom auth checks against current request (directus#11942)

* Add "authenticate" filter hook that allows custom auth check

* Start on test

* Update Jest, restructure API tests, start implementing authenticate test

* Move access token verify to util function

* Ensure jest can show inline warnings on correct lines

* Update is-directus-jwt to use jsonwebtoken decode + add tests

* Remove unused package

* Tweak and finish + test authenticate

* Tweak test

* Add authenticate filter to docs

* Don't scan tests for codeql

* No seriously, ignore tests

* Fix file name reference

* Resolve Geometry type as JS object (directus#11945)

* Update base theme of the App (directus#11952)

* Add migration to remove default value from project_color

* Upgrade the default theme

* Do a pass over the header buttons

* Do another pass over --warning uses

* Little things

* Tweak smoke

* Use updated map

* Use dark system elements in dark mode

* Remove outdated files, update toasts

* Use correct delete button style for role

* Use primary for created point

* Tweak spacing in revisions section

* Use primary for sidebar sections

* Various color tweaks and changes

* Update base color palette

* Update "css reset" code

* Remove splashscreens, add default favicon

* Add primary highlight to datamodel page

* dark mode color update

* fix sign out hover color

* Does this help?!

* This fixes some loading issues

Fixes directus#10707

* Calculate default pretty background?

* Fix public view with logo

* Fix responsiveness of login page

* adjust notification group width to be equal

* Do an absolute pointless task that doesn't do anything

It was suggested that it could fix the stylelint error in tests, but alas

* Remove stylelint

Doesn't seem to play nice with script setup and other changes

Co-authored-by: Ben Haynes <ben@rngr.org>

* Resizable navigation panel (directus#11944)

* WIP for resizable nav panel

* tweak handle width & hover delay

* further tweaks based on vscode's implementation

* add useLocalStorage

* tweak responsiveness & limits

* prefix localstorage key

* rename key

* add context menu for resetting width

* snap into place when within 10 pixels range

* fix stylelint

* Tweak styling, reduce folder complexity

* Remove context menu

* Organize imports

* Rework private-view to script setup

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix migration for CRDB

* New Crowdin updates (directus#11953)

* Update source file en-US.yaml

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* Add check for filterPath length when not having m2o/a2o relation in order to add nested filters (directus#11768)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix "Save as Copy" for relational fields (directus#10418)

* fix "save as copy" for relational fields

* use router replace instead of push

* Add "items.sort" event (directus#11954)

* Adds the 'sort_updated' event emit after items are sorted

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to 'sort_update'. Docs.

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to `sort`

* Add item/to to hook, fix docs

Co-authored-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* v9.6.0

* v9.6.0

* New translations en-US.yaml (Italian) (directus#11955)

* New translations en-US.yaml (Turkish) (directus#11959)

* New translations en-US.yaml (Turkish) (directus#11960)

* New translations en-US.yaml (Turkish) (directus#11961)

* New translations en-US.yaml (Turkish) (directus#11962)

* New translations en-US.yaml (Turkish) (directus#11964)

* New translations en-US.yaml (Turkish) (directus#11965)

* New translations en-US.yaml (Turkish) (directus#11966)

* New translations en-US.yaml (Turkish) (directus#11967)

* New translations en-US.yaml (Turkish) (directus#11968)

* New translations en-US.yaml (Turkish) (directus#11970)

* New translations en-US.yaml (Turkish) (directus#11971)

* New translations en-US.yaml (Turkish) (directus#11972)

* New translations en-US.yaml (Turkish) (directus#11973)

* New translations en-US.yaml (Turkish) (directus#11974)

* New translations en-US.yaml (Turkish) (directus#11975)

* New translations en-US.yaml (Turkish) (directus#11978)

* New translations en-US.yaml (Turkish) (directus#11979)

* New translations en-US.yaml (Turkish) (directus#11980)

* New translations en-US.yaml (Turkish) (directus#11981)

* New translations en-US.yaml (Turkish) (directus#11982)

* New translations en-US.yaml (Turkish) (directus#11983)

* New translations en-US.yaml (Turkish) (directus#11984)

* New translations en-US.yaml (Turkish) (directus#11986)

* New translations en-US.yaml (Turkish) (directus#11987)

* New translations en-US.yaml (Turkish) (directus#11988)

* New translations en-US.yaml (Romanian) (directus#11993)

* New translations en-US.yaml (Romanian) (directus#11994)

* New translations en-US.yaml (Romanian) (directus#11995)

* New translations en-US.yaml (Romanian) (directus#11996)

* New translations en-US.yaml (Romanian) (directus#11997)

* New translations en-US.yaml (German) (directus#11999)

* New translations en-US.yaml (Portuguese, Brazilian) (directus#12000)

* fix query limit -1 for o2m queries (directus#12011)

* add --dry-run flag to `schema apply` CLI command (directus#12006)

Co-authored-by: Spencer Jones <sjones@morningconsult.com>

* Update special cases

* Allow configuring /assets endpoint CSP separately  (directus#12020)

* Allow configuring CSP for /assets seperately

* Document assets-csp config

* Remove double header

* Default CORS to disabled (directus#12022)

* Default CORS to disabled

* Update docs to match

* New translations en-US.yaml (Croatian) (directus#12024)

* Add support for import ip deny list (directus#12025)

* Add support for import ip deny list

* Fix typo

* Fix video rendering in wysiwyg

* Docs: Filters (directus#11330)

* added package-lock.json into gitignore

* added filters.md draft doc

* added header intro and section headers

* full outline and 60% of copy

* more fitlers doc copy

* copy 95% complete

* Filters doc as good as done

* small copy tweaks

* Decrease size of dividers in nav, add section with filters

* fixed dynamic var vid

* fixed filter-rules type-o

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Hide raw value copy paste button if unsupported by browser (directus#12034)

* Close WYSIWYG fullscreen when opening drawer or dialog (directus#12037)

* hide nav resize handle when it is not open (directus#12050)

* Add Edit Role context menu in User Directory (directus#12048)

* add Edit Role context menu in User DIrectory

* reuse Role type

* ensure hiding delete button for last admin works

* New Crowdin updates (directus#12059)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Croatian)

* Fix cropper aspect ratio not activating crop (directus#12060)

* fix user info sidebar last access timestamp (directus#12047)

* New translations en-US.yaml (Polish) (directus#12062)

* Form error validation improvements (directus#12001)

* expand groups on save when they contain error(s)

* bubble to top & scroll top

* fix groups validation errors watcher

* fix group acordion's first error field selection

* update global error notice

* WIP - field validation

* tweak validation errors list styling

* more validation-errors-list tweaks

* click and scroll to field

* move validation error notice to a component

* tweak use-item validate

* validate drawer item

* extract validateItem function

* Revert "WIP - field validation"

This reverts commit f6ffd83.

* New Crowdin updates (directus#12063)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Japanese) (directus#12072)

* New translations en-US.yaml (Japanese) (directus#12075)

* Fix deep relational offset (directus#12076)

* Add relational offset

* Add offset tests

* Update relational test to use id

* Undo url change

* Docs: Settings (directus#12038)

* initial pass on copy

* Finished Settings

* rijk's suggestions

* real final tweak

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>

* Docs: User Directory (directus#11728)

* .gitignored package-lock.json that was created in the docs subfolder

* First User Directory Rough Draft Complete

* added footer

* restructured outline

* 2nd Rough Draft Complete, no pics and not proofread

* added photos

* added all media and polished copy

* Finished admin options section

* Applied Rijk's copy suggestions

* fixed date in information bar media issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>

* New translations en-US.yaml (French) (directus#12079)

* New translations en-US.yaml (Polish) (directus#12081)

* Add Croatian to available-languages.yaml (directus#12085)

* Make sure mysql error extraction won't error on slice (directus#12087)

Fixes directus#12061

* New translations en-US.yaml (Persian) (directus#12095)

* New translations en-US.yaml (Persian) (directus#12096)

* Allow configuring overrides for the openid-client (directus#12088)

Resolves directus#11951

* Remove outline prop from v-icons (directus#12092)

* remove unused outline prop from icons

* update docs

* Update hooks.md - add system collection "files", fix payload parameter (directus#12094)

* Update hooks.md

* Delete event does not contains the whole payload but the payload keys
* files filter and hooks exist except for create/update

* Update docs/extensions/hooks.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Fixed typo

* New translations en-US.yaml (Persian) (directus#12097)

* New translations en-US.yaml (Persian) (directus#12100)

* New translations en-US.yaml (Persian) (directus#12101)

* New translations en-US.yaml (Persian) (directus#12102)

* New translations en-US.yaml (Persian) (directus#12103)

* New translations en-US.yaml (Persian) (directus#12104)

* New Crowdin updates (directus#12105)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian) (directus#12108)

* New translations en-US.yaml (Persian) (directus#12122)

* New translations en-US.yaml (Persian) (directus#12123)

* New translations en-US.yaml (Persian) (directus#12124)

* New translations en-US.yaml (Persian) (directus#12125)

* New translations en-US.yaml (Persian) (directus#12126)

* Fix language typo

Fixes directus#12131

* New translations en-US.yaml (Italian) (directus#12149)

* New translations en-US.yaml (Italian) (directus#12150)

* Upgrade table layout (directus#12154)

* Refactor v-table to script setup, add header append slot

* Rework table components + fix volar config

* Convert table-row to setup sfc

* Remove vetur config, now that volar works

* Remove unused component

* Remove field option from sidebar detail

* Add reusable v-field-list component

* Disable already selected fields

* Add col header ctx menus on tabular

* Tweak styling, add hover to resize handle

* Add column reordering

* Add support for nested relational fields

* Render header for relational interfaces better

* Ellipsis overflow in formatted-value

* Tweak an icon, have some fun with it

* New Crowdin updates (directus#12155)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Croatian)

* Docs: File Library (directus#11950)

* restructured file-library outline

* completed 3 sections, added action btn to CSS

* finished upload file and replace file sections

* completed full documentation refactor. media and proofreading remain

* updated media, except rename and delete folder vids

* copy ready. Links tested

* last second tweaks to copy and media

* stated multiple files can be uploaded

* Rijk's suggestions added and one final pass on copy edits

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.hitronhub.home>

* Fix alignment in select

* New translations en-US.yaml (German) (directus#12168)

* Collection name layout fix (directus#12169)

* prevent null translations from being merged (directus#12162)

* fix: display related translations  (directus#12153)

* fix: flex > inline-block

* fix: remove regression when no vertical-aligner

* fix: use inline-flex

* use type json for select-color preset option field (directus#12192)

* add cdn domain in CSP directives for in app docs (directus#12193)

* add cdn domain in CSP directives for in app docs

* fix images & videos placeholder width

* Group groups in field select, add search when number of fields exceeds 20 (directus#12157)

* Group groups in field select

* Fix selecting nested o2m

* Add search to field-list

* Only show search if fields > 20

* Fix default value for v-input

* Add search to field selection

* Make search work on nested subset

* Make search work nested+insensitive

* Fix sorting in field select

* Fix relational fields nested in groups

* Fix nested group key path for m2o fields

* Fix label in field select component

* New translations en-US.yaml (Polish) (directus#12194)

* Export authorization service (directus#12208)

* New translations en-US.yaml (Italian) (directus#12217)

* update image and cloud details

* Update readme.md

* Add new export experience (directus#12201)

* Use script setup

* Start on export dialog

* Use new system field interface, replace limit with numeric input

* Set placeholder

* Add sort config

* Use folder picker, correct layoutQuery use

* Add local download button

* Allow writing exports to file

* Add notification after export

* Fix sort config, use new export endpoint

* Setup notification hints

* Add information notice

* Fix local limit, cancel button

* Add (basic) docs for export functionality

* Fix json export file format

* Implement xml batch stitching

* Resolve review points

* New Crowdin updates (directus#12219)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Croatian)

* Add direct download option to files interface (directus#12220)

* Fix nav bar not saving reset value on dbl click

* Update source file en-US.yaml (directus#12224)

* New translations en-US.yaml (Italian) (directus#12226)

* New translations en-US.yaml (Italian) (directus#12227)

* fix number input step up/down when undefined (directus#12222)

* Fix WYSIWYG link keyboard shortcut and add parent anchor tag detection (directus#12218)

* Fix WYSIWYG link keyboard shortcut and add parent anchor tag detection

* Fix saving of link on parent anchor tag

* Tweak tags placeholder for clarity (directus#12223)

* Tweak tags placeholder for clarity

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* New Crowdin updates (directus#12228)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Croatian)

* Style updates (directus#12229)

* default badge color to red

* update notice styling to avoid color variants

* darker warning color

* update dark mode primary color

* update svg previews

* show slider values by default

* add subtle glow to field focus

* add additional color options

* no yellow in settings

* Give status display proper defaults

* Use setup script + translations

* Add low-contrast flag to preset

* update date-picker header style

* add placeholder to datetime interface

* Fix sizing of image preview

* Fix spacing / border situation

* select color

* Render small images at original size

* More file library love

* update datetime placeholder

* datetime font weights

* Fix style lint issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* New Crowdin updates (directus#12230)

* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Polish) (directus#12232)

* Improvements to WYSIWYG interface (directus#12216)

* Ignore field value updating if it is disabled

* WYSiWYG: Allow to undo Insert image, Insert link, Insert media and Edit source code custom actions

* Bind MutationObserver to correct tinyMCE node

* Fix apply for disabled fields

* Emit null when empty

Co-authored-by: Andrew <trubay.andrey@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* fix M2O field deletion (directus#11538)

* fix M2O field deletion

* fix lint

* fix for MySQL

* Pull final dropColumn out of transaction

* Forget that, check for existing constraint before deleting it instead

* Fix lint warning in unrelated file

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Add lock for system cache (directus#12017)

* Add lock for system cache

* Add lock when forcing a flush

* Simplify code

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Disable sorting on nested relational

Has to be disabled until directus#12084 lands

* Fix nested relational limit for m2o fetching (directus#12235)

Fixes directus#12134

* Update my favorite file

* v9.7.0

* v9.7.0

* New translations en-US.yaml (Bulgarian) (directus#12241)

* New translations en-US.yaml (Bulgarian) (directus#12242)

* New translations en-US.yaml (Bulgarian) (directus#12243)

* fix export sidebar's collection not updating (directus#12274)

* Fix being able to export a relational field that is within a group (directus#12260)

* Fix field preview background color (directus#12276)

* Fix field preview background color

* switch primary-alt to use primary-10

* revert previous preview bg color change

* Add fields to directus_user app recommended permission (directus#12277)

* Fix color translation keys (directus#12279)

* Fix start setting of detail group (directus#12280)

Fixes directus#12257

* Prevent errors when using string filters with empty values (directus#11836)

* Prevent errors when using string filters with empty values

* Add tests

* String schema validation forced to false for null values

* Add query filter validation with permissions (directus#12190)

* Add query filter validation with permissions

* Allow all fields in test

* Revert test and add check for permissions with empty fields

* Add check for deep filters

* Add tests

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix incorrect order of migrations when reverting (directus#12130)

* Fix groups in v-field-template (directus#12284)

* Fix groups in v-field-template

* Remove unused param

* Prefix existing field typecasting flags with "cast-" (directus#12141)

* Prefix typecasting field flags

* Fix payload test

* Update flags for system tables and for field creation in app

* Revert cast-hash and cast-uuid

* Rename migrations file to current date

* Add App Translation Strings in Settings (directus#12170)

* add migration for translation strings

* add to navigation

* WIP

* fix dialog overflow

* update translation keys

* Update logic

* add placeholder to system-language

* fix translation

* remove unused import

* reset dialog on create new

* ensure search input is visible when searching

* merge translation strings on set language

* merge translation strings on update

* hydrate

* make sure null translation do not get merged

* change dialog to drawer

* update placeholder text

* fix form value

* revert dialog style change

* rename drawer component

* Force safe key name

* Move interface to system interfaces

The saved values are Directus app proprietary, so to prevent confusion in what it's supposed to do, we'll move it to system.

* Move composable to root composables

* Use new languages input in interface/display options

* hide translation strings field in project settings

* set system true to system-input-translated-string

* use this in field detail notes

* use in list options

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* New Crowdin updates (directus#12300)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (French, Canada)

* Handle array vs string based sorting in export (directus#12302)

Fixes directus#12292

* Remove confusing warning

* New translations en-US.yaml (Polish) (directus#12309)

* New translations en-US.yaml (Polish) (directus#12311)

* New translations en-US.yaml (Bulgarian) (directus#12313)

* New Crowdin updates (directus#12314)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Chinese Simplified)

* New Crowdin updates (directus#12315)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Chinese Simplified)

* Fix inconsistent delete action payload (directus#12328)

Fixes directus#12326

* Add shortcut from data model to collection content (directus#12324)

* Add shortcut to collection content from its data model

* Revert automatic formatting to keep in sync with main

* Save last accessed collection in Content Module (directus#12310)

* Save last accessed colection in Content Module

* check visible collections to support nested ones

* Prevent M2M item edits without permission via app (directus#12312)

* disable actions based on permissions (directus#12316)

* Fix auto-casting of array like values in env (directus#12330)

* New Crowdin updates (directus#12329)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Chinese Simplified)

* Update source file en-US.yaml

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (Polish) (directus#12332)

* Use correct interface in dropdown choices

* Update my favorite file

* v9.7.1

* v9.7.1

* Docs: Slightly better scrollbars in dark mode (directus#12341)

* fix: cast translation strings as json (directus#12349)

* fix activity fields using invalid display (directus#12351)

* Fix translation drawer delete button hover style (directus#12353)

* fix LOGGER_LEVELS array being split as string (directus#12342)

* fix LOGGER_LEVELS array being split as string

* use toArray

* some basic tests

* Docs dark mode (directus#12362)

* docs dark mode color to match app

* not sure if needed

* Revert "not sure if needed"

This reverts commit f8a7119.

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Use correct value in driver validation

* Fix action for updateAllowed in M2M usePerms (directus#12371)

* New translations en-US.yaml (Bulgarian) (directus#12374)

* New Crowdin updates (directus#12375)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Ukrainian) (directus#12376)

* New translations en-US.yaml (Ukrainian) (directus#12378)

* New Crowdin updates (directus#12379)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Bulgarian) (directus#12381)

* Fix deep _limit -1 not resolving all items (directus#12385)

* Fix typecast migration array (directus#12372)

* Fix incorrect saving of field special in migration

* Add hotfix

* Run typecasting again just in case...

* Rename migration

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* New translations en-US.yaml (Spanish, Latin America) (directus#12388)

* Update system-filter interface to use v-field-list (directus#12320)

* update system filter to use v-field-list

* remove unused code

* use v-field-list in nodes

* prevent node name wrapping

* use prepend as the correct term

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix default value for stars display (directus#12391)

Fixes directus#12387

* Fix csv values from env variables in telemetry (directus#12370)

* fix: translate formatted value when setting translation key (directus#12354)

* fix: translate formatted value when setting translation key

* linting

* Use Url util to construct urls everywhere (directus#12394)

Fixes directus#12345

* refactor: replace deprecated String.prototype.substr() (directus#12344)

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

* fix: handle nulls when processing m2m (directus#12187)

fixes directus#12099

Co-authored-by: Spencer Jones <sjones@morningconsult.com>

* New translations en-US.yaml (Italian) (directus#12396)

* Force path part to string

* Fix line height in table rows

* Add field-level validation (directus#12363)

* Add field validation column

* Add frontend config for validation

* Make it work

* Add regex to filter configuration

* Fix const/let

* Add custom validation message support

* Add custom validation message tooltip inline

* Fix custom names in validation errors up top

* Fix type error

* Nog eentje om het af te leren

* resolve unused import warnings

* New Crowdin updates (directus#12401)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (English, Canada)

* Fix system-filter button check

* Fix collection name usage

* New translations en-US.yaml (Italian) (directus#12404)

* New translations en-US.yaml (Italian) (directus#12405)

* New translations en-US.yaml (French) (directus#12409)

* New translations en-US.yaml (Spanish) (directus#12411)

* docs homepage clarifications and tweaks (directus#12410)

* New translations en-US.yaml (Spanish) (directus#12413)

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Eron Donevan Powell <62306630+erondpowell@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Chris Bartley <chris@chrisbartley.com>
Co-authored-by: schlagmichdoch <52242352+schlagmichdoch@users.noreply.github.com>
Co-authored-by: Dominik Tils <d.tils@studentec.de>
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Co-authored-by: Dominic Marcelino <46492597+Dominic-Marcelino@users.noreply.github.com>
Co-authored-by: José Varela <joselcvarela@gmail.com>
Co-authored-by: Ariunbold G <g.ariunbold@gmail.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Abdón Rodríguez Davila <a@abdonrd.com>
Co-authored-by: Nayan Patel <79650289+PatelN123@users.noreply.github.com>
Co-authored-by: Michael Lopez <mickael.lopez@gmail.com>
Co-authored-by: Maarten Van Neyghem <maartenvn.eu@gmail.com>
Co-authored-by: Yt <raphael@megzari.com>
Co-authored-by: Håvard Vidme <havard.vidme@kartverket.no>
Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Lukas Kimpel <31202904+eXsiLe95@users.noreply.github.com>
Co-authored-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
Co-authored-by: Spencer Jones <jones.spencera@gmail.com>
Co-authored-by: Spencer Jones <sjones@morningconsult.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: Nikola Rožić <nrozic@users.noreply.github.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.hitronhub.home>
Co-authored-by: Andrey Trubay <trubay.andrey@gmail.com>
Co-authored-by: Yasser Lahbibi <yasser.lahbibi@apenhet.com>
Co-authored-by: Gerard Lamusse <gerardlamo@gmail.com>
Co-authored-by: Lukas Schätzle <Lukas-schaetzle@web.de>
Co-authored-by: Alexandre Lotte <14101189+loteoo@users.noreply.github.com>
Co-authored-by: CommanderRoot <CommanderRoot@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WYSIWYG interface displays nothing sometimes
3 participants