shannon
ffc6e0ebaf
Clearer naming (“nanosPerUnit” instead of “second”)
2024-12-13 13:17:59 -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
c4442fe8a9
Fix crash on launch due to infinite loop
...
And more honestly about singletons.
2024-11-15 12:25:58 -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
e473084038
Simplify Theme ( #1121 )
2023-09-27 15:08:12 +02:00
Nathan Mattes
fbde2a5833
More cleanup
2023-09-22 15:27:46 +02:00
Nathan Mattes
2957408c0a
Merge pull request #943 from nossipova/594-post-visibility
...
Show post visibility indicator
2023-08-28 12:29:10 +02:00
Nathan Mattes
cc2f7f0b8c
Hide activity indicator in case of no emojis ( #1088 )
2023-07-04 16:08:11 +02:00
Natalia Ossipova
00a8c7523b
Merge branch 'develop' into 594-post-visibility
2023-05-17 13:11:13 +02:00
Jed Fox
391bc455ea
Fix new crash when closing compose VC ( #1018 )
2023-04-17 23:21:55 +02:00
Jed Fox
e2ef9f07a1
Fix calculating the position of the keyboard in ComposeContentViewController ( #909 )
...
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-04-12 14:39:17 +02:00
Nathan Mattes
0c224f47df
Implement post editing / edit history ( #875 )
...
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Natalia Ossipova
21d1a59e7b
Show post visibility indicator
2023-02-15 14:18:55 +01:00
Jed Fox
0a9689c67f
Add support for selecting the post language ( #907 )
...
* Basic fake language picker support
* Recognize languages from post text
* Exclude suggested languages from recents
* Load recent languages from Settings object
* Send the language to the API
* Persist the used language to settings
* Always show the currently selected language in the list
* Fix crash
* Add support for picking arbitrary lanuages
* Fix display of 3 letter language codes
* Improve label to include endonym too
* Limit to 3 recent languages
* Reduce lower bound for displaying language suggestions
* Fix saving recent language when publishing
* Fix tint color of language picker button
* Add a badge to prompt users to change language
* Dismiss the badge even if you pick the same language
* Read language names in the language if possible
* Use a compressed font for 3-letter codes
Also use `minimumScaleFactor` to shrink troublesome codes to fit
Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
* Remove .vscode/launch.json
* Add message to fatalError()
Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
CMK
f784df912d
fix: no downscaling for raw image from camera issue
2022-11-22 15:59:29 +08:00
CMK
2064a318c3
Merge branch 'main' into develop
...
# Conflicts:
# Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
CMK
ce076b264b
fix: hashtag auto complete issue
2022-11-19 00:56:44 +08:00
Stefan Painhapp
abe25f2156
Refactor pin to (parent) layout constraints as extension of UIView
2022-11-18 01:45:27 +09:00
CMK
591acb4c2c
feat: restore keyboard shortcut for compose scene
2022-11-14 19:43:32 +08:00
CMK
7e7f41112e
fix: visibility missing bind back to source issue
2022-11-14 18:41:54 +08:00
CMK
f80b751d93
feat: camera and file attachment input
2022-11-13 22:40:03 +08:00
CMK
929a27d572
feat: [WIP] restore publish button and compose pre-insert content
2022-11-13 22:08:26 +08:00
CMK
88307057c0
feat: restore emoji picker for post compose
2022-11-13 19:42:50 +08:00
CMK
e7ef0f79c7
feat: restore auto-complete for compose scene content input
2022-11-13 16:04:29 +08:00
CMK
088e6f05ec
feat: upload media in queue
2022-11-11 18:10:13 +08:00
CMK
bdedd54318
feat: bind the thumbnail and trigger media upload task
2022-11-08 19:40:58 +08:00
CMK
fc3750c377
feat: add mediaView for compose scene
2022-11-08 16:39:19 +08:00
CMK
3100c59a3b
feat: restore content warning input with black-yellow strip edges
2022-10-28 19:06:18 +08:00
CMK
44a8b818e4
feat: [WIP] restore compose poll view
2022-10-21 19:12:44 +08:00
CMK
f1b5c52815
feat: restore the compose toolbar layout using SwiftUI
2022-10-18 19:01:31 +08:00
CMK
4367e8eaba
feat: [WP] restore the content compose via SwiftUI and support expandable reply view for compose scene
2022-10-11 18:31:40 +08:00
CMK
02e3ad9a16
chore: [WIP] restore the replyTo entry for compose
2022-10-10 19:14:52 +08:00
CMK
64f3d2fe3a
chore: [WIP] move core logic into package
2022-09-30 19:28:09 +08:00