Commit Graph

5229 Commits

Author SHA1 Message Date
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 110a89f499
fix: AppContext is missing for some StatusView.ViewModels 2022-12-13 07:07:08 +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
Eugen Rochko b02f12291f New translations app.json (Vietnamese) 2022-12-11 05:21:17 +01:00
Eugen Rochko 06ae31e9ed New translations Localizable.stringsdict (Hebrew) 2022-12-09 21:40:03 +01:00
Eugen Rochko 4d47e574c7 New translations app.json (Hebrew) 2022-12-09 21:40:02 +01:00
Eugen Rochko ade1a73621 New translations Localizable.stringsdict (Hebrew) 2022-12-09 18:54:04 +01:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01:00
Chase Carroll d2d981ab0e Fix broken CCPoint conversion 2022-12-09 09:18:56 -05: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
Eugen Rochko 0e6b606289 New translations Intents.strings (German) 2022-12-07 16:46:17 +01:00
Eugen Rochko 8f3c755053 New translations app.json (German) 2022-12-07 16:46:16 +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
Chase Carroll 34b3d7d559 Fix file header 2022-12-07 07:20:08 -05:00
Chase Carroll 08ec662e22 Fixing case where events aren't forwarded 2022-12-07 07:19:48 -05:00
Chase Carroll 6f09034668 Tweak touch view border color 2022-12-06 14:42:25 -05:00
Chase Carroll b634d2b844 Add extra contrast on the touch views
Felt like they needed to stand out just a bit more in light mode.
2022-12-06 11:23:04 -05:00
Chase Carroll 5648b13517 Tidy up. 2022-12-05 20:22:50 -05:00
Chase Carroll 4689c8e78f Use modern APIs for accessing key window
Shouldn't be relying on deprecated API. Tsk. Tsk.
2022-12-05 16:01:41 -05:00
Chase Carroll 7f58422900 Add debug menu option
Puts an option in the debug menu for toggling on/off visible touches.
2022-12-05 10:32:10 -05:00
Chase Carroll 12791ddf28 Use UIWindow subclass in DEBUG builds 2022-12-05 10:22:14 -05:00
Chase Carroll 52fa05b0fc Add UIWindow subclass to display all touches. 2022-12-05 10:21:29 -05:00
Eugen Rochko dd6f5f4254 New translations app.json (Turkish) 2022-12-04 21:18:26 +01:00
Eugen Rochko ef07d9c963 New translations app.json (Turkish) 2022-12-04 20:13:17 +01:00
Eugen Rochko d57ae66b80 New translations app.json (Thai) 2022-12-03 21:12:34 +01:00
Jed Fox 41e9cfa80d
Fix i18n formatting for a11y.plural.count.characters_left 2022-12-03 14:18:39 -05: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 ebf3835403
extract out StatusActivityItem class 2022-12-03 13:09:04 -05:00
Jed Fox 3212e54bf5
Fix generating relay delegate methods with return values 2022-12-03 13:07:55 -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