Kris
7c19d41864
FEATURE: Toggle between timeline and TOC ( #64 )
2023-10-25 12:08:24 -04:00
Alan Guo Xiang Tan
f2f309b552
DEV: Switch to new addComposerToolbarPopupMenuOption plugin API ( #65 )
...
Why this change?
`api.addToolbarPopupMenuOptionsCallback` has been deprecated in 913fd3a7b3
2023-10-23 08:09:06 +08:00
Alan Guo Xiang Tan
04577e0b90
Revert "DEV: Switch theme to use new `addComposerToolbarPopupMenuOpti… ( #62 )
...
This reverts commit d59dc7caf4
.
We have compatibility problems with themes and core right now: https://meta.discourse.org/t/-/282315/7
2023-10-16 15:23:04 +08:00
Alan Guo Xiang Tan
d59dc7caf4
DEV: Switch theme to use new `addComposerToolbarPopupMenuOption` api ( #61 )
...
Why this change?
The new API is better and allows us to avoid modifying the composer
service.
2023-10-06 09:20:09 +08:00
Penar Musaraj
ed6634f6a4
DEV: Fix tests ( #51 )
...
Core now needs tests to set a default composer category.
2023-01-02 11:07:50 +01:00
Vinoth Kannan
55f83a913c
FEATURE: new theme setting to disable TOC in posts with less headings. ( #47 )
...
The theme setting `TOC_min_heading` will decide whether the TOC should display or not based on the number of headings available in the post.
2022-11-04 09:41:16 +05:30
Jarek Radosz
f80c215a28
SECURITY: Render TOC items as plain text ( #44 )
2022-10-03 21:10:05 +02: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
Jarek Radosz
7b3c12ae15
DEV: Update CI workflows ( #39 )
2022-06-17 18:20:09 +02:00
Penar Musaraj
c658e95d54
FIX: Generate unique IDs for non-Latin languages ( #36 )
2022-05-05 14:25:37 -04:00
Penar Musaraj
86b9960263
FIX: Allow adding TOC when editing first post ( #20 )
2022-01-18 09:52:51 -05:00
Penar Musaraj
20366c671d
REFACTOR: General component overhaul ( #19 )
2022-01-18 09:18:21 -05:00