151 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
Renato Atilio
f9563cc296
DEV: adjust tests to use d-menu toolbar options menu (#121) 2025-07-03 09:57:33 +10:00
dependabot[bot]
bedeb7bd50
bump rack from 3.1.15 to 3.1.16 (#120)
---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 02:05:07 +02:00
Jarek Radosz
13d02bf9d3
DEV: [gjs-codemod] Convert all templates to gjs (#119) 2025-05-29 20:05:58 +01:00
Joffrey JAFFEUX
8bd98f0288
DEV: uses correct selector (#117)
This is working with selenium, but this won't be working with playwright which is less permissive on selectors.
2025-04-25 11:31:09 +02:00
Loïc Guitaut
a2dbdcb442
DEV: Add system spec to check core features are working fine (#116) 2025-04-09 15:01:33 +02: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
Jarek Radosz
ee9cbef46f
DEV: Update license (#111) 2025-02-24 11:26:00 +08:00
Jarek Radosz
6a29ef570e
DEV: Update linting (#110) 2025-02-19 18:06:48 +01:00
dependabot[bot]
727bd982d5
Bump rack from 3.1.8 to 3.1.10 (#109)
Bumps [rack](https://github.com/rack/rack) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.8...v3.1.10)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 22:09:32 +01:00
David Taylor
7992a24596
DEV: Bump dependencies and fix linting (#108) 2025-02-06 18:00:07 +01:00
David Taylor
5a20266f52
DEV: Pin version for Discourse <3.5.0.beta1-dev (#107) 2025-02-05 19:29:48 +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
f1d183eaac
DEV: Update linting (#103) 2024-11-28 15:10:47 +01:00
David Taylor
6fce990e0d
DEV: Update linting (#102) 2024-11-20 18:36:46 +01:00
dependabot[bot]
cb57acc1ef
Bump cross-spawn from 7.0.3 to 7.0.6 (#101)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:59:49 +00:00
David Taylor
14a10605dc
DEV: Update eslint config (#100) 2024-11-19 11:33:33 +01:00
Kelv
062d4c2d12
DEV: Update linting setup (#99) 2024-10-17 11:05:26 +02:00
Kelv
c1201e0d1f
add ruby files to enable linting (#97) 2024-10-16 13:45:09 +08:00
Kelv
cacbacdb9f
DEV: Switch to use pnpm (#96) 2024-10-14 09:33:20 +02:00
Discourse Translator Bot
67de4bd6c2
Update translations (#94) 2024-09-02 18:00:05 +02:00
dependabot[bot]
4951306837
Bump micromatch from 4.0.5 to 4.0.8 (#95)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:42:01 +02:00
Sérgio Saquetim
8657f64cdc
DEV: Update heading positions when navigating directly between topics (#92) 2024-08-14 11:52:43 -03:00
Discourse Translator Bot
f2b78d45e8
Update translations (#93) 2024-08-14 08:10:40 +02: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
Natalie Tay
86b378d7ac
DEV: Pin theme for Discourse < 3.4.0.beta1-dev (#91) 2024-08-02 17:27:10 +08:00
dependabot[bot]
51f099289d
Bump braces from 3.0.2 to 3.0.3 (#89)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 11:02:15 +02:00
Discourse Translator Bot
97e1545cfb
Update translations (#88) 2024-06-11 17:20:34 +02:00
Discourse Translator Bot
701e890d09
Update translations (#87) 2024-06-04 21:43:59 +02:00
Discourse Translator Bot
7b309438fe
Update translations (#86) 2024-05-31 12:26:20 +02:00
Discourse Translator Bot
d21fdd0623
Update translations (#85) 2024-05-14 16:19:39 +02: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
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
104dce0440
UX: ignore trust level setting for staff accounts (#82) 2024-03-26 09:48:08 -04:00
Discourse Translator Bot
03dca85fc3
Update translations (#80) 2024-03-05 17:02:42 +01:00
Discourse Translator Bot
1e05432a22
DEV: Add Crowdin support (#79) 2024-02-28 15:17:06 +01:00
Kris
76af241de6
DEV: use more specific selector to avoid flaky test (#78) 2024-02-02 10:41:34 -05:00
Kris
efb445714c
DEV: update discourse-compatibility 2024-01-31 11:00:17 -05:00
Kris
826b5fb22a
REFACTOR: convert to ember component, add timeline toggle (#73) 2024-01-31 10:22:06 -05:00
Jarek Radosz
f8b8c2b765
DEV: Update linting (#75) 2024-01-16 17:41:09 +01: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