1
0
Fork 0
Commit graph

71 commits

Author SHA1 Message Date
joostdecock
3111a6df8b [shared] fix: Pattern translation in UI
This fixes problems with pattern translation where the translation
inside a pattern we using the UI's i18n instance to do the translation.

That causes issues when the pattern language and UI langauges are
different (something we support). Furthermore, we need to load the
design's own namespace as the default, and load the annotations plugin
namespace and do some other things that are specific to translation
inside the patterns.

This resolves that by creating a dedicated i18n instance to handle
translation inside patterns.

This unblocks #6340
2024-03-16 11:39:26 +01:00
Joost De Cock
42b6d15dae
Merge pull request #6109 from BenJamesBen/monochrome-ue-buttons-color
fix(shared): Override draft UI button colors for monochrome theme
2024-02-24 18:24:07 +01:00
Joost De Cock
d880dd0e8d
Merge pull request #6107 from BenJamesBen/draft-ui-ue
fix(shared): In draft header, show/hide kiosk and renderer buttons based on User Experience
2024-02-24 18:23:36 +01:00
Benjamin Fan
0ae3600ecc fix(shared): Add Missing Settings? tip to pattern draft right menu 2024-02-21 11:58:57 -08:00
Benjamin Fan
1d39c31d41 fix(shared): Change Reset Options button color for monochrome theme 2024-02-20 16:44:32 -08:00
Benjamin Fan
2f0ac0b1ce fix(shared): Override User Experience button color for monochrome theme 2024-02-20 16:25:53 -08:00
Benjamin Fan
dd7dcd1993 fix(shared): In draft header, show/hide kiosk and renderer buttons based on User Experience 2024-02-20 09:13:14 -08:00
joostdecock
d442e23d69 fix(shared): Saving pattern in edit mode
This reverts the temporary fix for #5534
(commit 99b6e75956 )
and implements a proper fix.

This also closes #5570 as that was a side-effect of the initial
half-assed fix.
2023-12-09 16:11:09 +01:00
Joost De Cock
8535b7bdfd fix(shared): Don't make assumptions about saveAs
- Fixes #5542
- Fixes #5541
2023-11-27 08:56:33 +01:00
joostdecock
7a720ca872 chore: Remove lint 2023-11-26 14:42:02 +01:00
joostdecock
99b6e75956 fix(shared): Save pattern when bootstrapping edit mode.
This fixes #5534
2023-11-26 12:33:17 +01:00
joostdecock
ae9637e50d chore: Remove lint 2023-11-18 18:53:39 +01:00
joostdecock
548c93a2a0 fix(shared): Always show flags. Fixes #5489 2023-11-18 18:40:17 +01:00
joostdecock
b3547dda63 fix(shared): Set z-index on draft header. Fixes #5440 2023-11-08 20:36:47 +01:00
Joost De Cock
3eba42c2ba fix(shared): Pass ID to accordion to keep items open 2023-10-12 10:52:58 +02:00
Joost De Cock
ffc833f7c7 feat(shared): Port workbench to dynamic mdx 2023-10-09 13:01:58 +02:00
Joost De Cock
86d984e8c5 wip(shared): Split new design pages per design to split bundle
This adds page templates that will auto-generate pages for each design.
This not only allows us to split the bundle for these individual
designs, we are also now passing the inline docs for a design as static
props, as that will limit the memory footprint of webpack.

Remains to be seen how this will all come together, but it's better than
throwing everything at webpack and watching the build fail.
2023-10-08 14:26:58 +02:00
joostdecock
9382585c07 fix(shared): Apply control limits to draft header. Fixes #5059 2023-10-01 16:15:14 +02:00
joostdecock
c65c5876a3 wip(sde): Working on file list 2023-09-29 16:01:27 +02:00
joostdecock
773ba3a72f chore(shared): Per-set useDesign hook 2023-09-27 15:42:42 +02:00
joostdecock
50fcf988a5 feat(shared): Edit existing patterns and save/saveAs 2023-09-27 12:04:26 +02:00
Joost De Cock
2e13c9d5ec fix(shared): Load collection translations 2023-09-15 18:05:36 +02:00
Joost De Cock
0eeffaf89d chore(shared): Linter issues 2023-09-10 11:08:31 +02:00
Joost De Cock
ddbbbda2bc chore(shared): Changes kiosk/expand/flags/header
- Revamped the flags ui to be consistent with the rest
- The expand setting is on by default now. Tweaks to its dialog and
  header
- Added a new kiosk mode that will use the entire screen for the
  workbench
- Got rid of the auto-hiding behaviour of the header which gets annoying
  quick
2023-09-09 17:58:44 +02:00
Joost De Cock
f5edf74936 chore(chared): Updated flag UI and api 2023-09-09 15:31:53 +02:00
joostdecock
4528e1bc88 feat(shared): Added support for flags 2023-09-07 10:29:19 +02:00
Joost De Cock
19aa5f3e12 chore(shared): Updated print view for visual consistency 2023-08-30 16:57:46 +02:00
Joost De Cock
0e430bdb01 feat(shared): Add save/bookmark to wb view header 2023-08-28 16:55:23 +02:00
joostdecock
7ef9198fe8 chore(shared): Linter issues 2023-08-27 17:01:58 +02:00
joostdecock
5849e6d931 chore(shared): Adapted (part of) workbench for UI consistency 2023-08-27 16:24:18 +02:00
Enoch Riese
48757e218d Merge branch 'develop' into eriese-ui-tweaks 2023-06-26 11:42:25 -05:00
Enoch Riese
6c97e1a94d missed one 2023-06-24 15:12:54 -05:00
Enoch Riese
989c6e02cb ui tweaks from contributor call feedback 2023-06-24 15:00:46 -05:00
Enoch Riese
6c94afe99f shared component for views that have patterns and side menus 2023-06-23 19:39:45 -05:00
Enoch Riese
22bb896bc2 workbench view menus in modal on mobile 2023-06-23 14:29:09 -05:00
Enoch Riese
609cef854e sticky draft toolbar with tooltips 2023-06-21 23:11:14 -05:00
Enoch Riese
d6b037e9ea add reset settings button 2023-06-21 22:16:44 -05:00
Enoch Riese
5311c667da reset zoom buttons 2023-06-21 21:17:07 -05:00
joostdecock
4a5c4f31ec chore(shared): Linter warnings 2023-06-15 18:53:45 +02:00
joostdecock
ad2d0c18c5 feat(shared): Helper to toggle SA in settings 2023-06-15 18:48:44 +02:00
joostdecock
5a29602afe feat: Icons and measies view 2023-06-15 18:33:30 +02:00
joostdecock
7daad74964 feat(shared): Better workbend nav. Closes #4272 2023-06-15 09:23:49 +02:00
joostdecock
f2cc48039d fix(shared): Remove left margin from draft view now nav is relative 2023-06-13 19:35:47 +02:00
joostdecock
5208852ed1 wip(shared): Work on #4272 better workbench navigation 2023-06-12 19:38:20 +02:00
joostdecock
d0f2537434 chore(shared): Linter warnings 2023-06-11 07:59:07 +02:00
joostdecock
9ffb4f5261 feat(shared): implemented log view 2023-06-10 20:33:34 +02:00
joostdecock
977546936b chore(shared): Linter warnings 2023-06-10 14:08:07 +02:00
joostdecock
159d4e4066 chore(shared): Linter warnings 2023-06-08 19:13:52 +02:00
joostdecock
2a1ccae7c2 chore(shared): Linter warnings 2023-06-08 19:09:16 +02:00
joostdecock
3d2354ff4c chore(shared): Lint warnings and cleanup 2023-06-08 19:00:21 +02:00