Commit Graph
49 Commits
Author SHA1 Message Date
chapoi b5f77fd5eb Merge branch 'feature/add-expand-all-button' of https://github.com/discourse/DiscoTOC into feature/add-expand-all-button 2025-07-24 15:08:56 +02:00
chapoi e9625c1461 DEV: add toggle to mini-buttons for mobile 2025-07-24 14:48:05 +02:00
chapoi abfec74971 UX: layout expand toggle to right of ToC 2025-07-24 14:26:14 +02:00
Martin Brennan 7ef2da43c7 Merge branch 'main' into feature/add-expand-all-button 2025-07-24 11:49:39 +10:00
Jarek Radosz 13d02bf9d3 DEV: [gjs-codemod] Convert all templates to gjs (#119) 2025-05-29 20:05:58 +01:00
Martin Brennan d2535b2538 Merge branch 'main' into feature/add-expand-all-button 2025-04-08 13:12:11 +10:00
Jarek Radosz d65428689b DEV: Update linting (#115) 2025-03-17 11:42:17 +00:00
David Taylor 7992a24596 DEV: Bump dependencies and fix linting (#108) 2025-02-06 18:00:07 +01:00
Martin Brennan d8b9292066 FEATURE: Add expand all button for TOC
This commit adds a button at the top of the TOC
headings list called "Expand all". This will expand
all of the subheadings in the list for easier searching.
Clicking the button again will hide all the subheadings except
the currently active one.
2025-01-21 16:27:21 +10:00
Kelv 05d454d1db DEV: Update more deprecated Font Awesome icon names (#104)
* DEV: Update more deprecated Font Awesome icon names

* update bars-staggered
2024-12-08 22:12:39 +01:00
David Taylor 6fce990e0d DEV: Update linting (#102) 2024-11-20 18:36:46 +01:00
Kelv 062d4c2d12 DEV: Update linting setup (#99) 2024-10-17 11:05:26 +02:00
Sérgio Saquetim 8657f64cdc DEV: Update heading positions when navigating directly between topics (#92) 2024-08-14 11:52:43 -03:00
锦心 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
Jordan Vidrine 016cfcfd7a DEV: Update toc-timeline.gjs (#84)
Add class to body when d-toc is installed, even when it isnt rendered.
2024-04-23 11:54:56 -05:00
Jarek Radosz 17aa48f5c6 DEV: Update linting (#81) 2024-03-27 16:08:48 +01:00
Kris 104dce0440 UX: ignore trust level setting for staff accounts (#82) 2024-03-26 09:48:08 -04: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 fc53d7efa2 FIX: adjust mobile specificity (#71)
* FIX: adjust mobile specificity

* prettier
2023-12-12 09:48:17 +11:00
Kris 04acc4bb30 FIX: only add classes if TOC is present (#70) 2023-12-11 16:17:46 -05:00
Kris a089aa0289 FEATURE: Toggle between timeline and TOC (#68) 2023-12-11 12:53:17 -05:00
Jarek Radosz bab2e8f3b9 DEV: Update linting setup (#69) 2023-11-19 22:43:47 +01:00
Kris a807ff3546 Revert "FEATURE: Toggle between timeline and TOC (#64)" (#67)
This reverts commit 7c19d41864.
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
Alan Guo Xiang Tan f2f309b552 DEV: Switch to new addComposerToolbarPopupMenuOption plugin API (#65)
Why this change?

`api.addToolbarPopupMenuOptionsCallback` has been deprecated in https://github.com/discourse/discourse/commit/913fd3a7b392b492f6344102577960a6eada00ce
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
David Taylor 566d79fa39 FIX: Restore wrapper element for d-toc-mini (#60) 2023-10-04 12:45:22 +01:00
Alan Guo Xiang Tan 4ae24c6edc DEV: Convert connector file to use glimmer component (#59)
Why this change?

We've established internally that this is the better way to do things
2023-10-04 16:02:30 +08:00