Commit 9d2bec4
style(ui): portlet search boxes, import dialogs and content compare fixes (#35341)
## What does this PR do?
Addresses several UI inconsistencies across recently migrated portlets.
## Changes
- **Search boxes (categories, tags, locales, plugins):** Enforced
consistent `w-80` (320px) width on all search inputs; simplified
placeholder text to `Search` across all four portlets
- **Tags import dialog:** Removed redundant `", such as...."` text from
the instructions copy, ending the sentence with a period
- **Categories import dialog:** Unified the `p-fileupload` dropzone
template to match the tags/plugins pattern (icon, layout,
`#content`-only approach); added `shrink-0` to the icon container to
prevent oval distortion when dialog space is constrained; put Import
Type radio buttons on the same row (`gap-3`) to reduce vertical overflow
- **Content compare:** Fixed the Previous version `p-select` dropdown
not showing a selected value on first load by binding
`[ngModel]="data.compare"` and adding `dataKey="inode"` for reliable
object matching
## Closes
Closes #35274
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4494b5f commit 9d2bec4
5 files changed
Lines changed: 72 additions & 59 deletions
File tree
- core-web/libs/portlets
- dot-categories/src/lib/dot-categories-import
- dot-plugins/src/lib/dot-plugins-list
- edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table
- dotCMS/src/main/webapp/WEB-INF/messages
Lines changed: 56 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
29 | 33 | | |
30 | | - | |
31 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | | - | |
34 | | - | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | | - | |
43 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
44 | 58 | | |
45 | | - | |
| 59 | + | |
46 | 60 | | |
47 | | - | |
| 61 | + | |
48 | 62 | | |
49 | 63 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 64 | | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
74 | 76 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
346 | 350 | | |
347 | 351 | | |
348 | 352 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5855 | 5855 | | |
5856 | 5856 | | |
5857 | 5857 | | |
5858 | | - | |
| 5858 | + | |
5859 | 5859 | | |
5860 | 5860 | | |
5861 | 5861 | | |
| |||
6619 | 6619 | | |
6620 | 6620 | | |
6621 | 6621 | | |
6622 | | - | |
| 6622 | + | |
6623 | 6623 | | |
6624 | 6624 | | |
6625 | 6625 | | |
| |||
6639 | 6639 | | |
6640 | 6640 | | |
6641 | 6641 | | |
6642 | | - | |
| 6642 | + | |
6643 | 6643 | | |
6644 | 6644 | | |
6645 | 6645 | | |
| |||
6666 | 6666 | | |
6667 | 6667 | | |
6668 | 6668 | | |
6669 | | - | |
| 6669 | + | |
6670 | 6670 | | |
6671 | 6671 | | |
6672 | 6672 | | |
| |||
6750 | 6750 | | |
6751 | 6751 | | |
6752 | 6752 | | |
| 6753 | + | |
| 6754 | + | |
| 6755 | + | |
6753 | 6756 | | |
6754 | 6757 | | |
6755 | 6758 | | |
6756 | 6759 | | |
6757 | 6760 | | |
6758 | 6761 | | |
6759 | 6762 | | |
6760 | | - | |
| 6763 | + | |
6761 | 6764 | | |
6762 | 6765 | | |
6763 | 6766 | | |
| |||
0 commit comments