Commit Graph

170 Commits

Author SHA1 Message Date
Misode
e9f16aa3f7 Add literal and tuple types + improve struct and list default 2024-10-24 03:31:34 +02:00
Misode
039910e43e Handle unions matching multiple members 2024-10-24 02:29:38 +02:00
Misode
22409f62ce Add string datalist completions 2024-10-24 02:09:17 +02:00
Misode
d9a1d4c41a Implement enums and unions 2024-10-24 01:21:53 +02:00
Misode
6c214d4e3a Simplify mcdoc fields when rendering 2024-10-24 00:34:32 +02:00
Misode
6e68de01aa Refactor makeEdit so it returns the result node 2024-10-23 21:41:12 +02:00
Misode
6151fbcea4 List add button 2024-10-23 20:14:10 +02:00
Misode
6ea2b7929c Add string, numeric and boolean editing 2024-10-23 18:46:21 +02:00
Misode
18332b9dbc Make edits to AST and then use formatter 2024-10-23 06:10:14 +02:00
Misode
a0f3e71000 Refactor spyglass service and context 2024-10-23 05:44:20 +02:00
Misode
c358c871da Implement undo and redo 2024-10-22 22:55:04 +02:00
Misode
ea37eb168f Keep track of opened documents and prepare for undo/redo 2024-10-22 15:43:02 +02:00
Misode
9cb7f7297c Make Spyglass a singleton object 2024-10-20 20:23:17 +02:00
Misode
d248732469 Basic mcdoc tree rendering 2024-10-17 15:14:30 +02:00
Misode
7ed34a61e7 Add spyglass context and file watcher 2024-10-16 15:46:17 +02:00
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