Page MenuHomePhabricator

Print events in closed tasks in grey
Closed, ResolvedPublicFeature

Description

To distinguish, if the event happens in opened/stalled or resolved/invalid task, it would be practical to have the latter to be printed in grey instead of white on IRC. (Tags and other colors remain, just the title, link and comment)

Details

TitleReferenceAuthorSource BranchDest Branch
Enhance Phorge event renderingtoolforge-repos/wikibugs2!17bd808work/bd808/irc-formattingmain
Customize query in GitLab

Event Timeline

bd808 changed the subtype of this task from "Task" to "Feature Request".Feb 17 2024, 8:18 PM
bd808 triaged this task as Low priority.Mar 10 2024, 4:06 AM
bd808 moved this task from Backlog to Ready to Go on the Wikibugs board.

This will require always passing the current status of the task to the message formatter. Currently we only pass status if the transaction group triggering the message included a status transition. As a corollary, the status that is always passed should be keyed different than the data for a status transition. current_status seems like a reasonable choice for the new key.

bd808 changed the task status from Open to In Progress.Mar 12 2024, 12:12 AM
bd808 claimed this task.
bd808 moved this task from Ready to Go to Doing on the Wikibugs board.

This will require always passing the current status of the task to the message formatter.

Actually it will be even easier to propagate the "isClosed" boolean from maniphest.info as the toggle for this behavior.

hashar subscribed.

I found out wikibugs changed some of its messages text color to grey which has led https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/commit/a4fe92d27196a2586b0fcb9c9593c03b22e6c8e0 and this task.

That turned some texts to light grey it is barely readable for me. I could possibly:

  • change the grey to be darker / black but that defeat its purposes in other context when a dimmed text is desirable
  • change the notification background color to something else but I don't quite see what would work with a light grey (maybe a way darker background, then it would stand out to much).

wikibugs_grey_text.png (114×1 px, 54 KB)

I'd like the foreground text to remain the default color. Maybe the different colors for OpenResolved is sufficient to distinguish them from other kind of task. An alternative would be to use emojis?