shannon
ac30d4a3dc
Some consolidation of logout logic
2025-04-03 16:01:35 -04:00
shannon
5e6978248f
Expand existing cache system to handle grouped notifications
...
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-05 16:01:49 -05:00
Stanislas
0b5528d1c5
Fix authentication check to use identifier instead of userID ( #1414 )
2025-02-24 11:19:55 -05:00
shannon
65bf555d98
Refactor: Remove NeedsDependency
...
The AppContext is already a singleton. SceneCoordinators are unique to UIWindowScenes, so fetch them that way.
Fixes iOS-324
2024-12-03 13:21:05 -05:00
shannon
54d04aed4e
Continue to make MastodonAuthenticationBox the standard form of passing user information
...
Further simplify the AuthenticationViewModel and the public interface of AuthenticationServiceProvider.
Publish currentActiveUser from AuthenticationServiceProvider instead of assuming all callers know to take the first in the list as the active one.
contributes to iOS-319
2024-11-19 12:09:55 -05:00
shannon
9ed9c79f25
Begin moving filesystem cache responsibility into PersistenceManager
...
contributes to iOS-319
2024-11-19 12:08:22 -05:00
shannon
35f1280904
Make view models @MainActor
2024-11-15 14:15:01 -05:00
shannon
77f3c5a64d
Combine AuthenticationService into AuthenticationServiceProvider
...
Also, AppContext, APIService, and AuthenticationServiceProvider are now more obviously singletons.
And AuthenticationServiceProvider can now be asked for the current active user, instead of every caller assuming the first element of a list of users is the active user.
2024-11-14 16:30:51 -05:00
shannon
04108fd0e4
Remove AuthContext
...
MastodonAuthenticationBox, which already wraps the MastodonAuthentication, is now used directly.
2024-11-14 09:49:19 -05:00
Nathan Mattes
47bedff5e5
Cleanup (IOS-238)
2024-05-21 18:11:22 +02:00
Nathan Mattes
298886d3f5
Set placeholder-color for AvatarButton (IOS-238)
2024-05-21 17:43:53 +02:00
Nathan Mattes
c2d0701062
Improve Multi-User Account Sheet (IOS-245) ( #1273 )
...
* Copynpaste cell to logout all accounts (IOS-245)
* Show cell (IOS-245)
* Logout of all accounts (IOS-245)
* Use iOS-formsheet to present account-list (IOS-245)
* Remove dead code (IOS-245)
* Don't animate account-switches (IOS-245)
* Remove panModal (IOS-245)
* UI-fixes (IOS-245)
* Add swipe-to-logout-action (IOS-245)
* Localize (IOS-245)
* Add a little bit of margin (IOS-245)
* Fix separator-insets (IOS-245)
* Don't crash on iPad when logging out of all accounts (IOS-245)
2024-04-30 09:22:27 +02:00
Nathan Mattes
22d0b45be7
Use account on account-switcher (IOS-192)
2024-01-05 12:56:08 +01:00
Marcus Kida
943f3bc778
Merge branch 'develop' into performance_experiments
2023-09-29 12:43:34 +02:00
Nathan Mattes
e473084038
Simplify Theme ( #1121 )
2023-09-27 15:08:12 +02:00
Marcus Kida
360bfd29f1
Merge branch 'develop' into performance_experiments
2023-09-26 10:25:26 +02:00
Nathan Mattes
fbde2a5833
More cleanup
2023-09-22 15:27:46 +02:00
Nathan Mattes
081727865f
Show correct checkmark
2023-06-13 14:47:43 +02:00
Marcus Kida
d570d3ef09
Replace MastodonAuthentication to not be backed by CoreData
2023-06-13 14:47:43 +02:00
Jed Fox
fbc4c98e7d
Force view controllers into portrait orientation where needed
2022-12-31 08:37:07 -05:00
Marcus Kida
12bfff8b00
Merge pull request #579 from woxtu/patch
...
Fix typos
2022-11-21 17:31:05 +01:00
woxtu
a36a303532
Fix typos
2022-11-14 02:53:59 +09:00
Jed Fox
fd31e08089
Clarify separation between name/username/badge
2022-11-06 20:15:59 -05:00
Jed Fox
6c6508cdfb
Mark account list rows as buttons
2022-11-06 20:15:59 -05:00
Jed Fox
547129ec95
Hide the avatars in the account list from VO
2022-11-06 20:15:59 -05:00
Jed Fox
fe98dfe4ca
DragIndicatorView now handles a11y itself
...
…and also gains the button trait
…also the escape gesture now works!
2022-11-06 20:15:59 -05:00
CMK
668a1d28e2
fix: AccountList scene not display items issue
2022-10-31 14:47:13 +08:00
CMK
56f04db40f
chore: fix compile issue
2022-10-09 21:40:02 +08:00
CMK
bb5c999bea
chore: [WIP] inject AuthContext into ViewModel
2022-10-09 20:07:57 +08:00
CMK
fa27a28a60
chore: move core logic into package
2022-10-08 13:43:06 +08:00
CMK
64f3d2fe3a
chore: [WIP] move core logic into package
2022-09-30 19:28:09 +08:00
CMK
15be4a9ce3
fix: account notification badge color only set to Dark Mode style issue
2022-05-27 00:01:31 +08:00
CMK
8aa8825269
chore: suppress warnings
2022-05-07 11:42:10 +08:00
CMK
b4707e3567
chore: update badge tint color
2022-02-16 17:32:03 +08:00
CMK
b76b3a2750
feat: adapt the app to async & await. Update timeline UI
2022-01-27 21:23:39 +08:00
CMK
469acd12f5
fix: account switch scene not adopt elevated color issue
2021-11-04 15:13:17 +08:00
CMK
bcddcf226b
feat: add account switcher for iPad sidebar
2021-10-29 17:26:26 +08:00
CMK
eaa2ef4083
feat: [WIP] handle notification for multiple accounts
2021-10-11 19:19:27 +08:00
CMK
1da803fb97
feat: add recent search history in sidebar
2021-09-27 11:38:15 +08:00
CMK
b65e591a96
chore: update pan modal height dynamic
2021-09-17 17:07:46 +08:00
CMK
cf52898348
chore: use i18n resource in stead of raw string
2021-09-16 18:26:35 +08:00
CMK
5a746ef881
feat: add notification badge in AccountList scene
2021-09-16 16:30:21 +08:00
CMK
7dea01da1e
fix: checkmark display logic and account list not scrollable in PanModal issue
2021-09-16 12:24:21 +08:00
CMK
016d7b987d
feat: add wizard for multiple account entry
2021-09-15 20:18:19 +08:00
CMK
46ebdd8059
feat: update account list UI
2021-09-14 18:21:15 +08:00
CMK
66af30da2a
feat: [WIP] add account list for multiple account switch
2021-09-13 19:14:26 +08:00