Skip to content

refactor(config): show a user-facing error screen when missing#380

Merged
MattSturgeon merged 1 commit into
MinecraftFreecam:stonecutterfrom
MattSturgeon:fallback-gui
Mar 31, 2026
Merged

refactor(config): show a user-facing error screen when missing#380
MattSturgeon merged 1 commit into
MinecraftFreecam:stonecutterfrom
MattSturgeon:fallback-gui

Conversation

@MattSturgeon

@MattSturgeon MattSturgeon commented Mar 29, 2026

Copy link
Copy Markdown
Member

Rather than skipping config screen registration when no provider is available, show a fallback screen with a user-facing error message.

This simplifies code, because we don't need to handle Optional presence.
This provides a better user experience, because they see that Freecam can support configs, but currently does not.

We could combine both systems; skip registering config support when no providers are loaded but show a fallback screen when some are loaded but none are "available" (have their dependencies loaded). This is the worst of both worlds in terms of complexity, though.

image

Feature creep

Moved to #384

@MattSturgeon
MattSturgeon merged commit db8b40c into MinecraftFreecam:stonecutter Mar 31, 2026
9 checks passed
@MattSturgeon
MattSturgeon deleted the fallback-gui branch March 31, 2026 01:45
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.

2 participants