- Notifications
You must be signed in to change notification settings - Fork5
feat: add stubbed file sync UI#116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ethanndickson commentedMar 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
43498ed toe25df16Comparedeansheather commentedMar 20, 2025
How come is there a dot on the menu to open the file sync list? |
ethanndickson commentedMar 20, 2025
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
deansheather commentedMar 20, 2025
Oh... it's kinda weird to have a green dot as if it's a workspace. I'll ping Rachel about the design I guess |
64c54d6 to0451742Compare5fca50f tofceb8a5Comparefceb8a5 to380047cCompare66a1c04 to4fb7970Compare227d056 to93a8e1cCompare| } | ||
| } | ||
| )){ | ||
| Button("OK", role:.cancel){}.keyboardShortcut(.defaultAction) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I discovered this was unnecessary and removed it everywhere. AnOK button always appears on alerts, and it always gets selected by pressing enter.
9f92961 to82cc4baCompareUh oh!
There was an error while loading.Please reload this page.
Coder-Desktop/Coder-Desktop/Views/FileSync/FileSyncSessionModal.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
82cc4ba to0fcce8aCompare0fcce8a toda2fb7cCompareethanndickson commentedMar 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
f0cf155 intomainUh oh!
There was an error while loading.Please reload this page.


Uh oh!
There was an error while loading.Please reload this page.
Closes#66
Relates to#63
The UI differs a fair bit from the wireframes & figma designs in the interest of being able to use the stock SwiftUI Table view. The biggest difference is that a modal is used to insert new file syncs, as opposed to creating them inline. This was done as it's a lot harder to do that within a SwiftUI table. This design is also consistent with tables used in Apple's own settings pages, and the HTTP header table in app settings.
Screen.Recording.2025-03-20.at.1.55.34.pm.mov
The UI is mostly non-functional, it still needs to be wired up over gRPC, including conversions from Mutagen data types.
As a result, the file sync button on the menu will not appear unless the file sync feature flag is enabled in settings.
Right now, the workspace dropdown menu is populated from the online agents (any row with a coloured dot on the menubar menu)
There's no tests for this since ViewInspector still does not support Tables.