Skip to content

Inventory View System#646

Merged
Swofty-Developments merged 44 commits intoSwofty-Developments:masterfrom
ArikSquad:feat/inventory-v2
Jan 18, 2026
Merged

Inventory View System#646
Swofty-Developments merged 44 commits intoSwofty-Developments:masterfrom
ArikSquad:feat/inventory-v2

Conversation

@ArikSquad
Copy link
Copy Markdown
Contributor

@ArikSquad ArikSquad commented Jan 7, 2026

This pull request introduces a new, modular GUI framework for the project for stateful, interactive inventory views. It's built in the modern "React" component kind of way, where things are updated when needed. It also includes a powerful ViewNavigator that includes #push and #pop for navigation between pages. These allow for dynamic back button lore, and fluent navigation between views.

Currently includes a command /debugview to see multipled test GUIs built with the system.

This PR solves issues with the previous system where sometimes items are missing from the GUI which causes unreliability.

This is system will not completely replace the old GUI system immediately, as there's a lot of GUIs that would have to be migrated. It would be a thing that happens slowly. Also the structure of this system will most likely change a lot until Swofty agrees with it.

Closes #659

Current State of the PR

  • Per-player views
  • Shared views
  • Container/Editable views
  • Navigator
  • Port sbmenu package to use this system
  • Shop views

@aunncodes
Copy link
Copy Markdown
Contributor

fixes #659

@ArikSquad ArikSquad marked this pull request as ready for review January 14, 2026 16:58
@Swofty-Developments
Copy link
Copy Markdown
Owner

Where are the events for this GUI system?

@ArikSquad
Copy link
Copy Markdown
Contributor Author

Where are the events for this GUI system?

ViewSession

@Swofty-Developments Swofty-Developments merged commit 5ee578d into Swofty-Developments:master Jan 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] clicking the previous page button in the itemlist gui doesnt work

3 participants