Bug 1873683 Comment 4 Edit History

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

It looks like this also happens when you collapse a history card, switch to another tab, and then switch back to the Firefox View tab.

I imagine it's to do with [this bit of code here ](https://searchfox.org/mozilla-central/source/browser/components/firefoxview/history.mjs#393-399) that renders each card individually using the [`repeat` Lit directive](https://lit.dev/docs/templates/directives/#repeat).
It looks like this also happens when you collapse a history card, switch to another tab, and then switch back to the Firefox View tab.

Updated STR:
* Load Firefox View
* Navigate to the history page
* Collapse the first card (or any card really)
* Navigate away from the History page or Fx View entirely (change to another page in Fx View, switch to another tab, minimize the browser window, etc.)
* Navigate back to the History page, and ensure that the card(s) collapsed are still collapsed

Note that once Fx View is reloaded by a page refresh or browser reload, the card collapsed state within History will be reset and all cards will be expanded by default.

I imagine it's to do with [this bit of code here ](https://searchfox.org/mozilla-central/source/browser/components/firefoxview/history.mjs#393-399) that renders each card individually using the [`repeat` Lit directive](https://lit.dev/docs/templates/directives/#repeat).

Back to Bug 1873683 Comment 4