Bookkeeping icon indicating copy to clipboard operation
Bookkeeping copied to clipboard

[O2B-607] Add possibility to archive tags

Open martinboulais opened this issue 3 years ago • 1 comments

I have a JIRA ticket

  • [x] branch and/or PR name(s) include(s) JIRA ID
  • [x] issue has "Fix version" assigned
  • [x] issue "Status" is set to "In review"
  • [x] PR labels are selected

Notable changes for users:

  • Tags can now be marked as archived by administrators, and those tags can not be linked to new runs or logs

martinboulais avatar Oct 28 '22 08:10 martinboulais

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@db9a22b). Click here to learn what that means. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #787   +/-   ##
=======================================
  Coverage        ?   47.26%           
=======================================
  Files           ?      449           
  Lines           ?     7088           
  Branches        ?     1338           
=======================================
  Hits            ?     3350           
  Misses          ?     3738           
  Partials        ?        0           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 28 '22 08:10 codecov[bot]

One scenario that will let the users confused is the following:

* UserA opens the `log-creation` page and fills in the form by selecting tag `A`

* In the meantime, UserB archives the tag `A`

* When the user will click `Post Log`, they will receive the following error message (screenshot below) which says `Tags DPG could not be found` but the tag is there visible in their selection form
  In this scenario, it would be great if the error message is something similar to what you added for `Run Update` that the tag cannot be used as it is archived

I propose "Tags ... could not be found (they may have been archived)", because we may have a mix of not existing tags or archived ones

martinboulais avatar Jan 17 '23 14:01 martinboulais