Skip to content

Inspector navigation fixes - #11

Merged
ArcturusEmrys merged 6 commits into
masterfrom
inspector-navigation
Sep 14, 2026
Merged

ArcturusEmrys merged 6 commits into
masterfrom
inspector-navigation

Conversation

@ArcturusEmrys

Copy link
Copy Markdown
Owner

Add a bunch of new navigation options in the inspector:

  • There's now a path bar and up button
  • Going to the JSON tab actually sends you to the JSON for the current resource

Additionally, this fixes a number of bugs with our back/forward implementation that were ultimately caused by reentrant event processing. That is, whenever we change tabs or select an item in response to an event, that in and of itself creates an event that we will wind up double-processing. I wound up having to introduce like three different event flags, one of which is... very colorfully named.

Things I would also like to do before merging this:

  • Going to the Resource tab sends you to the resource the JSON belongs to
  • Jump links from JSON keys to their object/array values

…source.

Also, because of this, I had to restructure all our event handling to prevent
reentrant event calls, because GTK loves reflecting events back at you.

Actually I'm pretty sure the code before this was just straight-up broken
anyway
Also prevent clicking on the same item from creating a new history entry.
@ArcturusEmrys
ArcturusEmrys merged commit ed56ca9 into master Sep 14, 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.

1 participant