Commit Graph
45 Commits
Author SHA1 Message Date
Kris 5a15b94564 DEV: replaced deprecated compact() (#130) 2025-11-04 13:47:28 -05:00
Jarek Radosz c432934a2b DEV: Update linting (#127) 2025-10-09 13:56:19 +01:00
Jarek Radosz 13d02bf9d3 DEV: [gjs-codemod] Convert all templates to gjs (#119) 2025-05-29 20:05:58 +01: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
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
David Taylor 165cfa13f3 DEV: Update eslint-config-discourse, use prettier for hbs (#49) 2023-01-04 13:41:09 +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
Jordan Vidrine d6b02afbc2 FIX: Add # to empty hrefs (#43) 2022-09-29 12:53:12 -05:00