Commit Graph

105 Commits

Author SHA1 Message Date
Misode
77d6323219 Use spyglass DocAndNode to store current file data 2024-10-16 04:36:59 +02:00
Misode
7dbd533abb Add mcmeta-summary symbol registrar and initialize remaining 2024-10-15 23:25:56 +02:00
Misode
60aab0c6b9 Initialize spyglass project and load vanilla-mcdoc 2024-10-15 07:24:12 +02:00
Misode
ccdcf9e7e3 🔥 Nuke all mcschema related code 2024-10-15 05:14:02 +02:00
Misode
23ab957f62 Fix tree not refreshing when importing on mobile 2024-10-04 17:42:52 +02:00
Misode
f1b60b8b40 Add paste button on mobile + update copy icon (#610) 2024-10-04 17:40:02 +02:00
Misode
fab3088799 Close #537 implement alphabetical sort in output 2024-10-04 16:42:47 +02:00
Misode
fec84a03d2 Fix #540 by validating file names 2024-10-04 15:52:21 +02:00
Misode
5d08f15006 Fix #319 keep unknown files when importing and downloading a project 2024-10-04 15:30:35 +02:00
Misode
137c4816d6 Allow generators to be listed in two columns 2024-09-18 14:45:50 +02:00
Misode
c277880a01 Add snbt output format 2024-06-22 16:52:01 +02:00
Misode
44b97e357f 24w19a 2024-05-10 23:15:41 +02:00
Misode
c87ede8e54 Recipe preview 2024-03-25 21:57:47 +01:00
Misode
b1332d7d22 Fix #485 add scrollPastEnd 50% to output panel 2024-03-14 17:31:18 +01:00
Misode
f3b852025d Add Oh The Trees You'll Grow partner generator 2024-01-18 07:53:05 +01:00
Misode
b4e9d86c43 Refactor how partner generators work + prefix generator translation keys 2024-01-18 03:22:10 +01:00
Misode
886991af8e Customized biomes (#396)
* Start with customized biome UI

* Refactor customized page, split logic

* Implement biome replacements

* Remove debug messages

* Disable create button when nothing is modified
2023-12-06 20:40:30 +01:00
Misode
649f14dc0d Don't show all versions by default + version ranges 2023-12-05 19:28:35 +01:00
Flemmli97
33d90f9126 Allow creating new files (#437)
* allow creating new files

* icon and translation key fix

* Change how new file works

* Fix selected file in tree view

* Reword to "New empty file"

* Reword to "Save as"

---------

Co-authored-by: Flemmli97 <Flemmli97@users.noreply.github.com>
Co-authored-by: Misode <misoloo64@gmail.com>
2023-12-03 22:25:52 +01:00
Misode
fcffbc9712 Fix #443 Enable autofocus in generator lists 2023-11-29 22:29:23 +01:00
Misode
2416095e4f Add wiki link to all generators 2023-11-23 02:05:05 +01:00
Misode
ddd00dd731 Add version mcmeta diff page (#428)
* Add version mcmeta diff page

* Add toggle for word wrapping

* Fix diff view on mobile

* Use full layout width on version details

* Show image and audio diffs

* Add word_wrap locale
2023-10-09 22:09:36 +02:00
Misode
08581889d2 Add structure set preview 2023-06-23 00:36:36 +02:00
Misode
c363853624 Hide some versions on generator cards 2023-06-04 18:03:25 +02:00
Misode
251ddf3201 Add share loading symbol 2023-03-19 18:17:28 +01:00
Misode
2137b2fa8d Fix #272 split generator page 2023-02-27 09:12:42 +01:00
Misode
0a72ddd632 Add blockstate and model previews 2023-01-26 16:41:09 +01:00
Misode
00029a2010 Voxel rendering + refactor interactive canvas (#322)
* Add voxel rendering to density function preview

* InteractiveCanvas component

* Use interactive canvas for noise preview

* Use interactive canvas for noise settings preview

* Extract common iterateWorld2D logic

* Use InteractiveCanvas2D for biome source preview

* Display final density in noise settings preview hover

* Move remaining preview code

* Hide noise router info for checkerboard and fixed

* Add higher resolution biome map

* User interactive canvas for decorator preview
2023-01-26 01:21:02 +01:00
Misode
ac259bb83e Add loot table preview (#293)
* Initial loot table preview + item display counts

* Add loot functions without NBT

* Add loot conditions

* Render item tooltips with name and lore components

* Remove debug text component

* Disable advanced tooltips in the tree

* Minor style fixes

* Add item slot overlay and tweak tooltip offset

* Fix some items not rendering

* Translate item names and text components

* Translate params + more functions and tooltips

* Add durability bar

* Configurable stack mixing

* Correct tooltip background and border

* Add enchanting

* Enchantment glint

* Configurable luck, daytime and weather

* Improve tooltip spacing

* More tooltip spacing improvements

* Remove debug logging
2022-10-13 02:05:33 +02:00
Misode
12ad631056 Fix reusing result-list class 2022-07-02 14:04:09 +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
cdf3ede45b Add pack.mcmeta when downloading projects 2022-06-28 18:48:36 +02:00
Misode
c4afe7bf90 Download pack.mcmeta with correct file name 2022-06-26 05:40:50 +02:00
Misode
561cd341a1 Update to esm, update deepslate (#244) 2022-06-16 00:58:14 +02:00
Misode
cbef6ef41b Better handling of pack.mcmeta in projects 2022-06-14 17:27:59 +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
a432479672 Refactor generator to prevent duplicate reloading 2022-05-08 16:24:39 +02:00
Misode
1871b977fa Code-split comment-json 2022-05-07 01:11:39 +02:00
Misode
bd5679f44a Update TS version and code-split deepslate 2022-05-07 00:40:16 +02:00
Misode
bcb2ae3f85 Code-split brace 2022-05-06 18:03:52 +02:00
Misode
7ab0ec2e7e Expose error stack traces (#211) 2022-03-11 00:05:24 +01:00
Misode
b5ddb9666b Add toggle to disable brace editor 2022-02-26 22:00:45 +01:00
Misode
7806aa6ad6 Visualizations for 1.18.2 and density functions 2022-02-26 04:34:19 +01:00
Misode
554e2ee706 Fix ace editor tab size 2022-02-17 15:59:45 +01:00
Misode
f76ea7f4f4 Use ace editor and remove output limit 2022-02-17 15:50:49 +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
ffb2949f05 Add E2E tests using Cypress 2021-12-26 02:48:21 +01:00
Misode
872a03d44a Include version in renderHtml context 2021-11-21 03:56:03 +01:00
Misode
b15f187ccc Parse and stringify JSON with comments (#187) 2021-11-08 20:45:10 +01:00