Nathan Mattes
fbde2a5833
More cleanup
2023-09-22 15:27:46 +02:00
Marcus Kida
dcfe13ac36
Merge branch 'develop' into performance_experiments
2023-09-22 11:36:57 +02:00
Nathan Mattes
e041a7e086
Add Hashtag-Regex (IOS-141)
2023-09-20 16:29:30 +02:00
Nathan Mattes
0c5b3a64cf
Adopt search to follow mastodon-logic (IOS-141)
...
as defined here: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/search.jsx#L280-L310
2023-09-20 16:03:46 +02:00
Nathan Mattes
dd569fe0ac
Put CondensedUserView into their own class (IOS-141)
2023-09-18 17:21:36 +02:00
Nathan Mattes
ce37a8eb47
Copy condensed version of user-view to collection-view in search-history (IOS-141)
2023-09-18 17:05:29 +02:00
Nathan Mattes
a7bab76f96
Add a cell for profiles in search results (IOS-141)
2023-09-18 16:12:42 +02:00
Nathan Mattes
b74f17c6b6
Don't show follow-button for me (IOS-141)
2023-09-17 18:14:42 +02:00
Nathan Mattes
2e384f3cb5
WIP: Add some search-implementation and clean stuff (IOS-141)
...
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
2023-09-15 17:45:22 +02:00
Nathan Mattes
bbda8c41b6
Add post-visibility to notifications ( #594 )
2023-08-28 12:58: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
075b8a739a
Fix some warnings
2023-08-21 11:32:00 +02:00
Nathan Mattes
cc2f7f0b8c
Hide activity indicator in case of no emojis ( #1088 )
2023-07-04 16:08:11 +02:00
Jed Fox
f8617ac8f2
Don’t insta-discard if there is a CW/poll/attachment
2023-06-30 17:44:44 -04:00
Jed Fox
dd953d69ea
Fix comparison of current content with initial content
2023-06-30 17:38:55 -04:00
Jed Fox
5cf681e2d7
Set a solid background on the blurhash view in case it doesn’t load ( #1069 )
2023-06-26 11:08:18 +02:00
Nathan Mattes
7b08403035
Add menu-action to untranslate a translated status (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
d455da85d2
Add follow/unfollow-option to user-section (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
9b422a95ac
Sprinkle in some localization (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
6b2fe91112
Put existing actions into their section (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
846fa44369
Refactor action-menu to better support sections (IOS-103)
2023-06-13 15:30:30 +02:00
Marcus Kida
d570d3ef09
Replace MastodonAuthentication to not be backed by CoreData
2023-06-13 14:47:43 +02:00
Jed Fox
3a9e1aa716
+ backdrop for play triangle
2023-06-04 17:11:30 -04:00
Jed Fox
10303eee37
Move “play video” image to SwiftUI, adjust to match design spec
2023-06-04 16:39:59 -04:00
Jed Fox
290a62aa5e
Refactor: isGIF → mediaType
2023-06-04 16:17:34 -04:00
Jed Fox
5ff25e31d3
Rename: MediaBadgesContainer → InlineMediaOverlayContainer
2023-06-04 16:15:05 -04:00
Nathan Mattes
8804432b60
Fix Brand Color (IOS-160) ( #1054 )
2023-06-02 09:52:12 +02:00
Nathan Mattes
7a9c002fe8
Simplify overly complicated init (IOS-157)
...
Thank you @kimar!
2023-05-25 15:30:45 +02:00
Nathan Mattes
58e5686460
Extract follow-button into its own file (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
44f6fc9a5c
Add request-follow/pending-states to follow-button (IOS-157, IOS-140)
2023-05-25 14:42:00 +02:00
Nathan Mattes
a2729b17c5
Minor UI-improvements in UserView (IOS-157)
...
Make avatar-image bigger, fix position of follow-button
2023-05-25 14:42:00 +02:00
Natalia Ossipova
e397191773
Show visibility icon also in notification view
2023-05-17 14:07:43 +02:00
Natalia Ossipova
00a8c7523b
Merge branch 'develop' into 594-post-visibility
2023-05-17 13:11:13 +02:00
Jed Fox
88d54b6151
Fix crash when a server has an emoji category named after its domain ( #1045 )
2023-05-15 09:35:08 +02:00
Marcus Kida
b8744c24fc
Fix UserView follower count label not supporting dynamic type (IOS-140)
2023-05-09 15:47:03 +02:00
Marcus Kida
9d2e8eca16
Improve UserView button behavior (IOS-140)
2023-05-08 17:24:41 +02:00
Marcus Kida
096b1200b0
Improve follow/unbutton behavior (IOS-140)
2023-05-08 16:41:29 +02:00
Marcus Kida
92704dc7f7
Implement fetching of following / blocking for user list buttons (IOS-140)
2023-05-08 15:24:01 +02:00
Marcus Kida
4de184c85f
Merge branch 'develop' into IOS-140_Verified_Links
2023-05-05 15:40:46 +02:00
Nathan Mattes
96e9d8e5ad
Merge pull request #993 from mastodon/ios-37-hashtag-widget
...
Hashtag-Widget (IOS-152)
2023-05-05 15:35:57 +02:00
Nathan Mattes
0fbe54d368
Use colors from assets (IOS-152)
2023-05-05 15:15:37 +02:00
Marcus Kida
f63b56bbf2
Make NSAttributedString extension allow multiple palceholder string replacements (IOS-140)
2023-05-05 14:48:02 +02:00
Marcus Kida
2f4ce19983
Fix verified link priority (IOS-140)
2023-05-05 14:47:38 +02:00
Marcus Kida
622953c649
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView+ViewModel.swift
...
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:28:12 +02:00
Marcus Kida
de336e9341
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView.swift
...
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:26:36 +02:00
Marcus Kida
40db0e36c0
Add missing L10n (IOS-140)
2023-05-05 10:07:47 +02:00
Marcus Kida
313d5e2d8a
Update colors for UserView (IOPS-140)
2023-05-04 11:56:34 +02:00
Marcus Kida
d1d9e86244
Add missing L10n for IOS-140
2023-05-04 11:39:57 +02:00
Nathan Mattes
e6e691b7aa
Scroll enabled for large display zoom only ( #1009 )
2023-05-04 10:48:59 +02:00
Nathan Mattes
4066b26030
Put actions in scrollView ( #1009 )
2023-05-04 10:48:59 +02:00
Marcus Kida
e2a05cd747
Implement follow/unfollow/block in UserView (IOS-140)
2023-04-25 12:48:53 +02:00
Marcus Kida
52fb1eff1f
Begin implementing follow button on UserView (IOS-140)
2023-04-25 10:54:10 +02:00
Marcus Kida
3e14b9b6c5
Give display priority to Display name over Username (IOS-140)
2023-04-25 10:53:41 +02:00
Jed Fox
17dce25e07
Fix “hide sensitive content” button being hidden ( #1024 )
2023-04-22 21:46:34 +02:00
Marcus Kida
fb4d5b9ea8
Implement switcheable vertical/horizontal layout (IOS-140)
2023-04-21 15:03:52 +02:00
Marcus Kida
3c877416d6
Improve formatter followers count (IOS-140)
2023-04-21 14:35:17 +02:00
Marcus Kida
645542c581
Begin implementing verified link in UserView (IOS-140)
2023-04-20 16:29:12 +02:00
Jed Fox
124638a0cb
IOS-148 Updates to the media badging look & feel ( #1019 )
2023-04-19 22:38:58 +02:00
Jed Fox
391bc455ea
Fix new crash when closing compose VC ( #1018 )
2023-04-17 23:21:55 +02:00
Jed Fox
ad5070d2b9
Trim whitespace from webpage titles in StatusCardControl ( #1020 )
2023-04-17 12:09:36 +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
245543ea60
Fix broken localization
...
- (Re)-Add missing strings
- Fix keys
2023-03-27 21:29:38 +02:00
Marcus Kida
8f327d4c05
IOS-113 fix general vqa issues ( #986 )
2023-03-21 08:01:40 +01:00
Nathan Mattes
8060017880
IOS-113, bullet 4: Replace icons ( #980 )
...
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-20 08:45:28 +01:00
Jed Fox
414df3154a
IOS-92: Enlarge post action buttons at larger text sizes ( #927 )
2023-03-20 08:39:11 +01:00
Jed Fox
f0753e9d0d
IOS-80 Add AXCustomContent to ProfileCardView ( #979 )
2023-03-20 08:02:41 +01:00
Marcus Kida
f6f90bda9d
IOS-71: Read persons account name when going through statuses ( #974 )
2023-03-16 09:06:14 +01:00
Marcus Kida
bb15e16959
IOS-82: Increase Contrast ( #973 )
2023-03-16 09:05:41 +01:00
Marcus Kida
c1dab782b1
IOS-69: Label this “re-blog” otherwise it sounds like “reh-blog” ( #975 )
2023-03-15 14:58:25 +01:00
Jed Fox
e6b8908ca5
IOS-75: Make StatusCardControl an accessibility element ( #934 )
...
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-13 12:54:40 +01: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
Jed Fox
44f366083c
Improve the UX around post translation ( #933 )
2023-03-01 15:05:22 +01:00
Jed Fox
b8f1304c56
Fix errors and some warnings when building with Swift 5.8 ( #952 )
2023-03-01 14:58:12 +01:00
Marcus Kida
a0b318ad7b
Fix #902 : Uploaded video get's distorted because aspect ratio is not maintained ( #958 )
2023-02-27 14:36:21 +01:00
Nathan Mattes
eb0c0f395c
Fix Crash when publishing a new post ( #947 )
2023-02-23 21:56:18 +01:00
Jed Fox
b70bab901a
IOS-88: Use post content as the primary user input label for posts in feeds/threads ( #937 )
2023-02-23 12:58:14 +01:00
Natalia Ossipova
157492a6af
Move visibility switch to extension
2023-02-16 16:34:02 +01:00
Natalia Ossipova
2b3660086d
Add icon for 'other' visibility
2023-02-16 16:23:02 +01:00
Natalia Ossipova
21d1a59e7b
Show post visibility indicator
2023-02-15 14:18:55 +01:00
Marcus Kida
70d939c3ad
Merge pull request #924 from j-f1/poll-compose-a11y
...
IOS-72: Improve accessibility for the poll composer UI
2023-02-08 15:29:10 +01:00
Marcus Kida
b178c0cff9
Refactor if/else in PollOptionRow
2023-02-08 15:25:55 +01:00
Jed Fox
8217f5ce28
Mark the poll editor as a group
2023-02-07 17:00:22 -05:00
Jed Fox
9f541957a7
Hide the circle and grabber icons from a11y tools
2023-02-07 16:57:08 -05:00
Jed Fox
5637056790
Add label to “Add Option” button
2023-02-07 16:56:49 -05:00
Jed Fox
7d8c40218c
Add move up / move down / remove option actions to poll options
2023-02-07 16:56:17 -05:00
Jed Fox
06183f5649
Refactor: remove unnecessary Published property
2023-02-07 16:52:09 -05:00
Jed Fox
952ae0f621
Expose metas in fields as accessibility actions
2023-02-07 15:36:27 -05:00
Marcus Kida
6362eea3b9
Merge pull request #920 from j-f1/avatar-is-indeed-an-image
...
IOS-73: Mark AvatarButton as an image
2023-02-07 09:50:53 +01:00
Marcus Kida
5fc04dfc07
Merge pull request #918 from j-f1/user-search-a11y
...
IOS-77: Improve accessibility of account rows in search results/recent searches
2023-02-07 09:49:14 +01:00
Jed Fox
2cb3f1263a
Mark AvatarButton as an image (IOS-73)
2023-02-06 22:42:56 -05:00
Jed Fox
21e4a81ca7
Make UserView accessible
2023-02-06 22:22:22 -05:00
Jed Fox
7e9655e903
Apply “translated from” label to StatusView accessibilityLabel
2023-02-06 21:52:26 -05:00
Jed Fox
32fbbc37c1
Move setupTranslationIndicator into StatusView.ViewModel
2023-02-06 21:51:07 -05:00
Jed Fox
97f5132977
Add a “Show Original” accessibility action to statuses when relevant
2023-02-06 21:39:41 -05:00
Jed Fox
9c30ecd9c0
Make the translation info view accessible at the root of a thread
2023-02-06 21:39:41 -05: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
woxtu
864ec73a9a
Remove Kingfisher ( #858 )
...
* Replace image type detection
* Replace image processing
* Remove Kingfisher
2023-01-11 09:10:04 +01:00
Marcus Kida
b3a4967c80
Merge pull request #800 from ivannnito/Issue_732
...
Change background color and text color to improve text readability for visually impaired prompt.
2023-01-06 14:43:49 +01:00
Marcus Kida
a0a8a28c88
chore(compose): Update ALT input to reflect Figma design
2023-01-06 14:19:34 +01:00
Marcus Kida
61465a8f9f
Merge branch 'develop' into Issue_732
2023-01-06 13:55:19 +01:00