Skip to content

Improve integrated account management and Windows behavior - #46

Closed
matheuscardosoj wants to merge 16 commits into
karem505:masterfrom
matheuscardosoj:codex/usabilidade-integrada
Closed

matheuscardosoj wants to merge 16 commits into
karem505:masterfrom
matheuscardosoj:codex/usabilidade-integrada

Conversation

@matheuscardosoj

Copy link
Copy Markdown
Contributor

Summary

This draft proposes the follow-up account/session and Windows usability work from codex/usabilidade-integrada.

  • Keep the selected account in the main window when a detached account window is closed; return the live WebView without recreating its session. Explicit “Reintegrar à janela” still activates the selected account.
  • Improve the integrated account/settings UI, account switching and window lifecycle, including handling empty/logged-out account states.
  • Continue the Windows notification, lock, startup visibility, UI recovery and installer fixes developed on this branch.

The regression test closes the detached native window through its close event and checks that the previously selected main account remains visible while the returned WebView retains its live JavaScript state.

Validation

  • Rust tests: 121 passed.
  • Native Windows WebView2 smoke checks: 49 passed, including closing_detached_window_preserves_main_account.
  • cargo clippy --all-targets -- -D warnings: passed.
  • cargo fmt --check and git diff --check: passed.
  • Windows NSIS installer 0.6.9-local.10 built successfully. The installed-app check with real user accounts is still pending.

Review notes

This is a draft because final confirmation with real WhatsApp accounts and windows is still needed. Existing PR #26 remains open as a separate draft; this branch descends from its work and the GitHub diff against master includes that ancestry. Please review the resulting scope together with the current upstream base before merging.

…ation-acl

# Conflicts:
#	settings-ui/index.html
#	settings-ui/style.css
#	src-tauri/capabilities/lock.json
#	src-tauri/capabilities/main-remote.json
#	src-tauri/capabilities/settings.json
#	src-tauri/resources/bridge.js
#	src-tauri/src/commands.rs
#	src-tauri/src/settings.rs
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