Dojo to Angular: Tags Portlet
Value to Deliver
Modern Tags portlet in Angular with PrimeNG, matching platform UX standards. Straightforward UI migration - designs ready, backend exists, frontend only.
Problem / Pain
Legacy Dojo Tags portlet creates inconsistent UX and technical debt.
Constraints / Requirements
- Full feature parity with legacy portlet
- Angular + PrimeNG (Table, Dialog, AutoComplete, Forms)
- UI matches approved designs
- Integrate with existing tag REST API (no backend changes)
- Standard CRUD: create, edit, delete, search/filter, assign to content
- QA testing - no regressions
What's Already Done
- ✅ Design complete and approved
- ✅ Backend REST API exists
- ✅ Data models defined
Desired Outcome
Feature parity with modern, consistent UI. All tag operations working correctly.
Target Personas
- [x] Content teams
- [x] System administrators (dotCMS)
PRs linked to this issue
Documentation:
The legacy portlet in JSP can be added under "Tag Manager" in the Role & Tools. While the new one is under "Tags"
Alignment: The alignment on the left side of the table, as well as the command bar, should be the same as the one on the breadcrumbs. Also, make sure the right side of both the table, command bar, and branding bar is the same as the left side.
Bulk Actions: When selecting an item, we should remove all the default buttons,and only leave the bulk actions. In this case it would be removing the Add button, and only leaving Export and Delete.
Order of buttons: Buttons should always go from more important (right side) to less important or disruptive actions, the least important being on the left side of the list. In this case it should be: Export (righ), Delete (left).
Line missing: there is a divider line missing here
Duplicated Tag: When creating a duplicate tag, there should be an error banner at the top of the dialog, Copy: The Tag already exists, follow the next image for reference
Download CSV File Button: Remove this button as it doesn't belong there, we already have a consistent way to export files. (this was a design mistake)
Import Dialog: The import dialog has a small flow issue. When clicking Choose CSV File and selecting a file, the user currently has to click Import before anything happens. Instead, the file should start loading immediately (or at least show a spinner/loading state). After that, the user can click Import, which should take them to the main Tags table where the file will appear. The Done button and the banner are not necessary.
Steps:
1. Click Import
2. Open dialog
3. Click Choose CSV File
4. Select file from browser and click Open
5. Show loading state or spinner (I'm going to add an example of the design, also [you can check the design here])(https://www.figma.com/design/0v7biRuE64nwEMwumymGj9/Lara-theme---dotCMS?node-id=1031-101444&t=0O4RhFnL4OkW5yoj-1)
6. Click Import to go to the main Tags table where the file will appear.
https://github.com/user-attachments/assets/21ba2d86-8533-4808-9e2b-fd4eed98141f
QA done. one issue to be fixed: https://github.com/dotCMS/core/issues/35124