Repository navigation
feat: [CONNECT] Connect dialog with local IP addresses and QR codes - #707
Merged
Merged
Conversation
added 3 commits
October 28, 2026 17:34
…group, QR shown directly
…t, add a border to the dialog
florent37
marked this pull request as draft
October 28, 2026 16:51
florent37
marked this pull request as ready for review
October 28, 2026 17:05
florent37
enabled auto-merge (squash)
October 28, 2026 17:05
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.
Description
Adds a Connect button (QR icon) in the desktop top bar, next to "open flocon folder". It opens a dialog that lists the IPv4 addresses of the computer on the local network (one row per interface, loopback and link-local filtered out). Each row has a button that shows the address as a QR code, so devices can connect by scanning it. The QR contains only the IP, the same value as
Flocon.connect("192.168.1.20"). Scanning from the SDK comes later.GetLocalAddressesUseCase(filter/sort, unit tested), JVMNetworkInterfacerepository indata:remote(expect/actual),ConnectViewModel+ConnectDialog, QR drawn withcom.google.zxing:core, EN/FR strings.docs/setup.md.Checked locally:
:domain:desktopTest,:composeApp:compileKotlinDesktop,ktlintFormat. Not checked: running the app to scan a QR visually,mkdocs build --strict./gemini review