Commit Graph

49 Commits

Author SHA1 Message Date
Misode
2137b2fa8d Fix #272 split generator page 2023-02-27 09:12:42 +01:00
Misode
3e8bc21a1e Remember preview panel open state 2022-10-15 07:03:51 +02:00
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
9cb323e80c Store project panel open state 2022-06-14 16:56:03 +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
f944f4b617 Make version switcher more obvious 2022-06-12 20:52:17 +02:00
Misode
4379cb9bba Add footer with donate link 2022-06-06 03:32:59 +02:00
Misode
114164c740 Add partners, Immersive Weathering block growth (#231)
* Add partners: Immersive Weathering block growth

* Fix block state and modded block IDs

* Add categories

* Add custom rule tests

* Add missing translation
2022-05-14 02:41:01 +02:00
Misode
af31f5cfbd Better custom dimension tracking 2022-05-09 03:50:29 +02:00
Misode
9e12bbf558 Fix history index tracking 2022-05-09 03:16:15 +02:00
Misode
2593172855 Some dimensions were not set on page load 2022-05-09 02:38:39 +02:00
Misode
e63b4839dc Add GA4 events 2022-05-09 02:20:56 +02:00
Misode
a432479672 Refactor generator to prevent duplicate reloading 2022-05-08 16:24:39 +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
84ca07d859 Clear share ID when changing version 2022-03-19 21:48:08 +01:00
Misode
68f525d702 Share if preview is shown 2022-03-19 21:37:03 +01:00
Misode
a5a08fc935 Implement link sharing (#213)
* Implement link sharing

* Share default

* Compress and base64 encode data

* Better error messages

* Fix build

* Only change version when it's different
2022-03-19 19:26:39 +01:00
Misode
7ab0ec2e7e Expose error stack traces (#211) 2022-03-11 00:05:24 +01:00
Misode
1812d5d2a6 1.18.2-pre1 2022-02-18 22:54:00 +01:00
Misode
e6c0fb7fd9 Fix sharing presets 2022-02-14 04:09:05 +01:00
Misode
05d364dab6 22w06a + fix #148 + fix #151 2022-02-10 05:22:39 +01:00
Misode
2fe120895c Fix #196 Reimplement placed feature preview 2022-01-18 23:41:11 +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
136e0b8178 Fix #163 Hide source when preview is toggled 2021-12-26 03:02:22 +01:00
Misode
ffb2949f05 Add E2E tests using Cypress 2021-12-26 02:48:21 +01:00
Misode
9f42ae58a2 Improve message for generator with a maxVersion 2021-12-01 00:17:22 +01:00
Misode
df06d13ca7 Fix preset not reloading in some cases 2021-11-21 04:05:25 +01:00
Misode
43d1b7dbcc Add follow reference button for vanilla presets 2021-11-21 03:49:46 +01:00
Misode
08e5b36a62 Sync search parameters for presets 2021-11-21 03:19:11 +01:00
Misode
95097e6091 Move more stuff to services folder 2021-11-03 01:27:49 +01:00
Misode
bb1223df60 Track generator ID in custom dimension
Preparing to add back search parameters to share links
2021-10-30 17:34:54 +02:00
Misode
ed0b415af5 21w41a 2021-10-14 00:18:58 +02:00
Misode
79b3291d06 Add sounds explorer tool 2021-10-08 02:34:55 +02:00
Misode
c7d5b06825 Add sitemap to build 2021-10-04 17:43:46 +02:00
Misode
2cb14a2c10 Add tooltips to all buttons and tweak hover colors 2021-09-25 07:10:54 +02:00
Misode
6e4850d5a9 Memoize list entries and wrap model data 2021-09-24 03:47:15 +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
9671f304f7 Fix error when switching generators with previews 2021-09-10 23:58:18 +02:00
Misode
40fe1c5336 Show error when importing invalid json 2021-08-05 00:12:30 +02:00
Misode
da33cc2832 Fix #162 Add better error message for wrong version 2021-08-04 23:07:50 +02:00
Misode
7c266ca945 Add generator quick switcher 2021-07-02 04:38:02 +02:00
Misode
985057ab4e Allow multiple errors and dismissing errors 2021-07-02 02:59:19 +02:00
Misode
f43cb03cc3 Make generator config more robust 2021-07-02 02:36:01 +02:00
Misode
373698ebbc Improve rendering and validating block states 2021-06-26 17:18:02 +02:00
Misode
14da8ba575 Select preset input when opening 2021-06-26 17:18:02 +02:00
Misode
ac10c3f541 Fix some errors and make others visible 2021-06-26 17:18:02 +02:00
Misode
09c851914f Switch to vite and preact 2021-06-26 17:18:02 +02:00