Commit Graph

54 Commits

Author SHA1 Message Date
Misode
d0bae089d1 Improve homepage (#245)
* Improve how generators are listed on home

* Add some icons for generators

* Remove debug

* Refactor cachedFetch and use generated changelogs

* Add limit to how many changes are shown by default

* Add more generator icons

* Refactor cards

* Fix generator icons for light theme

* Add more worldgen icons

* Add remaining generator icons

* Refactor navigation and badges style

* Group on homepage for guides and tools

* Fix header button style

* Add versions and technical changelog to homepage

* Make it clear that not all changes could be documented
2022-07-01 23:48:38 +02:00
Misode
561cd341a1 Update to esm, update deepslate (#244) 2022-06-16 00:58:14 +02:00
Misode
90eac0f9b8 Project tree view and creation (#203)
* Implement creating and importing new projects

* Add downloading a zip of a project

* Project validation (WIP)

* Add project side panel, remove project pages

* Project file saving

* Add file tree actions to rename and delete

* Fix file creation auto focus

* Add button to save file from menu

* Add project creation

* Fix specificity on version switcher button

* Update default version to 1.19

* List project files by type, remember project and delete project
2022-06-14 16:48:55 +02:00
Misode
781d545962 Put tags and search of changelogs and versions in URL 2022-05-21 02:45:32 +02:00
Misode
2ebba08d4b Configurable biome colors in preview
- add Store context
- add useLocalStorage
- color utils
2022-05-14 19:39:48 +02:00
Misode
86cdde9d70 Add feature order cycle guide 2022-05-09 22:45:45 +02:00
Misode
a432479672 Refactor generator to prevent duplicate reloading 2022-05-08 16:24:39 +02:00
Misode
2772d967e0 Add useAsync hook 2022-05-08 05:29:16 +02:00
Misode
4e51d41c54 Refactor: create deepslate abstraction 2022-05-08 03:18:07 +02:00
Misode
bd5679f44a Update TS version and code-split deepslate 2022-05-07 00:40:16 +02:00
Misode
6f27465c78 Add guides (#224)
* Add guides

* Add versioning to guides

* Guides: special variables and nested expressions

* Add guides page to vite build

* Add search and hash hooks, guide tags and headings

* Improve guides list and filtering

* Add 1.19 download link
2022-05-06 06:37:27 +02:00
Misode
5d22048bc8 Fix #178 ability to restore last backup 2022-04-08 01:30:14 +02:00
Misode
1b91485bf1 Giscus (#209)
* Test giscus on homepage

* Use @giscus/react and support light theme

* Track prefers color scheme

* Create a discussion tab for each version
2022-03-16 02:39:33 +01:00
Misode
7ab0ec2e7e Expose error stack traces (#211) 2022-03-11 00:05:24 +01:00
Misode
c6c52ca41a Projects (#192)
* Add file save UI and drafts project

* Fix build

* Create SearchList component as abstraction

* Add project page and file tree view

* Create Locale context

* Create Theme context

* Create Version context

* Create Title context

* Create Project context

* Store current file in project context

* Fix issues when renaming file and implement deleting

* Style improvements

* Make all project strings translatable

* Fix z-index
2022-01-18 01:02:19 +01:00
Misode
e5d2c02fb3 Show nested feature decorators in a list (#173)
* Show nested feature decorators in a list

* Fix swapping decorator indices

* Move wrapper model creation to separate function

* Add setting string node on enter
2021-09-28 23:46:21 +02:00
Misode
3b80334e2e Support 1.18 (experimental) snapshots (#158)
* Half support 1.18-experimental-snapshot-1

* Fetch 1.18 presets and improve rendering of lists

* Noise preview with deepslate

* Biome preview with deepslate

* Generalize canvas logic in one hook

* Simplify useCanvas

* Use mcschema for 1.18

* Improve noise settings preview controls

* Fix build

* Update deepslate and improve preview caching

* Cleanup, remove old preview code

* Couple seed between model and preview

* Limit output to improve performance + copy feedback
For the vanilla overworld dimension (200K lines),
it took 2+ seconds to write the output to the textarea

Now capped at 10K chars

* Add surface_relative_threshold to decorator preview

* Improve fixed list errors
2021-09-23 03:04:52 +02:00
Misode
a685cfeb1b Re-add context menu 2021-09-10 00:46:34 +02:00
Misode
386eb675d6 Use preact to render the tree (#155)
* Use preact to render the tree

* More changes to renderHtml
2021-09-09 21:36:19 +02:00
Misode
09c851914f Switch to vite and preact 2021-06-26 17:18:02 +02:00
Misode
1f775c4dd2 Fully disable object flattening 2021-04-16 17:30:25 +02:00
Misode
38e7151f2b Temporarily disable flattening of objects 2021-04-15 19:12:18 +02:00
Misode
f543c4465c Upgrade mcschema core 2021-01-16 15:59:32 +01:00
Misode
8e7668b3b9 Don't flatten filtered objects 2021-01-16 14:05:00 +01:00
Misode
28909fe96c Slightly improve accessibility 2021-01-01 05:23:06 +01:00
Misode
e69559f975 Use Cache API instead of LocalStorage (#128)
* Use Cache API instead of LocalStorage

* Remove old cached data
2020-12-30 18:58:54 +01:00
Misode
f0a8d2fb20 Fix bug in walk hook 2020-12-29 02:15:36 +01:00
Misode
1a568be1e6 Hide empty Properties key 2020-12-29 01:18:52 +01:00
Misode
00d794a138 Flatten rendered nested objects 2020-12-29 00:58:41 +01:00
Misode
e2fb58a7c3 Render filter keys more compact 2020-12-28 22:57:18 +01:00
Misode
29c347a20b Add minimize tree toggle 2020-12-27 17:34:01 +01:00
Misode
a6b93f5118 Fetch dynamic registries 2020-12-27 03:50:16 +01:00
Misode
483ea9a234 Quick block state map fix 2020-12-20 05:23:54 +01:00
Misode
647a435930 Add cache format and render block state map 2020-12-20 05:02:11 +01:00
Misode
a52716a80a Validate block states 2020-12-20 04:25:50 +01:00
Misode
6246e627b5 Add context menu allowing you to copy context path 2020-12-19 03:24:15 +01:00
Misode
6a3c7aac42 Add field settings 2020-12-17 22:09:09 +01:00
Misode
88bf86de3c Add decorator preview 2020-12-06 02:34:34 +01:00
Misode
5806d26f42 Fix rounded corners before node icons 2020-12-05 17:37:12 +01:00
Misode
19265feb0c Remove tree view observer 2020-12-05 16:53:18 +01:00
Misode
59c143156f Merge mounter and view 2020-12-05 16:38:07 +01:00
Misode
53c2973c34 Add suffixInjector hook 2020-12-05 16:30:14 +01:00
Misode
35aefea261 Rename files part 2 2020-11-23 14:39:04 +01:00
Misode
3172557e3a Rename files part 1 2020-11-23 14:37:18 +01:00
Misode
982b4728e7 Complete refactor (#123) 2020-11-23 14:29:16 +01:00
Misode
dd3ac92c4e Upgrade mcschema 2020-11-12 18:15:50 +01:00
Misode
cbf6e7e4cf Actually change version schema 2020-11-09 13:03:50 +01:00
Misode
8d2bf43764 Render choice nodes as a dropdown 2020-11-08 12:54:34 +01:00
Misode
97302dbecf Upgrade @mcschema 2020-11-07 18:06:16 +01:00
Misode
f0cc6334bf Fix number node rendering 2020-11-07 12:29:47 +01:00