joostdecock
c49a47a0de
chore: Fixing linter warnings
2023-05-19 16:31:28 +02:00
joostdecock
d77cf38637
fix(org): build issues for nextjs
2023-05-19 11:46:17 +02:00
joostdecock
7c8b59b781
chore(lab): Fixed issues with next build
2023-05-19 09:22:11 +02:00
joostdecock
ed1ac8a7a7
Merge branch 'develop' into joost
2023-05-16 08:49:35 +02:00
joostdecock
9cf7de9a0b
wip(shared): Work on MDX wrapper
2023-05-15 20:00:45 +02:00
joostdecock
0b238c989e
wip(shared): Switched to webpack loader for MDX
2023-05-15 15:57:46 +02:00
Joost De Cock
e47c18177b
wip(shared): Removed useApp hook in favor of contexts
...
This removes the useApp hook from all org pages in favor of various
context. This means there is no longer global state that gets passed
around, instead each component that requires access to something shared
(like account, or navigation) can just use the context instead.
This is a first step, as a lot of shared components stil rely on app not
to mention the dev and lab sites.
2023-04-28 21:23:06 +02:00
Enoch Riese
fcd60dcba7
use one example draft for all example tabs. fixes #3834
2023-04-24 00:15:05 -04:00
Joost De Cock
6503be60d8
chore: Prettier and eslint fighting again
2023-04-17 20:46:33 +02:00
Joost De Cock
a2350d1b65
chore(shared): Use chart var for mermaid
2023-04-17 20:10:40 +02:00
Joost De Cock
fb63593486
chore(shared): Removed debug line
2023-04-17 20:06:19 +02:00
Joost De Cock
7ef00b3222
chore(shared): Removed debug line
2023-04-17 20:05:11 +02:00
Joost De Cock
4cd2eff9a3
feat(shared): Add Mermaid support to MDX pipeline
...
At the request of @marpants this adds support for mermaid diagrams to
our shared MDX pipeline. Diagrams can be created by using a fenced code
block using the `mermaid` language.
I did not verify to what extend this bloats the bundle. Perhaps that's
something we need to look into later and consider the trade-off. For
now, my main concern is to keep a new contributor happy, so here it goes
:)
2023-04-17 19:58:33 +02:00
joostdecock
4edd657ebf
chore(markdown): Tweaks to org docs
2023-04-16 19:17:00 +02:00
joostdecock
c53abd0ec0
feat(shared): Updated PrevNext for new navigation
2023-04-16 18:39:11 +02:00
joostdecock
33c609c886
chore: Linter warnings
2023-04-16 17:13:18 +02:00
joostdecock
86a5a8765b
wip(org): Work on modal menus
2023-04-16 16:19:49 +02:00
joostdecock
ac2fe10294
Merge branch 'develop' into joost
2023-04-15 17:00:23 +02:00
Joost De Cock
244f4524c4
wip(dev): Refactoring navigation
2023-03-26 06:51:11 +02:00
Joost De Cock
7348f6812a
wip(shared): Work on refactoring hooks
2023-03-24 17:43:38 +01:00
Enoch Riese
4c7dedbcc1
fix (mdx examples) add part name so example will draft
2023-03-20 19:19:05 -05:00
Enoch Riese
b8ff4f0710
remove unused examples mdx component
2023-02-15 12:42:15 -06:00
Enoch Riese
9190fc1558
useCallback for all gist mutation methods so they can be called in useEffect
2023-02-14 09:54:25 -06:00
Enoch Riese
0a07ca8de0
some lint fixes from after the mjs overhaul
2023-02-13 16:44:12 -06:00
joostdecock
b80409dddf
chore: Fix extra comma
2023-02-07 19:56:20 +01:00
joostdecock
c8ce8030f4
fix(org): Build fixes
2023-02-05 16:49:36 +01:00
joostdecock
1bd908d2c0
chore: Linter warnings
2023-02-05 16:30:12 +01:00
joostdecock
595417a23b
feat(org): Ported components to mjs and named exports
2023-01-29 16:44:02 +01:00
joostdecock
37f7833983
feat(shared): Consolidate icons, simple spinner
2023-01-28 19:27:11 +01:00
joostdecock
ef56cda480
fix(org): Placeholder for MDX components
2023-01-27 21:35:45 +01:00
joostdecock
62b11529db
chore: Upgrade to nextjs 13 and react 18
2022-12-04 15:04:56 +01:00
joostdecock
aa5463301e
feat(shared): Updated MDX components
2022-11-19 18:11:04 +01:00
joostdecock
bd7c3e8b6e
wip(backend): concluded apikeys routes and docs
2022-11-06 20:16:01 +01:00
joostdecock
d563bb2d17
wip(backend): more work on routes and docs
2022-11-06 17:39:49 +01:00
Joost De Cock
a112865bec
chore(shared): Tweaks to prevnext component
2022-10-12 22:06:41 +02:00
Joost De Cock
1fae0bc3d8
feat(rehype-highlight-lines): Themeing and overflow fix
2022-10-12 18:34:34 +02:00
Joost De Cock
82abdf2901
feat(markdown): Handle final tutorial view with inline Example
2022-10-12 14:54:35 +02:00
Joost De Cock
728449c627
chore(shared): More tweaks to example(s) components
2022-10-12 00:16:36 +02:00
Joost De Cock
27ba759bcd
feat(shared): Support paperless in Example
2022-10-11 15:07:56 +02:00
Joost De Cock
b1e164353e
feat(shared): Updated to Example for tutorial
2022-10-10 04:51:21 +02:00
Joost De Cock
62c728f191
fix(shared): Add caption to examples
2022-10-09 23:48:30 +02:00
Joost De Cock
4ea391ba91
chore(shared): Cleaned up debug statements
2022-10-06 00:11:29 +02:00
Joost De Cock
e90212ca4d
feat(shared): Changes to highlight component
2022-10-05 15:25:24 +02:00
Joost De Cock
c442adc327
feat(shared): (re-)added mdx component for premade examples
2022-10-04 23:42:36 +02:00
Joost De Cock
0128192bc8
chore(shared): Moved Example mdx component out of folder
2022-10-04 23:41:35 +02:00
Joost De Cock
3dc5ce59a0
chore(shared): Use grid for prev-next
2022-10-04 19:25:57 +02:00
Joost De Cock
24b38c4ad3
chore(shared): Removed viz.js
2022-10-03 15:08:11 +02:00
Joost De Cock
ad87a6c7fd
chore(dev): Re-folded all docs into one page, dropped viz.js
...
Did some digging into why the page size had ballooned, and it turns out
it was due to viz.js taking up half the bundle size. So I've dropped the
Dot custom mdx component, and reverted to having all pages served from
one page using getStaticPaths.
Might optimize a bit more later, but for now page size first load JS
went from 816KB to 272KB so that's a big improvement.
2022-10-03 00:14:11 +02:00
Joost De Cock
403f0c45c2
chore(markdown): Work on macro reference docs
2022-09-30 01:45:37 +02:00
Joost De Cock
6c022f1fde
chore(shared): Tweaks to Dot component
2022-09-30 00:35:52 +02:00