12 Commits

Author SHA1 Message Date
锦心
830c0436c8
FEATURE: Allow TOC for replies (#90)
* FEATURE: Allow TOC for replies

This commit adds an optional setting that allows enabling a TOC for
replies. TOCs for replies are not affected by autoTOC settings like
`auto_TOC_tags` and must be inserted manually.
2024-08-07 15:40:11 +08:00
Osama Sayegh
bbb6e77435
UX: Add missing descriptions for settings and remove dead settings (#83)
This commit adds missing descriptions for the `composer_toc_text` and `TOC_min_heading` settings replaces "dead" settings whose only purpose was to add icons to the SVG sprite with the `svg_icons` modifier in the about.json file.
2024-03-27 15:56:09 +03:00
Kris
826b5fb22a
REFACTOR: convert to ember component, add timeline toggle (#73) 2024-01-31 10:22:06 -05:00
Kris
3179e886a3
REVERT: reverting toggle to do display issues (#72) 2023-12-11 18:39:19 -05:00
Kris
a089aa0289
FEATURE: Toggle between timeline and TOC (#68) 2023-12-11 12:53:17 -05:00
Kris
a807ff3546
Revert "FEATURE: Toggle between timeline and TOC (#64)" (#67)
This reverts commit 7c19d4186414a35dd65e8f5ad6950b3561cb6d21.
2023-10-25 12:18:36 -04:00
Kris
7c19d41864
FEATURE: Toggle between timeline and TOC (#64) 2023-10-25 12:08:24 -04:00
Penar Musaraj
1d3b28355c
Fix a typo (#46) 2022-10-12 08:47:32 -04:00
Joe
58a1400f55
FEATURE: Automatically add TOC based on topic category / tags (#42)
This PR adds two settings.

One allows admins to select a list of categories that will automatically enable the TOC if the topic category matches.
The other does the same but with tags.

Note that the topic still needs to have the other requirements for TOC, such as having headings. Also, this will still only apply to the first post.

This PR also moves some setting descriptions to the appropriate place.

It also uses `pretender` for the tests instead of generating the fixture manually.
2022-07-26 01:23:19 +08:00
Joe
b8b9b4bd9e
FEATURE: add button to navigate to TOC post controls (#10) 2021-05-10 21:03:22 +08:00
Joe
1ee43956c2
DiscoTOC v0.2 2019-04-14 13:47:22 -07:00
Joe
2f18140d1d
Create en.yml 2019-03-09 10:04:57 +08:00