Commit Graph

552 Commits

Author SHA1 Message Date
Marcus Kida 98154ec2c3
chore: Don't limit number of lines on translation info text 2022-12-19 11:01:13 +01:00
Marcus Kida 258aea3682
feat: Show translation provider 2022-12-19 07:32:48 +01:00
Nathan Mattes 3b77ed7612
Merge pull request #613 from j-f1/joined-at
Add a “Joined” cell to the top of the About tab to match the web version
2022-12-18 14:30:57 +01:00
Marcus Kida ddf6e691fe
IOS-32: Fix paragraph margins in compose 2022-12-16 10:28:06 +01:00
Jed Fox f8556183a3
Fix inverting pizelSize! 2022-12-15 08:11:51 -05:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Jed Fox 1be9dcef66
Bump data model version 2022-12-15 07:43:25 -05:00
Jed Fox dccfb4e831
Avoid division by 0 2022-12-15 07:42:10 -05:00
Jed Fox cc4df41fbb
Disable divider autoresizing mask
Co-Authored-By: Marcus Kida <marcus.kida@bearologics.com>
2022-12-15 07:39:52 -05:00
Marcus Kida 6329f10046
chore: Move translated info directly below translated text 2022-12-14 10:34:01 +01:00
Marcus Kida f530d109d3
chore: Address PR codestyle feedback 2022-12-14 09:51:15 +01:00
Marcus Kida 855f626c42
fix: Make translatedContent a transient CoreData property 2022-12-14 09:35:45 +01:00
Marcus Kida 518941b10c
chore: Codestyle changes 2022-12-13 07:10:08 +01:00
Marcus Kida 903d789b53
chore: Remove unused code 2022-12-13 07:07:56 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +01:00
Marcus Kida 8f32e1a80e
Update MastodonSDK/Sources/MastodonSDK/Entity/Mastodon+Entity+Translation.swift
Co-authored-by: Jed Fox <git@jedfox.com>
2022-12-12 16:53:41 +01:00
Marcus Kida cb2765fd0f
chore: Replace instance by server in strings 2022-12-12 16:43:54 +01:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01:00
Marcus Kida fda3ae1516
chore: Update translated footer alignment 2022-12-07 17:10:32 +01:00
Marcus Kida da3c9a42ec
fix: Don't make isCurrentlyTranslating depend on translatedFromLanguage 2022-12-07 17:03:09 +01:00
Marcus Kida 7368e487af
chore: Add L10n for status translation 2022-12-07 16:32:51 +01:00
Marcus Kida 671b0e33f4
chore: Code-style adjustments 2022-12-07 16:03:52 +01:00
Marcus Kida bfdb2e2de9
chore: Update translated status footer style 2022-12-07 16:00:18 +01:00
Marcus Kida dc174b4b6d
feat: Implement translation progress indicator on status 2022-12-07 15:52:38 +01:00
Marcus Kida 1020ca531a
feat: Implement status translation info footer and reversion 2022-12-07 15:41:33 +01:00
Jed Fox 4f8ca8d481
Use a non-opaque background color for the image view 2022-12-03 14:07:43 -05:00
Jed Fox 1642839084
Force card into large mode if it has an embed 2022-12-03 14:03:53 -05:00
Jed Fox 285fbd4247
Fix divider not visible in compact cards 2022-12-03 14:02:22 -05:00
Jed Fox 3c806393a3
Fix core data update 2022-12-03 14:00:01 -05:00
Jed Fox 7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox 1379cdc448
Disable cards in notifications
both to save space and because I’m too lazy to wire up the delegate methods for the menu
2022-12-03 13:41:51 -05:00
Jed Fox 17b39da316
Add “Copy,” “Share,” and “Share Link in Post” actions to cards 2022-12-03 13:38:32 -05:00
Jed Fox 3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
Jed Fox 348e176f89
slight code reorg 2022-12-03 11:30:44 -05:00
Jed Fox e46c25892d
Add label to the “load embed” button 2022-12-03 11:30:44 -05:00
Jed Fox c67e6ce45e
Fix white flash in dark mode 2022-12-03 11:27:51 -05:00
Jed Fox 7944ec6399
Load embed web view only on tap (for privacy) 2022-12-02 23:29:14 -05:00
Jed Fox 5932d00f2f
add a divider between the image and the text in the card 2022-12-02 22:56:12 -05:00
Jed Fox 946d47abdd
Fix highlight behavior 2022-12-02 22:35:18 -05:00
Jed Fox a29e88b60b
Fix web view reuse 2022-12-02 22:10:35 -05:00
Jed Fox 1c5b66f7e7
Embed a web view for viewing content inline 2022-12-02 20:35:11 -05:00
Marcus Kida ac76e7f435
feat: Implement translation of reposts 2022-12-02 23:15:07 +01:00
Marcus Kida d5be87992d
feat: Implement /translate endpoint 2022-12-02 23:15:07 +01:00
Marcus Kida 9affb0f637
feat: Implement `translatedContent` which can be used to replace the StatusView content 2022-12-02 23:15:06 +01:00
Jed Fox 16a814a27c
Cap the height of the status card 2022-12-02 16:02:05 -05:00
Jed Fox 52f5213990
Allow a little bit of variance from square for compact layout 2022-12-02 15:54:02 -05:00
Marcus Kida a6ff6e7cec
chore: Update localizable strings for follow tags 2022-12-02 11:06:15 +01:00
CMK b15ae5e50f
Merge pull request #717 from mastodon/fix-issue-660
Workaround paste crash on iOS 14.x issue
2022-12-02 13:40:47 +08:00
Nathan Mattes 8ed451e858
Merge pull request #711 from j-f1/search-and-explore
Rename second tab to “Search and Explore”
2022-12-01 21:42:44 +01:00