6398 Commits

Author SHA1 Message Date
Alex Gaillard
e109a6f2d6 Release 11.10.0 (#25557) 2025-07-30 17:12:15 +00:00
Rijk van Zanten
1899ed9035 New Crowdin updates (#25398)
* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Albanian)

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

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

* Update source file en-US.yaml

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

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Romanian)

* 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 (Italian)

* New translations en-us.yaml (Japanese)

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovenian)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Ukrainian)

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

* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (Persian)

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

* New translations en-us.yaml (Marathi)

* New translations en-us.yaml (Croatian)

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

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

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

* New translations en-us.yaml (Esperanto)

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Nepali)

* New translations en-us.yaml (Kurmanji (Kurdish))

* New translations en-us.yaml (Sorani (Kurdish))

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

* Update source file en-US.yaml

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

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

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Korean)

* Update source file en-US.yaml

* New translations en-us.yaml (Afrikaans)

* New translations en-us.yaml (Azerbaijani)

* New translations en-us.yaml (Azerbaijani)

* Update source file en-US.yaml

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Persian)

* Fix pt language string

* Fix lt placeholder

* Remove empty strings

* Update source file en-US.yaml

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Albanian)

* Fix translation errors

* Fix more translation errors

---------

Co-authored-by: Alex Gaillard <alex@directus.io>
2025-07-30 12:55:51 -04:00
Florian C. Wachmann
ef37bf6409 Fix bug with invalid input in v-input (#25548) 2025-07-30 17:09:12 +02:00
Rob Luton
6ede974204 fix issue of icons getting cutoff (#25555) 2025-07-30 13:35:30 +00:00
Florian C. Wachmann
f4eb199c19 fix positioning of notifications on smaller viewports (#25553) 2025-07-30 08:34:04 -04:00
Rob Luton
dacaef8804 Upgrade to latest material symbols (#25512) 2025-07-28 22:32:28 +02:00
Rob Luton
dde586c93e Fix issue preventing click events from working when sorting items (#25503) 2025-07-28 20:33:43 +02:00
Rijk van Zanten
4f94a26b56 Add native support for RTL direction (#25494)
* Setup language_direction user setting

* Add option translations

* Add rtl const

* Return dir from getCurrentLanguage

* Set htmlAttrs for lang / dir

* Update tests, fix fallback

* Add test:watch script

* Add rtl transform in icon file

* Make sure the progress bar animates rtl

Devil's in the details

* Make sure sidebar animates correctly on smaller screens

* Care too much about the details

* Fix directionality on slider

* Fix drawer transitions

* Arrow alignment in settings

* Stacked drawers effect

* Full screen navigation

* Revert menu alignment

* Fix nudging on smoke click

* Add changeset

* Update app/src/components/v-menu.vue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Format

* Format rebased work

* One more formatting quirk

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

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update .changeset/giant-cloths-play.md

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Add translation

* Remove importants

* Improve typing in get-current-language

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Fix tooltip directions

* Refactor user store to setup script

* Add language/dir to userStore

* Replace getCurrentLanguage w/ userStore

* Make html attrs reactive

* Rename language_direction to text_direction

* Appease the robot overlords

* Add text-direction to user type

* Make text-direction not nullable

* Fix arrow alignment

* fix top tooltips

* run formatter

* mirror directional icons

* Fix positioning for rtl

* Fix flow attachments

* Replace magic number with const

* Start refactoring arrows business logic

No way to properly write unit tests for these bits otherwise. Increases the surface of this PR quite a bit, but feels like a necessary evil...

* Move minMaxPoint to separate file

* Move is-point-in-panel out

* Move generateCorner to separate file

* Update docs

* Move range function out

* Move find-best-position to separate file

* Move get-points to separate file

* Move generate-path out of main fn

* Move create-line to separate file

* Rewrite docblock

* Add tests for generate arrows

* Make sure icons are only mirrored in rtl

* Add RTL for flow arrows

* Run formatter

* Remove extraneous setLanguage calls

* Fix mocks

* Fix generate test

* Fix review notes

* Fix pinia test stubbing

* Fix test runner and add coverage for rtl

* Mock global pinia in v-info test

* Remove unused imports

* Remove unused type

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
2025-07-28 13:59:32 -04:00
Florian C. Wachmann
f56d6c534e Improve a11y for anchors, iframes, labels and roles (#25531)
* remove redundant roles

* ensure field is labelled

* improve file input structure for better accessibility

* ensure iframes have title

* update snapshot

* add changset
2025-07-25 10:41:17 -04:00
Rob Luton
c24685449d add tooltip to copy icon associated with flow url endpoint (#25527) 2025-07-24 14:47:54 -04:00
Rob Luton
4464f6adc0 Fix save enabled in drawer when no changes made (#25469)
* o2m - fix save enabled by default

* m2o - fix save enabled by default

* changeset

* move code into existing composables

* combine conditionals

---------

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
2025-07-24 00:04:41 +08:00
Florian C. Wachmann
867b19ecfd Fix skip link using incorrect href (#25514)
* ensure skip link uses correct href in production

* add changeset

* add test
2025-07-23 11:02:58 -04:00
Florian C. Wachmann
c101cde213 Fix incorrect positioning of notifications (#25499)
* refactor styles to remove direction properties and use flex instead

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-07-21 11:22:57 -04:00
Rijk van Zanten
e72483fb76 Add Codecov upload on test CI (#25470)
* Add consistent test:coverage scripts

* Add missing coverage deps

* Submit to codecov

* Update .github/workflows/check.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add codecov config

* Run formatter, remove branches

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-17 16:29:02 -04:00
Florian C. Wachmann
8519911900 Fix bug where M2O displays are cut off (#25477)
* adjust display height in m2o interface to prevent clipping its content

* add changeset
2025-07-17 16:07:29 -04:00
Florian C. Wachmann
59cb1f1171 Prevent text in kanban card from overflowing its container (#25446)
* fix text overflowing its container

* add changeset
2025-07-17 12:28:53 -04:00
Rob Luton
8323ef1c98 Prevent color presets from showing when color picker selected (#25451)
Co-authored-by: formfcw <dev@formfcw.com>
2025-07-16 18:03:49 +02:00
Danton Mariano
d4143bada0 Revert 7adc27a: undo button styling improvement for dark mode (#25444)
Co-authored-by: formfcw <dev@formfcw.com>
2025-07-16 17:32:51 +02:00
Rob Luton
cecc038569 Pass opacity value to color presets interface (#25441) 2025-07-16 17:30:09 +02:00
Florian C. Wachmann
b200ac2399 Fix bug where field template buttons appear unstyled (#25447) 2025-07-16 17:29:07 +02:00
Rijk van Zanten
2edbea9386 Move common dependencies to catalog (#25467)
* Update pnpm to v10

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Allow builds

* Move common dependencies to catalog

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 14:40:28 -04:00
Florian C. Wachmann
86595feacb fix bug caused by fixing inline style for grid-template-columns (#25436) 2025-07-11 09:59:06 -04:00
Matthew Rumery
d4fe32baeb fix: stylelint error in file-info-sidebar-detail 2025-07-10 14:09:23 -06:00
Alex Gaillard
be13d32603 Merge pull request #25370 from directus/florian/cms-1044-logical-properties
Add Stylelint and refactor to use logical properties
2025-07-10 15:33:56 -04:00
Rob Luton
db715fbb8c Merge branch 'main' of github.com:directus/directus into robl/cms-385 2025-07-10 14:06:05 -05:00
Rob Luton
9c03a12e80 add copy id to file details in sidebar 2025-07-10 12:15:08 -05:00
Alex Gaillard
1f4f1268ac Merge branch 'main' into robl/code-wysiwyg 2025-07-10 11:42:33 -04:00
Danton Mariano
a6241829e8 Fix WYSIWYG table button by enabling support for editors in scrollable containers (#25432)
* Fix WYSIWYG table button by enabling support for editors in scrollable containers

* adds changeset

* adds DantonMariano

* improve changeset

---------

Co-authored-by: formfcw <dev@formfcw.com>
2025-07-10 11:39:56 -04:00
Florian C. Wachmann
78ae3db599 Improve custom validation message handling (#25413)
* improve custom validation message handling

* add changeset
2025-07-10 11:38:37 -04:00
Rob Luton
40971c8903 Redirect to profile after registration (#25425)
* redirect to profile after registration

* changeset
2025-07-10 11:38:23 -04:00
Florian C. Wachmann
bd314a3619 Fix handling of initial values in overlay forms with junction fields (#25421)
* improve handling of initial values in overlay forms with junction fields

* add changeset
2025-07-10 11:35:39 -04:00
Florian C. Wachmann
da832319bb Fix “Save as Copy” mutating edits before saving (#25418)
* prevent mutation of edits when saving as copy

* add changeset
2025-07-10 11:35:24 -04:00
Florian C. Wachmann
30a84a39da Fix inconsistent app access permission rules (#25402)
* use minimal permissions when app access enabled during creation

* add changeset

* update changeset
2025-07-10 11:35:00 -04:00
Florian C. Wachmann
9acfa4cd3f Ensure relational interfaces reset saved edits in versions (#25384)
* reset value to value (pk array) of main version if edits are removed and refactor accordingly

* refactor to reuse global targetPKField computed across the file

* update tests

* fix types of touched files

* add changeset
2025-07-10 11:34:42 -04:00
Florian C. Wachmann
7adc27aa85 Improve readability of primary button in dark mode (#25396)
* set text color of primary button to a light color

* add changeset
2025-07-10 11:33:20 -04:00
Florian C. Wachmann
1af693968e Fix tool not appearing in WYSIWYG (#25395)
* create a shared file for toolbar defaults and refactor accordingly

* add changeset
2025-07-10 11:33:07 -04:00
Florian C. Wachmann
e81cca52ad Fix bug where upload modal appears behind the drawer (#25393)
* set z-index for keep-behind class to same value as non-centered v-dialogs

* add changeset
2025-07-10 11:32:52 -04:00
Rob Luton
0b309b5848 Log out user when deleting own account (#25424)
* logout current user when they remove their own account from the profile page

* log out current user if part of batch deletion

* changeset

* remove type that is no longer needed
2025-07-10 11:32:37 -04:00
Rob Luton
e1812757d8 udpate filelist ui after file imported via url (#25429) 2025-07-10 11:31:34 -04:00
Gerard Lamusse
8d757fbcbd Fix translations not displayed correctly on calender layout (#25431)
* Fix translations not displayed correctly on calender layout

* add changeset

---------

Co-authored-by: formfcw <dev@formfcw.com>
2025-07-10 11:31:22 -04:00
Florian C. Wachmann
c3a5cae1c8 Ensure custom validation rules are executed in overlays (#25394)
* enable custom validation rules in the overlay-item (drawer/modal/popover)

* add changeset
2025-07-10 11:30:10 -04:00
ian
46564d7a00 Release 11.9.3 (#25426) 2025-07-09 11:11:46 +00:00
Rob Luton
f34b646bb9 use lang for tooltip 2025-07-08 09:24:20 -05:00
Rob Luton
7ed1189872 remove icon definition that is no longer needed 2025-07-08 08:34:29 -05:00
Rob Luton
8ef1536af1 remove trailine line breaks when exiting pre formatting 2025-07-07 10:52:16 -05:00
Rob Luton
f0fe0b2f63 cleanup in response to feedback 2025-07-07 10:40:27 -05:00
Rob Luton
d83cd50348 fix toggling of inline code 2025-07-03 15:23:19 -05:00
Rob Luton
05dadcffc7 change order of pre and inline code icons in toolbar 2025-07-03 15:14:45 -05:00
Rob Luton
c6ca67ee01 create inline code option that is separate from pre tag formatting 2025-07-03 14:58:51 -05:00
Rob Luton
dd78b08a25 Add icon for preformatting and revert source code icon back to original state 2025-07-03 12:09:34 -05:00