Bruno Pantaleão Gonçalves
be398e866c
Revert watch changes for watchOS 26 and adapt notifications and UI in a different way ( #3881 )
2025-10-07 00:03:22 +02:00
Bruno Pantaleão Gonçalves
01246de427
Migrate watch notification storyboard interfaces to SwiftUI ( #3844 )
2025-09-22 23:12:46 -03:00
mat1th
97834bfd5e
Update swift lint and format + appy fixes ( #2585 )
...
## Summary
Swift lint and swiftformat are outdated. This PR does update those +
applies the new formatting form swiftformat.
There is 1 swift file with a manual change:
`Sources/Vehicle/Templates/Areas/CarPlayAreasViewModel.swift`. This is
done because `swiftlint` did create the following swiftlint error:
`error: Cyclomatic Complexity Violation: Function should have complexity
10 or less; currently complexity is 11 (cyclomatic_complexity)`.
Because it does change a lot of files the question is if we want to
finetune the `swiftformat` rules.
## Screenshots
No user facing changes.
## Link to pull request in Documentation repository
NA
## Any other notes
NA
2024-02-22 13:06:39 +01:00
Zac West
5c104f76e9
Multi-server ( #1906 )
...
## Summary
Most, but not all, of the changes necessary to support multi-server throughout the app and all its features.
## Screenshots
| Light | Dark |
| ----- | ---- |
|  |  |
|  |  |
|  |  |
|  |  |
|  |  |
## Any other notes
- Encapsulates all connectivity, token & server-specific knowledge in a Server model object which gets passed around.
- Updates various places throughout the app to know about and use Server rather than accessing said information through non-server-specific methods.
- Visually requests/notes server in places where it's ambiguous. For example, the Open Page widget will gain a subtitle if multiple servers are set up.
- Allows switching which server is shown in the WebViews. Note that this doesn't take into account multi-window support on iPad/macOS yet.
Most things will migrate successfully however adding an additional server causes things like Shortcuts to start erroring requiring you specify which to use in the particular Shortcut.
Future work necessary:
- Model objects currently clobber each other if their identifiers match. For example, both servers having a zone named `home` means one of them wins the fight for which is known to the app.
- Being remotely logged out on any account causes the app to require onboarding again, when instead it should only do that if the last known server is logged out.
2021-11-27 12:33:46 -08:00
Zac West
4bbad0ba04
Fix attachments in Watch notifications with dynamic actions ( #1619 )
...
## Summary
Implements a similar pipeline for notification content in the watch as the notification content extension.
## Screenshots
https://user-images.githubusercontent.com/74188/116958883-d670a600-ac50-11eb-9578-994ee594a271.mp4
(the video starts playing a bit faster when not recording/debugging)



## Any other notes
- Fixes text input notification actions failing to do anything. Unless we implement the 'suggestions' method (even to just return `[]`) it will fail to show the action, logging something about the `nil` default value being unacceptable.
- Fixes attachments downloaded by the service extension not showing up at all. By downloading them again, because Apple fails to correctly give us access to them.
- Adds support for lazily downloading attachments, either when not attached or with the lazy flag.
- Combines the notification controller (similar to the content extension) for all the various category types.
2021-05-03 22:35:18 -07:00