Commit Graph

5475 Commits

Author SHA1 Message Date
Jed Fox 9c30ecd9c0
Make the translation info view accessible at the root of a thread 2023-02-06 21:39:41 -05:00
Marcus Kida 3b87916d9a
chore(Feed): Improve Feed performance by fetching statuses in batches (#914) 2023-02-07 00:46:35 +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
Marcus Kida 6685470652
Update Colors (#906) 2023-01-24 01:49:41 +01:00
Roman Aliyev c773c4391b
Improvements to the project setup (#905)
* Improvements to the project setup. added .ruby-version.

* added step about terminal configuration.
2023-01-24 01:47:37 +01:00
Marcus Kida c0cd51c0d4
fix(Mention): Fixes an issue where user Profiles are not found because matching is not done via href (#895) 2023-01-19 13:47:16 +01:00
Marcus Kida 3ec9e603df
Improve "Open in Mastodon" by using Search API (#888)
* feat(ActionExtension): Improve "Open in Mastodon" by using Search aPI

* Add code comment
2023-01-16 23:36:00 +01:00
Nathan Mattes 8e7d115944
Add template for header (#879)
Okay, this has nothing to do with post-editing and it's only for new files, but still useful.
2023-01-12 10:35:21 +01:00
Marcus Kida 37678caed5
Merge pull request #878 from mastodon/IOS-31_ActionExtension
Feature: Action Extension
2023-01-12 10:24:20 +01:00
Marcus Kida 412d9b6fc8
Merge pull request #877 from j-f1/username-align
Left-align the username in the profile header
2023-01-12 10:24:03 +01:00
Marcus Kida fde4c14b49
feat(ActionExtension): Use same Regex for Username matching as in App 2023-01-12 10:11:11 +01:00
Marcus Kida 1121cdd80b
feat(ActionExtension): Update TouchBarBezel Color 2023-01-12 10:10:44 +01:00
Marcus Kida 6e45f8fcd0
Merge branch 'develop' into IOS-31_ActionExtension 2023-01-11 15:31:57 +01:00
Marcus Kida 83f4eb1d8e
Merge pull request #862 from mastodon/fix-urlscheme-profile-resolve
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail
2023-01-11 15:31:22 +01:00
Marcus Kida 5daaa5a32f
feat(AppExtension): Improve open in link validation, add L10n 2023-01-11 15:12:11 +01:00
Marcus Kida 68fe3cb8f2
feat(ActionExtension): Implement Open in Search as Fallback 2023-01-11 13:09:23 +01:00
woxtu 864ec73a9a
Remove Kingfisher (#858)
* Replace image type detection

* Replace image processing

* Remove Kingfisher
2023-01-11 09:10:04 +01:00
Jed Fox df25feb7fd
Left-align the username in the profile header 2023-01-10 17:57:09 -05:00
Marcus Kida 89c808ea11
feat(ActionExtension): Improve ActionRequestHandler and Action.js, rename Extension 2023-01-10 16:40:55 +01:00
Marcus Kida 09cec923bb
WIP: Begin implementing FollowActionExtension 2023-01-10 16:40:55 +01:00
Marcus Kida 7582fb5ab5
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-10 16:40:55 +01:00
Nathan Mattes ec2f819e63
Merge pull request #873 from mastodon/IOS-44_fix_share_menu_status_url
fix(share-menu): Fixes URL for shared status when using square.and.arrow.up share menu on status
2023-01-10 16:36:19 +01:00
Marcus Kida 35dfd13c96
fix(share-menu): Fixes URL for shared status when using suare.and.arrow.up share menu on status 2023-01-09 15:48:56 +01:00
Marcus Kida 7041a81fcf
Merge pull request #697 from mastodon/690-better-onboarding
Better onboarding
2023-01-09 10:55:37 +01:00
Marcus Kida 042166a282
Revert "chore(i18n): Update strings"
This reverts commit be3b91e334.
2023-01-09 10:33:40 +01:00
Marcus Kida be3b91e334
chore(i18n): Update strings 2023-01-09 10:18:23 +01:00
Marcus Kida 06de474528
chore(i18n): fix broken json 2023-01-09 10:16:20 +01:00
Nathan Mattes 35d9caabbe Minor cleanup here and there (#690) 2023-01-08 15:34:16 +01:00
Nathan Mattes d220949514 Remove obsolete dependency (#690) 2023-01-08 15:25:52 +01:00
Nathan Mattes 769355b4c2 Fix localization-json-issues (#690) 2023-01-08 15:22:06 +01:00
Nathan Mattes f9661db0df Remove duplicated code (#690) 2023-01-08 15:15:31 +01:00
Nathan Mattes 485ecc8e57 Fix title for login-screen (#690)
Was a norma label, is the _real_ title now
2023-01-08 14:53:15 +01:00
Nathan Mattes 023e70ebcb Add page control (#690) 2023-01-08 14:25:22 +01:00
Nathan Mattes 04f19b6b9d Fix content-page-size (#690) 2023-01-08 13:35:08 +01:00
Nathan Mattes 44d85e0263 Replace the pagecontrol with a collection view (#690)
Scrolling wasn't smooth with pageviews, as they do some black magic with scrollviews (like resetting contentOffset). If you depend on contentOffset, this breaks things and makes them hard.
2023-01-07 16:02:46 +01:00
Nathan Mattes 8ff47a72d0 Make blurry-view lighter (#690) 2023-01-07 13:15:25 +01:00
Nathan Mattes 1aa3a20997 Add a blurry background (#690) 2023-01-07 13:03:21 +01:00
Nathan Mattes 77beff55d5 Fix text-color for education-screens (#690)
In dark mode, the text was white and so unreadable
2023-01-07 13:03:21 +01:00
Nathan Mattes bd3c5ef58a UX-improvements for server-picker (#690)
Sprinkle in some haptic feedback and show menu immediately
2023-01-07 13:03:21 +01:00
Nathan Mattes eda79e6beb Fix language-based random server-selection (#690)
During testing on device I noticed, that "next" didn't work. The reason was that I used the wrong language code. In case there's no server in my language, the server gets totally randomly selected.
2023-01-07 13:03:21 +01:00
Nathan Mattes 0cfe0041df Show menu right away (#690)
This was a nice bug: The menu for signup-speed/language was attached too late. The entire button-delegate-stuff was obsolete in the end
2023-01-07 13:03:21 +01:00
Nathan Mattes c8e0419dec Revert "Some polish here and there in regards (#690)"
This reverts commit a84910f2aba114a6600337dd9d50d3d5e5c749c6.
2023-01-07 13:03:21 +01:00
Nathan Mattes 93d3472ba3 Fix warning 2023-01-07 13:02:59 +01:00
Nathan Mattes 77826956e8 Fetch all servers for login-auto-complete (#690)
so far, only those with an open registration were available. Server needs to be adjusted as well.
2023-01-07 13:02:59 +01:00
Nathan Mattes cfb7061d4c Some polish here and there in regards (#690)
Mostly navigationbar-related.
2023-01-07 13:02:59 +01:00
Nathan Mattes a73b7bb348 Fix scrolling-issue (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes 600e91eb4d Randomly select a server for user (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes efafefac48 Add missing localization (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes ade95302ca Localize and style resend-button (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes de87424f53 Add button to resend email (#690)
Make it work (<- we're here)
Make it right
Make it fast
2023-01-07 13:02:59 +01:00