Bug 1531517 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

My thoughts on `:visited`… It’s not all about styling but the fragility.

1. It’s basically broken since CSS was invented. For example, the following links are all the same page but considered as different links. The problem is not CSS but HTML which offers no way to canonicalize links. We need the `canonical` attribute on the `<a>` element, just like `<link rel="canonical">`. While canonical URLs have been mostly used for SEO, browsers should respect them for the history and [bookmark management](https://bugzilla.mozilla.org/show_bug.cgi?id=502418).

    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517#c0
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517&list_id=1

2. The style will be easily reset once the browser’s history is cleared.
3. The style could be inconsistent among multiple browsers and devices unless the user’s browsing history is completely synced.

Given that, we need a server-side solution to reliably mark visited bugs. Bugzilla is already logging the user’s last visited timestamp on bugs, so we could use the data. The problem is, we are logging only on bugs that the user is getting involved as the Assignee, CC, etc. Once all the visited bugs are logged as I’m proposing in Bug 1481106, we could solve the issue.
My thoughts on `:visited`… It’s not all about styling but the fragility.

1. It’s basically broken since CSS was invented. For example, the following links are all the same page but considered as different links. The problem is not CSS but HTML which offers no way to canonicalize links. We need the `canonical` attribute on the `<a>` element, just like `<link rel="canonical">`. While canonical URLs have been mostly used for SEO, browsers should respect them for the history and [bookmark management](https://bugzilla.mozilla.org/show_bug.cgi?id=502418).

    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517#c0
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1531517&list_id=1

2. The style will be easily reset once the browser’s history is cleared.
3. The style could be inconsistent among multiple browsers and devices unless the user’s browsing history is completely synced.

Given that, we need a server-side solution to reliably mark visited/read bugs like an email client or feed reader. Bugzilla is already logging the user’s last visited timestamp on bugs, so we could use the data. The problem is, we are logging only on bugs that the user is getting involved as the Assignee, CC, etc. Once all the visited bugs are logged as I’m proposing in Bug 1481106, we could solve the issue.

Back to Bug 1531517 Comment 3