In T140881#9637794, @hashar wrote: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).
I'd like the foreground text to remain the default color. Maybe the different colors for Open → Resolved is sufficient to distinguish them from other kind of task. An alternative would be to use emojis?
Description
Description
Details
Details
Related Changes in GitLab:
| Title | Reference | Author | Source Branch | Dest Branch | |
|---|---|---|---|---|---|
| irc: Use strikethrough style rather than grey color for closed tasks | toolforge-repos/wikibugs2!31 | bd808 | work/bd808/grey-is-annoying-to-some | main |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | BUG REPORT | • bd808 | T360353 Hashar does not like grey foreground color for distinguishing closed status events | ||
| Resolved | Feature | • bd808 | T140881 Print events in closed tasks in grey |
Event Timeline
Comment Actions
- change the grey to be darker / black but that defeat its purposes in other context when a dimmed text is desirable
The color used is just the standard ANSI/IRC color code 14 (https://modern.ircdocs.horse/formatting.html#colors). It sounds like your IRC client/terminal is not well configured to display that foreground color?
- 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).
I'd like the foreground text to remain the default color.
And someone else wanted it to be a different color. I guess this leads to the question of how do we resolve such personal preference differences in a project where the output cannot reasonably be changed per-user?
Maybe the different colors for Open → Resolved is sufficient to distinguish them from other kind of task.
In the one particular event you noticed there is a status change, but this is not at all guaranteed to be part of every event where a closed status Phabricator task is reported to IRC.
An alternative would be to use emojis?
What would the emoji represent and where in the message would we place it?
Comment Actions
We could try to mimic the Phabricator rendering of the titles of closed tasks by using strikethrough styling instead of a color change. I'm not sure how well supported strikethrough is for terminal based IRC clients and if this would cause even worse usability for folks.
Comment Actions
This is how it looks to me:
I feel the main issue here is that changing the color of the main text is not as intuitive as colors that are attached to specific parts of the message. I thought this was a some sort of bug.
Comment Actions
I think that "dimming" of the title and url is what @Danny_B was hoping for in the T140881: Print events in closed tasks in grey feature request. One aspect of this styling that Danny may not have thought of is that the actions which close an task get this styling due to the order of operation and how events are reported after Phabricator has taken action on them. With some work the feature could probably be tuned to not dim things when reporting the Open->Closed transition, but to keep doing it if and when someone comments on an already closed task.
Looking at https://modern.ircdocs.horse/formatting.html, the alternative of using strikethrough that I mentioned in T360353#9639079 is not likely to be noticed by all clients. I think italics would turn out to have wider support. I do think the strikethrough might be more intuitive for folks though because of Phab's own use of that styling when mentioning a close-status task.
Comment Actions
I'm going to switch the formatting from grey foreground to strikethrough text style. The strikethrough will only be visible to some IRC clients, but is expected to be more intuitive as it matches the Phabricator styling for closed tasks. HexChat, IRCCloud, The Lounge, & Textual are explicitly listed at https://defs.ircdocs.horse/info/formatting as supporting the strikethrough style.
If strikethrough ends up generating complaints then we can come back and try italics instead.
Comment Actions
bd808 opened https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/merge_requests/31
irc: Use strikethrough style rather than grey color for closed tasks
Comment Actions
Rendering of T1152#9715558 in my Textual client with some additional styling triggered by my irc nick being part of the the message:
Comment Actions
Rendering of T1152#9715566 via https://web.libera.chat/. Note that this client does not render the strikethrough style, but it also does not show any strange formatting characters:
Comment Actions
bd808 merged https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/merge_requests/31
irc: Use strikethrough style rather than grey color for closed tasks
Comment Actions
Mentioned in SAL (#wikimedia-cloud) [2024-04-15T21:12:32Z] <wmbot~bd808@tools-bastion-12> Restarted irc task to pick up new container image from git hash 406e9e18. (T360353)
Comment Actions
I'm not the biggest fan of the strike though as it makes the text harder to read (probably worse than the grey, but that might be a personal preference, at least with formatting in the lounge).
I wonder instead of trying to effect the text with colours or formatting, just having comment at the start that is formatted in a colour (Phab has limited formatting, just just picture the highlighting as coloured text like the project tags.
<+wikibugs> (NEW) Continuous-Integration-Infrastructure, Release-Engineering-Team (Radar), Zuul, collaboration-services, Patch-For-Review: Test zuul under Bullseye with contint1003 - https://phabricator.wikimedia.org/T361224#9716592 (hashar) Open→Resolved a:hashar I have done the basic testing...
<+wikibugs> (CLOSED) Continuous-Integration-Infrastructure, Release-Engineering-Team (Radar), Zuul, collaboration-services, Patch-For-Review: Test zuul under Bullseye with contint1003 - https://phabricator.wikimedia.org/T361224#9716592 (hashar) Open→Resolved a:hashar I have done the basic testing...
Comment Actions
I think the lowered readability, either with the color or the test style, was the whole point of the original feature request. Comments on closed tasks, like this pair of comments on this closed task, should be outlier actions. If you want to report a new bug, report a new bug. If you need to report that the fitness criteria for a new feature were not met or we not properly considered, reopen the task.
I did not make this sort of distinction in the code yet, but it seems like the remaining reasonable complaint as closing a task is (or at least should be) a common action.



