1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-13 00:56:23 +01:00
Commit Graph

285 Commits

Author SHA1 Message Date
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
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
Marcus Kida
318c734f4b
Merge branch 'develop' into Warning-fix 2023-01-06 11:41:05 +01:00
Marcus Kida
6180159899
Merge branch 'develop' into feature/emoji-picker-structure 2023-01-05 17:02:20 +01:00
Marcus Kida
6beaabbe32
Merge branch 'develop' into fix-warnings 2023-01-04 15:12:51 +01:00
Marcus Kida
6d80df1279
fix: Poll percentages were wrong due to wrong count being used (votes vs voters) (#834) 2022-12-31 02:22:00 +01:00
Marcus Kida
6c260f942f
feat: Implement abbreviated status counts 2022-12-28 11:59:24 +01:00
Nathan Mattes
33be360979 Set color of playback-button
White on light gray doesn't look good, now it's at least visible.
2022-12-26 20:07:19 +01:00
Nathan Mattes
f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Iván Dombiak
93eeface69 Adding inset to the text of the user due to the prompt having the inset but not the user text. 2022-12-23 20:26:28 -08:00
Nathan Mattes
80c145111a
Merge pull request #814 from j-f1/alt-scroll
Allow AltViewController text to scroll + increase HUDButton contrast
2022-12-24 00:25:02 +01:00
Iván Dombiak
c89ff95f0c Extended the border of the visibility of the visually impaired prompt and moved the text inwards.
Please let me know if any other change should be made.
2022-12-23 14:27:13 -08:00
Jed Fox
d0812f4275
Further improve HUDButton contrast 2022-12-23 11:34:05 -05:00
Jed Fox
2a161886a1
Improve HUDButton contrast 2022-12-23 10:57:53 -05:00
woxtu
2a66afc52c Remove a redundant defer 2022-12-23 20:36:27 +09:00
Nathan Mattes
3e2282cb03
Merge pull request #783 from mastodon/ios_15
Bump Deplyment Target to iOS 15
2022-12-22 18:36:26 +01:00
Nathan Mattes
7ee51d06cc
Merge pull request #699 from j-f1/alt-button
Add a button to show alt text for media
2022-12-22 09:29:00 +01:00
Jed Fox
f5c6529341
i18n for accessibility hint 2022-12-21 19:38:29 -05:00
Jed Fox
dc6a86f846
Extract out TouchTransparentStackView 2022-12-21 19:38:29 -05:00
Nathan Mattes
c85e503a71
Merge pull request #792 from j-f1/hide-empty-status-text
Hide post contentMetaText when it is empty
2022-12-21 20:58:36 +01:00
Iván Dombiak
91547939f3 Change background color and text color to improve text readability for visually impaired prompt.
Closes #732
2022-12-20 14:14:00 -08:00
Jed Fox
726af2e8ea
Fall back to allowing reblogs of unsupported visibilities 2022-12-20 16:12:43 -05:00
Jed Fox
2f553c1648
Prevent reblogging DMs 2022-12-20 16:07:03 -05:00
Jed Fox
a9534e480a
FIx NewsView+Configuration.swift 2022-12-20 14:44:49 -05:00
Jed Fox
5adce841ef
Label images as “[alt], attachment 3 of 4” 2022-12-20 14:22:38 -05:00
Jed Fox
cd9e013a40
Fix HUDButton hitTest method 2022-12-20 14:01:46 -05:00
Jed Fox
7553b0aae6
Fix MediaView accessibility 2022-12-20 13:38:25 -05:00
Jed Fox
042c496832
Fix image sizing 2022-12-20 13:38:25 -05:00
Jed Fox
019a9920f0
better animations? or at least different 2022-12-20 13:38:25 -05:00
Jed Fox
1461b314ff
Add a thin white border 2022-12-20 13:38:25 -05:00
Jed Fox
7235ba3fb2
Spring transition 2022-12-20 13:38:25 -05:00
Jed Fox
4bcf76740f
Render alt text 2022-12-20 13:38:25 -05:00
Jed Fox
28b52533f9
Add a non-functional “ALT” button to MediaView 2022-12-20 13:38:25 -05:00
Jed Fox
c9a7405519
Add altDescription attribute to MediaView.Configuration values 2022-12-20 13:38:25 -05:00
Jed Fox
26aff2d627
MediaView: remove unused property 2022-12-20 13:38:25 -05:00
Jed Fox
754b0a7eb0
Move HUDButton to MastodonUI 2022-12-20 09:37:13 -05:00