Commit Graph

50 Commits

Author SHA1 Message Date
Misode
27e5ea707b Configure dark mode with tailwind 2023-10-10 10:52:14 +02:00
Misode
f71e44f91b Add Tailwind CSS (#425)
* Install and configure tailwind

* Fix style issues
2023-10-02 23:38:18 +02: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
86687ea6b9 Improve item display (#283)
* Refactor item display to separate component

* Load assets and render item models

* Cache rendered items
2022-10-04 19:15:28 +02:00
Misode
986cca9191 Show item textures for loot table entries 2022-06-01 03:06:49 +02:00
Misode
43d1b7dbcc Add follow reference button for vanilla presets 2021-11-21 03:49:46 +01:00
Misode
c5649799cc Fix #179 select closes immediately when unfocused 2021-10-09 00:55:51 +02:00
Misode
c51acd34e7 Add duplicate list item action 2021-09-29 01:02:24 +02: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
2cb14a2c10 Add tooltips to all buttons and tweak hover colors 2021-09-25 07:10:54 +02:00
Misode
7db47938b8 Make list and map entries collapsible (#169)
* Make list entries collapsible

* Show errors in collapsed nodes and keep context of loot type

* Make map entries collapsible

* Add collapse-all functionality
2021-09-24 22:12:33 +02:00
Misode
0842eb8741 Simplify DOM by removing node-entry 2021-09-23 15:04:24 +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
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
93607a0540 Add multiline and resizable NBT input fields 2021-07-07 17:44:08 +02:00
Misode
b43a151d17 Add buttons to move element order in a list 2021-07-03 01:12:54 +02:00
Misode
09c851914f Switch to vite and preact 2021-06-26 17:18:02 +02:00
Misode
99d64590a0 Mobile UI and UX improvements 2020-12-29 15:11:03 +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
6246e627b5 Add context menu allowing you to copy context path 2020-12-19 03:24:15 +01:00
Misode
5806d26f42 Fix rounded corners before node icons 2020-12-05 17:37:12 +01:00
Misode
982b4728e7 Complete refactor (#123) 2020-11-23 14:29:16 +01:00
Misode
009e487def Minor style fixes to collapse buttons 2020-11-07 16:38:07 +01:00
Misode
9f9c9b40fd Upgrade mschema dependencies and add pool category 2020-10-05 15:51:31 +02:00
Misode
629c747a10 Add min-width node entry box 2020-10-05 00:33:00 +02:00
Misode
f7869edbad Style tweaks based on feedback 2020-10-05 00:23:43 +02:00
Misode
75d834f06b Style fixes 2020-08-25 16:44:10 +02:00
Misode
fd2cdb6045 Render color input type 2020-08-21 00:54:52 +02:00
Misode
37689c4374 Update mcschema 2020-08-17 19:54:44 +02:00
Misode
62ad46fd95 Remove version controls 2020-08-10 13:03:08 +02:00
Misode
0ffe97dda5 Add visualizer view 2020-08-06 23:35:50 +02:00
Misode
78daf24e9e Minor style fixes with popups 2020-08-06 14:14:59 +02:00
Misode
84096187e7 Add help and error popups 2020-08-04 22:21:43 +02:00
Misode
eab5d8a08c Prevent node headers wrapping 2020-07-20 05:28:36 +02:00
Misode
7416e21c5d Minor style fixes 2020-07-07 02:20:30 +02:00
Misode
9633d15948 Add language support 2020-06-25 00:57:13 +02:00
Misode
3d63b74ac5 Update minecraft-schemas to v0.2.3 2020-06-19 18:52:55 +02:00
Misode
d4b0e77957 Add tree controls 2020-06-17 22:22:59 +02:00
Misode
13b21d3b72 Update minecraft-schemas to v0.2.0 2020-06-17 20:34:17 +02:00
Misode
8b42a59b12 Use css variables for colors 2020-06-17 00:00:13 +02:00
Misode
8cbb5fc776 Show validation errors 2020-06-16 15:37:01 +02:00
Misode
d1bf51409a Add dimension schemas 2020-06-07 21:55:33 +02:00
Misode
ad25676276 Minor style issue 2020-06-07 02:13:43 +02:00
Misode
e13a0d9141 Improve styling 2020-06-07 02:00:01 +02:00
Misode
f650f9a592 Add color transition 2020-06-06 21:56:02 +02:00
Misode
5f17dcdce0 Add dark mode 2020-06-06 21:34:36 +02:00
Misode
f6395306cd Style tree view 2020-06-06 18:49:50 +02:00
Misode
cf46776890 Header layout and options 2020-06-05 19:19:31 +02:00
Misode
65eac13082 Use html plugin + handle URLs 2020-06-03 21:39:15 +02:00