feat: add full-width toggle to Settings view - #1505
Open
the-narwhal wants to merge 1 commit into
Open
Conversation
Add the form/full-width toggle button to the Settings page header, mirroring the existing behavior in CommonForm. Reads and persists the preference via `Misc.useFullWidth` so the state is shared across Settings, journal entries, and new entry forms.
the-narwhal
marked this pull request as ready for review
April 4, 2026 22:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add full-width toggle to Settings view
What
The Settings view was locked to the narrow form-width layout with no way to expand it. This adds the same maximize/minimize toggle button that already exists on journal entry and new entry forms.
How
useFullWidthboolean toSettings.vue's data, initialized from the persistedMisc.useFullWidthvalue in bothmountedandactivatedhooks.toggleWidthmethod that flips the value and persists it viafyo.singles.Misc?.setAndSync('useFullWidth', value).:use-full-width="useFullWidth"into<FormContainer>.<Button>with themaximize/minimizefeather icon to the#headerslot, to the left of the existing Save button.Why
Settings contains a large number of fields across multiple tabs. Full-width mode makes them significantly easier to scan and edit, especially on wider screens. The preference is stored in the shared
Misc.useFullWidthsingleton, so the chosen layout is respected consistently across all views that support it.Testing
Original Settings view without toggle in top right:

Setting view with toggle in Form width:

Setting view with toggle in Full width:
