Page MenuHomePhabricator

Hashar does not like grey foreground color for distinguishing closed status events
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
bd808
Mar 18 2024, 5:10 PM
Referenced Files
F46946928: Capture old grey.PNG
Apr 16 2024, 8:52 AM
F46946681: phab.PNG
Apr 16 2024, 8:51 AM
F46841565: Screenshot 2024-04-15 at 15.01.40.png
Apr 15 2024, 9:04 PM
F46840774: Screenshot 2024-04-15 at 14.56.58.png
Apr 15 2024, 9:00 PM
F44520662: image.png
Apr 4 2024, 4:54 PM

Description

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?

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
irc: Use strikethrough style rather than grey color for closed taskstoolforge-repos/wikibugs2!31bd808work/bd808/grey-is-annoying-to-somemain
Customize query in GitLab

Event Timeline

  • 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).

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

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 OpenResolved 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?

bd808 renamed this task from Hashar does not like grey foreground color for distinguising closed status events to Hashar does not like grey foreground color for distinguishing closed status events .Mar 18 2024, 5:13 PM
bd808 moved this task from Backlog to Need discussion on the Wikibugs board.

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.

@greg and @taavi are the other two Wikibugs watchers who have asked in public about the intent of the grey color implementation. Perhaps they have additional feedback on any usability impact the change had for them that would be useful in this discussion.

This is how it looks to me:

image.png (212×1 px, 92 KB)

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.

This is how it looks to me:

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.

bd808 changed the task status from Open to In Progress.Apr 15 2024, 8:45 PM
bd808 claimed this task.
bd808 triaged this task as Medium priority.
bd808 moved this task from Need discussion to Doing on the Wikibugs board.

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.

Rendering of T1152#9715558 in my Textual client with some additional styling triggered by my irc nick being part of the the message:

Screenshot 2024-04-15 at 14.56.58.png (70×1 px, 64 KB)

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:

Screenshot 2024-04-15 at 15.01.40.png (158×1 px, 51 KB)

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)

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...

phab.PNG (74×1 px, 25 KB)

Capture old grey.PNG (84×1 px, 25 KB)

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 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.

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.

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.