Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to mcdoc #614

Merged
merged 122 commits into from
Nov 27, 2024
Merged

Switch to mcdoc #614

merged 122 commits into from
Nov 27, 2024

Conversation

misode
Copy link
Owner

@misode misode commented Oct 15, 2024

Changes

  • All validation is now handled by Spyglass and mcdoc
  • Unsaved files are now always re-opened after closing the tab
  • The project side panel is now resizable
  • Unknown files in a project are now shown in the sidebar
  • Added a loading indicator

Fixed issues

Todo

  • Implement any/unsafe types
  • Handle more complex union types
  • Fix issue when typing quotes inside string values (set valueMap)
  • Improve formatting for PascalCase identifiers
  • Render short fixed lists of numbers on a single line
  • Implement collapsible list items
  • Hide list items of very long lists
  • Ability to duplicate nodes
  • Create mcdoc definitions for the modded generators
  • Set default of initial file
  • Add block properties validation
  • Improve switching between union members
  • Implement renaming project files
  • Refresh project tree view when files change
  • Handle structs with multiple dynamic fields better
  • Some large collapsible objects (surface rules)
  • Show loading indicator while spyglass is initializing
  • Handler spyglass initialization errors
  • Datafix projects in localstorage to IndexedDB
  • Remove dependency files when switching back
  • Move resource pack stuff to assets folder

Maybe

  • Use IndexedDB as file system
  • Show unknown keys with warnings
  • Make project panel resizable
  • Render doc comments as markdown
  • Remove unknown keys when editing field
  • Set defaults of new required keys when editing field
  • Flatten some fields
  • Ability to see type identifiers
  • Add alternative renderer for structs with many optional fields
  • Show indicator when backup was loaded and prompt to reset
  • Investigate if there is a memory leak when switching versions
  • Support selecting files without a generator
  • Optimize tree view through either memoization or virtual scrolling

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
misode ✅ Ready (Inspect) Visit Preview Nov 27, 2024 5:01am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment