- Issue created by @fgm
- last update
over 1 year ago 66 pass - @fgm opened merge request.
- last update
over 1 year ago 66 pass - Status changed to Needs work
over 1 year ago 8:49pm 16 July 2023 - 🇫🇷France fgm Paris, France
Current stage:
- JS code to transform the links is WIP in class
G2Footnotes
- source links are replaced by a.name anchors
- source links have a footnote fragment link in a sup element appended
- block is available, with static content
Next steps
- generate the links in the footnotes block as an unnnumbered list because there can be multiple source backlinks in any given footnote link
- generate the backlinks from the block to the source links
- add CSS styling for the sup elements
- add automatic triggering with Drupal behaviors
- add tests (Nightwatch ?)
- convert to web component. Example in Acquia DAM
- JS code to transform the links is WIP in class
- 🇫🇷France fgm Paris, France
Actually, this is vanilla JS, no jQuery. And being worked on at DDD Vienna.
- last update
over 1 year ago 83 pass - last update
over 1 year ago 83 pass - 🇫🇷France fgm Paris, France
Merged to current dev HEAD.
Some limitations remain:
- DFN links dynamically added after the footnotes block is generated will not be updated and appear on the footnotes block: there are TODO in the code about this
- The Gitlab eslint step fails because it cannot find airbnb-base, but yarn lint passes locally.
So at this point it is better to merge than to keep.
- Status changed to Fixed
over 1 year ago 6:11pm 30 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.