mirror of
https://github.com/directus/directus.git
synced 2026-01-14 12:48:02 -05:00
* 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>