Ed Sanders
da64c43ccc
Show thread metadata in section headers
...
Bug: T269950
Change-Id: Ifa47ddcbccf288be0bbecd5961eab7c5122aab7b
2022-06-23 17:17:09 +01:00
Bartosz Dziewoński
df22a66e42
topicsubscription: Reduce code duplication
...
Rather than making our own ThreadItem objects from scratch,
reuse those used by the rest of the code.
Change-Id: I67f5ea3ad26baffe51b66d0c75467ac00185dd0a
2022-06-20 19:02:46 +02:00
Ed Sanders
bfb3c24ecc
Remove code for handling legacy HTML with data-mw-comment-name
...
This can be merged a few weeks after the commit that introduces
it (If28e1588742), once all the HTML caches have been purged.
Change-Id: I96d2de081a23137fe11a66c8213535219ebfb230
2022-05-14 20:23:45 +00:00
Ed Sanders
48fdcf1056
Remove data-mw-comment-name attribute from subscribe links
...
The HeadingItem's name is now present in the DOM, so just traverse
to it and use that instead.
Change-Id: If28e1588742513d606e3d8fcfb259b85acc0a873
2022-03-28 22:30:59 +01:00
Ed Sanders
215695ad2c
Refactor topic subscription logic
...
This will make it easier to support subscription buttons with
visual enhancements enabled.
Change-Id: I3614eada32885216358143a0cacf65966381679e
2022-03-25 11:57:58 +00:00
Ed Sanders
1032db4878
Move (auto) topic subscription initialisation to separate file
...
Bug: T302805
Change-Id: Ia901cba731233719dd1d5916eb5211a551d34091
2022-03-01 21:27:08 +00:00