1
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
joostdecock
a954695b3f fix(shared): Fix issue in ReadMore component 2024-05-04 17:44:11 +02:00
joostdecock
5ce91673b7 fix(shared): Apply sitenav filters to ReadMore MDX component
A while ago, I rewrote the sitenav component to *just* use the ReadMore
MDX component to generate the navigation tree.

However, sitenav have certain keys that you can set to control the
visibility of hte item to the user, and those filters were not added
to the ReadMore component, thus showing navigation items that should
have been hidden.
2024-04-27 16:43:59 +02:00
joostdecock
38d48690ad chore: Linter warnings 2024-03-23 17:14:57 +01:00
joostdecock
81831f1dc4 chore(shared): Tweaks to navlinks and allow wide reading view
Having build a documentation system at my job as well as the frontend
for it, it was rather surprised that a surprisingly large proportion of
my colleagues complained that the text was 'too narrow'.

When reading documentation, the horizontal space is constrained to limit
the amount of characters on a line. Long lines make for very hard to
read text, because each time your eyes dart back from the end of the
line to the beginning of the next line, it becomes harder to stay
vertically anchored on the correct line.

It's best practice to limit the line length like this, and so I've
always been doing it. However, after someone at work asked, I added a
toggle to allow the text to fill the available space.

Much to my surprise, this was hailed like some sort of significant
improvement. I still don't think it makes sense, but I've added a
similar checkbox to the docs pages of both dev and org sites anyway.
2024-03-23 17:05:30 +01:00
Joost De Cock
f0ced8cb34 chore(shared): Tweaks to sitenav 2023-10-14 12:58:42 +02:00
Joost De Cock
dd13c15195 chore(shared): Use ReadMore for navlinks 2023-10-12 11:30:52 +02:00
joostdecock
8edf9cff94 chore: Fixed linter issues 2023-07-21 10:27:15 +02:00
Joost De Cock
78fa37869e chore(shared/dev): Remove use-navigation hook 2023-07-20 08:42:56 +02:00
Enoch Riese
8a4c558cee more contained fixes to docs 2023-07-17 11:40:45 -05:00
joostdecock
74bd55a715 chore(shared): Export getRoot from ReadMore component 2023-07-15 10:40:46 +02:00
Joost De Cock
99d2fc51aa fix: Linter warnings 2023-07-14 10:54:20 +02:00
joostdecock
0a8dd5f111 feat(dev/shared): Ported PrevNext component to new nav structure 2023-07-14 09:23:37 +02:00
joostdecock
0ec14528e0 feat: improve sitemap including on mobile 2023-07-13 19:58:42 +02:00
Joost De Cock
43c6827c18 wip: Work on sitemap 2023-07-13 18:18:07 +02:00
Joost De Cock
2259427fa9 fix(shared): Bring back level support in ReadMore 2023-07-12 17:52:24 +02:00
Joost De Cock
2ba63f0a4e chore: Remove unused code from ReadMore component 2023-07-12 12:32:46 +02:00
Joost De Cock
67817834bc fix(shared): Make ReadMore component lean 2023-07-11 21:01:34 +02:00
Enoch Riese
aee2491bdf add blog and showcase pages to the nav prebuild 2023-07-03 13:28:41 -05:00
joostdecock
fc5f037745 fix(shared): Fixed ReadMore component to new useNavigation 2023-06-16 19:06:34 +02:00
Joost De Cock
a7193c6a24 fix(dev): Tweaks for mobile 2023-05-22 20:08:57 +02:00
Joost De Cock
ce8f0b22a4 fix(shared): Issue with ReadMore component 2023-05-22 19:53:40 +02:00
Joost De Cock
dd82285eee fix(shared): Bug in ReadMore component 2023-05-22 17:05:59 +02:00
joostdecock
0a4a43ee58 fix(shared): Fix ReadMore component 2023-05-21 10:42:06 +02:00
joostdecock
b302e9cefc fix(shared): Styling issue in ReadMore MDX component 2023-05-21 10:11:40 +02:00
joostdecock
ea8d540305 feat(org): Added sitemap 2023-05-21 09:58:59 +02:00
joostdecock
8dff0b8f1b chore(dev): Changed to prebuild and ReadMore 2023-05-21 09:41:20 +02:00
joostdecock
9cf7de9a0b wip(shared): Work on MDX wrapper 2023-05-15 20:00:45 +02:00
joostdecock
4edd657ebf chore(markdown): Tweaks to org docs 2023-04-16 19:17:00 +02:00
joostdecock
86a5a8765b wip(org): Work on modal menus 2023-04-16 16:19:49 +02:00
Joost De Cock
7348f6812a wip(shared): Work on refactoring hooks 2023-03-24 17:43:38 +01:00
joostdecock
595417a23b feat(org): Ported components to mjs and named exports 2023-01-29 16:44:02 +01:00
Renamed from sites/shared/components/mdx/read-more.js (Browse further)