Page MenuHomePhabricator

Make it possible to tell if CD's comment form is open from browser tab's name
Open, Needs TriagePublic

Description

The issue concerning DiscussionTools is described at T262066: Make it possible to tell if Reply Tool is open from browser tab's name, the same issue is applicable to Convenient Discussions. So we perhaps need to examine their solution is they come to one or come to some different.

Event Timeline

Ailbeve added a subscriber: Ailbeve.Sep 4 2020, 7:48 PM

So, my current thoughts are the following:

  • In contrast with DiscussionTools, many comment forms can be open simultaneously in CD.
  • In contrast with DiscussionTools, users may also edit comments, reply to sections, and add subsections (in addition to replying and adding a section). These may need additional labels if we decide to put labels in the title.
  • We perhaps need to change the title as these forms receive focus.
  • We probably don't need to change the title if a form loses focus, only when a form is closed. Users can click links, select text on the page and then quote it in the form—in these cases, they are still working with the form, still replying/editing/creating a section.
  • The solution that I see is to prepend labels like "Replying to" to the title (not including the number of new, not yet shown comments that is added in CD in parentheses, like "(1)"). The correspondence could be:
    • "Replying at" for replies (both to comments and sections)
    • "Editing at" for edits
    • "New topic at" for new topics
    • "New subsection at" for new subsections
  • The another solution could be adding some shorter, more technical labels like a pencil emoji ✎✏️✐ (though it's too flashy) or other character, maybe in square brackets. We could prepend "*" to the title like they add "*" in text editors to denote unsaved changes, but "*" is currently also used for new, not yet shown comments that may be interesting to the user, like "(1*)".

I'm not entirely sure if this function is needed. Nobody seems to do this on any site.


But if we really want to, then we can use [], instead of (). We can also try changing the icon. But I don't like these variants anyway :)

I'm not entirely sure if this function is needed. Nobody seems to do this on any site.

Well, the justification why it would be useful was made by @JAnD and @Sunpriat at https://www.mediawiki.org/wiki/Topic:Vtbmyswhmrwufpxv. When a page is edited with the standard interface, the title is "Editing [pagename]" so users can quickly pick up where they were editing.

Changing the icon seems to me to be used on various popular sites to indicate the number of new messages. But I don't think this is relevant for us, as wikis are not messengers and it's unclear what the number would mean (notifications? watchlist updates? comments on all pages? comments on this page? all comments or only relevant to the user?).

Iniquity added a comment.EditedSep 5 2020, 1:23 PM

I'm not entirely sure if this function is needed. Nobody seems to do this on any site.

When a page is edited with the standard interface, the title is "Editing [pagename]" so users can quickly pick up where they were editing.

Well, this is more a matter of our habit of a terrible discussion system :)

Changing the icon seems to me to be used on various popular sites to indicate the number of new messages. But I don't think this is relevant for us, as wikis are not messengers and it's unclear what the number would mean (notifications? watchlist updates? comments on all pages? comments on this page? all comments or only relevant to the user?).

We can just use a yellow circle to indicate that the page is being edited. We can try to do this behavior for any editing.

If using an icon, the OOUI pencil icon could be used:

But the problem is, we would need to lay it on top of the existing icon, and there is plenty of them on Wikimedia wikis.