Canapin
ea7f8791ab
UX: fix TOC header in composer preview ( #54 )
2023-03-11 11:23:42 +01:00
Penar Musaraj
5d69a72200
FIX: Compatibility with discourse-docs plugin ( #37 )
2022-05-09 14:09:59 -04:00
Penar Musaraj
da0f76b65c
FIX: Prevent jumping on scroll ( #33 )
...
We previously added a reset to the topic body to fix some wrapping
issues, but looks like a) the reset is no longer necessary and b) it
causes jumping on scroll. So let's remove it.
2022-03-09 18:24:11 +01:00
Penar Musaraj
098d05f3d5
UX: Hide TOC on mobile docs topics ( #32 )
2022-02-28 18:11:17 +01:00
Penar Musaraj
993303199b
UX: Fix layout issues in < 1035px wide windows (take 2) ( #31 )
2022-02-03 16:46:14 +01:00
Penar Musaraj
18793f633b
UX: Fix bug with desktop widths < 1045px ( #29 )
2022-01-31 16:18:11 +01:00
Penar Musaraj
2fd7d5107f
UX: Keep core's top margin for first item in OP ( #30 )
2022-01-31 16:17:58 +01:00
Penar Musaraj
cd8690ffa2
UX: Adjust spacing and max height for subsections ( #28 )
2022-01-28 23:42:33 +01:00
Penar Musaraj
7bf7b95901
DEV: A few more fixes ( #27 )
...
- fix `Ctrl` + clicking on other links in a page with DiscoTOC
- visually show third level in TOC
- fix overlapping levels for long TOCs
- remove support for h6 headings
2022-01-20 16:14:37 -05:00
Penar Musaraj
8c33f07dc5
FIX: Switch to a two-level sidebar list ( #25 )
2022-01-19 17:17:30 -05:00
Penar Musaraj
0bc2aa28a3
FIX: Restore support for docs plugin ( #24 )
2022-01-19 12:50:45 -05:00
Penar Musaraj
e044017955
UX: A couple of small fixes ( #21 )
2022-01-18 11:36:40 -05:00
Penar Musaraj
20366c671d
REFACTOR: General component overhaul ( #19 )
2022-01-18 09:18:21 -05:00
Jordan Vidrine
5b2f5a455e
UX: Sidebar fixes ( #18 )
2022-01-05 10:40:18 -06:00
Jordan Vidrine
d72dc3306b
UX: Adjustments for chat ( #16 )
2021-12-30 10:35:15 -06:00
Jordan Vidrine
98c05eabfb
UX: Sidebar + Chat fixes ( #15 )
2021-12-30 10:27:46 -06:00
Robin Ward
5b051e183a
FIX: Deprecated `modfiyClass` ( #14 )
2021-09-03 14:18:27 -04:00
Bianca Nenciu
113d3a8612
FIX: Remove anchor generated by theme component ( #13 )
...
Core adds anchors to all headings.
2021-07-29 17:06:31 +03:00
Joe
c64a82b4b8
Change the icon for post-bottom button ( #12 )
2021-05-11 01:08:28 +08:00
Joe
fcc2d0698b
FIX: add post controls icon to mobile ( #11 )
2021-05-10 23:36:56 +08:00
Joe
268ef4cb8f
Update common.scss
2021-05-10 22:02:45 +08:00
Joe
b8b9b4bd9e
FEATURE: add button to navigate to TOC post controls ( #10 )
2021-05-10 21:03:22 +08:00
Joe
ee0d7478fd
code formatting ( #9 )
...
No changes in this commit besides formatting
2021-05-10 20:51:09 +08:00
awesomerobot
fb392bd536
UX: long sidebar items forces topic to wrap, pin previous versions
2020-10-27 13:46:57 -04:00
Penar Musaraj
68d40fe9f5
Add dark mode support
2020-08-25 11:58:15 -04:00
Joe
0522002195
FIX: check for all parents when hiding sections
2020-06-04 07:39:23 +08:00
Joe
217035ced2
DEV: Don't strip numbers in headings
2020-05-28 01:22:45 +08:00
Penar Musaraj
96964d690b
UX: Fix mobile toggle positioning in iOS app
2020-05-07 19:35:12 -04:00
Joe
34fd9dff66
DEV: Remove safari hacks ( #6 )
2019-11-27 03:32:57 +08:00
Justin DiRose
13dfd68bc9
DEV: Remove unused computed declaration
2019-11-07 16:26:14 -06:00
Joffrey JAFFEUX
237dc05b43
DEV: adds decorateCooked id to prevent leaks
2019-06-24 12:28:53 +02:00
Joffrey JAFFEUX
e22540ad73
FIX: prevents crash if composer trasnlation is not defined ( #5 )
2019-05-20 17:06:22 +02:00
Joe
0bbfa7b028
DEV: Escape $ in regex
2019-04-19 20:18:56 +08:00
Joe
80c1f17f6a
FEATURE: support non-Latin characters ( #4 )
2019-04-19 03:58:36 -07:00
Joe
4f25b2d213
DEV: the afterRender queue is too late
...
Since the component adds dynamic id attributes to headings that don't have ids, we need to do things a bit sooner otherwise external linking to an anchor of a heading with dynamic id will not work.
2019-04-17 06:50:08 +08:00
Joe
34a7c13a6b
UX: transition timeline opacity
2019-04-15 05:30:59 +08:00
Joe
1ee43956c2
DiscoTOC v0.2
2019-04-14 13:47:22 -07:00
Joe
94cb1f1a4b
UX: negate heading buffer clicks
2019-04-13 04:06:42 +08:00
Joe
ae6db1d997
FIX: composer TOC button has inverted logic
...
This changed recently in core.
2019-04-12 16:29:32 +08:00
Joffrey JAFFEUX
2a7e35896c
revert to use sync
...
TODO: this is deprecated and should be updated using next was causing timeline to show on first load.
2019-04-05 17:58:49 +02:00
Joffrey JAFFEUX
6b243c1179
FIX: uses run.next()
2019-04-04 14:03:04 +02:00
Joffrey JAFFEUX
a5ec5a1e8e
FIX: sync is deprecated
2019-04-04 09:58:35 +02:00
Joe
cd21d0bdfd
only target toc topics
2019-03-09 14:04:05 +08:00
Joe
dacb213a36
use edit-title class for first post edits
2019-03-09 12:48:38 +08:00
Joe
5bd18d9114
there's no ltr class
2019-03-09 11:05:58 +08:00
Joe
e3128161ae
RTL style tweaks
2019-03-09 11:01:21 +08:00
Joe
43402b506f
adds RTL support
2019-03-09 10:54:08 +08:00
Joe
1660dabc91
code formatting
2019-03-09 10:35:26 +08:00
Joe
6133da21d4
only create toc for topics ignore replies
2019-03-09 10:34:30 +08:00
Joe
82915d7ff0
only create toc for topics ignore replies
2019-03-09 10:33:58 +08:00