[TXTREC-51] Improve performance of RemoveAllTags action Created: 08/Aug/19  Updated: 09/Aug/19  Resolved: 09/Aug/19

Status: Closed
Project: Text Classification
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Improvement Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2.5h
Original Estimate: Not Specified

Issue Links:
Relates
relates to TXTREC-36 Create "Remove all tags" button Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Txt Classification integration
Sprint: Add-Ons 18
Story Points: 0.5

 Description   

Situation:

  • Have a page node already run classification with a lot of tags in result (100 tags for example)
  • Click on Modify tags action to open the dialog to remove all tags
  • So, when users click on "Remove all tags" button, it takes much time than expected to remove them and running status shown on the top of Magnolia Admincentral

AC:

  • It should remove at once and don't see the progress on the top of Admincentral

Dev hints:

  • In RemoveAllTagsAction#execute, it's getting tag field and remove each tag one by one, but we can use "setValue" to set a new or empty Set to the tagField.

Generated at Mon Feb 12 11:04:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.