Skip to content

fix(servers): pin config-modal footer (#163) + silent Windows updates - #165

Merged
its-mash merged 2 commits into
mainfrom
fix/config-modal-footer-and-silent-update
Jun 15, 2026
Merged

fix(servers): pin config-modal footer (#163) + silent Windows updates#165
its-mash merged 2 commits into
mainfrom
fix/config-modal-footer-and-silent-update

Conversation

@its-mash

Copy link
Copy Markdown
Member

Two small, independent UX fixes.

1. Config modal — pinned Save/Cancel footer (closes #163)

The "Configure <server>" modal kept its header, inputs, and action buttons in one scrolling container, so on servers with long credential/args/env forms (e.g. Confluent) the Save / Cancel buttons scrolled below the fold.

Restructured the modal as a flex column: fixed header → scrollable inputs body (flex-1 overflow-y-auto) → pinned footer (border-top). Save/Cancel are now always visible regardless of form length. All data-testids preserved (E2E unaffected).

2. Silent Windows auto-update

Set plugins.updater.windows.installMode to "quiet" so updates apply with no installer window or progress dialog — the app downloads, swaps, and relaunches into the new version instead of flashing something that looks like a manual install.

  • "quiet" needs no elevation for our per-user (currentUser) NSIS install.
  • Install failures still reject through downloadAndInstall (launch flow logs them; the Settings checker surfaces them), so silent mode doesn't hide errors.
  • Swap to "passive" if you ever want a progress bar.

Validation

tsc --noEmit ✓, ESLint ✓ (0 errors), pre-commit hook (fmt + clippy + eslint + typecheck) ✓ on both commits. tauri.conf.json validated as JSON.

its-mash added 2 commits June 15, 2026 14:08
The "Configure <server>" modal kept its header, inputs, and action
buttons inside a single scrolling container, so on servers with long
credential/args/env forms the Save and Cancel buttons scrolled below the
fold and were easy to miss.

Restructure the modal as a flex column: fixed header, a scrollable body
for the inputs (flex-1 overflow-y-auto), and a pinned footer
(border-top) so Save/Cancel are always visible regardless of form
length. All data-testids preserved.

Closes #163

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
Set plugins.updater.windows.installMode to "quiet" so the auto-updater
applies updates with no installer window or progress dialog — the app
just downloads, swaps, and relaunches into the new version, rather than
flashing an installer that looks like a manual setup.

"quiet" needs no elevation for the per-user (currentUser) NSIS install we
ship, and install failures still reject through downloadAndInstall (the
launch flow logs them; the Settings checker surfaces them), so silent
mode doesn't hide errors. Switch to "passive" if a progress bar is ever
wanted.

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
@its-mash
its-mash merged commit 0ddbdb5 into main Jun 15, 2026
13 checks passed
@its-mash
its-mash deleted the fix/config-modal-footer-and-silent-update branch June 15, 2026 06:48
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.

On server input and enable, Save and close button should be visible always for better user experience

1 participant