Jed Fox
754b0a7eb0
Move HUDButton to MastodonUI
2022-12-20 09:37:13 -05:00
Nathan Mattes
2bb86f79a4
Merge pull request #793 from j-f1/status-a11y-again
...
Improve status accessibility
2022-12-20 14:11:06 +01:00
Nathan Mattes
08b63bda00
Merge pull request #753 from j-f1/following-customization
...
Differentiate between “My followers” and other accounts followers for i18n
2022-12-20 14:05:07 +01:00
Jed Fox
a05b794090
Hide post contentMetaText when it is empty
2022-12-19 15:17:46 -05:00
Jed Fox
6ae1446a92
Add reply/reblog/favorite actions to statuses
2022-12-19 14:53:00 -05:00
Jed Fox
a7b0f30d08
Fix status view not having actions from the menu
2022-12-19 14:24:50 -05:00
Nathan Mattes
da3f631380
Merge pull request #736 from cdoncarroll/cdoncarroll-VisibleWindowTouches
...
Add Debug Option For Displaying Touches
2022-12-19 15:51:26 +01:00
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
1d7dc2f266
Bump to iOS 15 deployment target and fix build issues
2022-12-17 20:26:20 +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
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
855f626c42
fix: Make translatedContent a transient CoreData property
2022-12-14 09:35:45 +01:00
Jed Fox
47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n
2022-12-13 10:07:37 -05:00
Marcus Kida
2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option
2022-12-12 16:41: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
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
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
52fa05b0fc
Add UIWindow subclass to display all touches.
2022-12-05 10:21:29 -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
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
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
CMK
fd9a253fac
fix: workaround paste crash on iOS 14.x issue
2022-12-01 15:29:56 +08:00
Marcus Kida
7aed050ded
Merge pull request #600 from woxtu/nil-coalescing
...
Remove redundant nil coalescing
2022-11-29 14:41:52 +01:00
Marcus Kida
248d0a5570
fix: Text in compose post is not selectable, focussable, pastable
2022-11-29 11:51:28 +01:00
Kyle Bashour
61a07e9a5b
Layout improvements
2022-11-27 21:00:03 -08:00
Kyle Bashour
8a8ecb0b68
Improve layout
2022-11-26 22:05:43 -08:00
Kyle Bashour
3a90b1c865
Change name and improve a11y
2022-11-26 21:47:49 -08:00
Kyle Bashour
03918301fb
Space buttons instead of stretching
2022-11-26 19:26:10 -08:00
Kyle Bashour
4616d40519
More spacing
2022-11-26 19:22:05 -08:00
Kyle Bashour
439217d0e1
Constraints work
2022-11-26 19:21:47 -08:00
Sven Weidauer
a247bfc91f
Remove dead code.
2022-11-26 16:38:02 +01:00
Sven Weidauer
bf741a3f63
Merge remote-tracking branch 'upstream/develop' into fix-warnings
2022-11-26 16:08:26 +01:00
Kyle Bashour
00af336298
Remove some debugging
2022-11-25 20:20:26 -08:00
Kyle Bashour
3a732b688c
Better layout
2022-11-25 20:16:42 -08:00
Kyle Bashour
ba7955bdb5
Handle taps
2022-11-24 07:48:07 -08:00
Kyle Bashour
f8d1afc7e4
Working pretty well
2022-11-23 21:51:39 -08:00
Kyle Bashour
a4cab15d86
Make it compile
2022-11-23 19:03:54 -08:00
Kyle Bashour
d0f1bb82f7
Merge branch 'develop' into kb/link-previews
...
# Conflicts:
# MastodonSDK/Package.swift
2022-11-23 18:42:16 -08:00
CMK
a45fa65802
chore: set minimal size limit for photo to 1MiB
2022-11-23 12:27:46 +08:00
CMK
f784df912d
fix: no downscaling for raw image from camera issue
2022-11-22 15:59:29 +08:00
Marcus Kida
12bfff8b00
Merge pull request #579 from woxtu/patch
...
Fix typos
2022-11-21 17:31:05 +01:00
Rose
8f61562355
Fix compiler warnings
...
Including fixing some deprecations
2022-11-21 10:12:54 -05:00
Jed Fox
228a9a1798
Revert auto-formatter changes to file
2022-11-21 08:46:49 -05:00
Jed Fox
788bdb14f8
Remove duplicate timestamps
2022-11-21 08:40:04 -05:00
Jed Fox
82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y
2022-11-21 08:39:08 -05:00
CMK
2064a318c3
Merge branch 'main' into develop
...
# Conflicts:
# Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
CMK
ce076b264b
fix: hashtag auto complete issue
2022-11-19 00:56:44 +08:00
Nathan Mattes
d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
...
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00
Nathan Mattes
96c3e17531
Fix some warnings
2022-11-17 23:16:21 +01:00
Stefan Painhapp
9e65ccfd7e
Pin plusCircleImageView to checkmarkBackgroundView
2022-11-18 01:56:39 +09:00
Stefan Painhapp
bf01ef80f6
Revert changes in NotificationView
2022-11-18 01:54:03 +09:00
Stefan Painhapp
abe25f2156
Refactor pin to (parent) layout constraints as extension of UIView
2022-11-18 01:45:27 +09:00
Marcus Kida
d93d094734
Merge pull request #618 from mastodon/fix-compose-content-validate
...
Fix compose content could not post media only issue
2022-11-17 13:53:48 +01:00
CMK
be255ff53b
fix: compose content could not post media only issue
2022-11-17 20:41:55 +08:00
David Godfrey
5c508dfce0
Sort emoji alphabetically, and into sections
2022-11-17 00:20:02 +00:00
CMK
8b7b6c4067
fix: configure header code not dispatch on UI thread issue
2022-11-16 22:31:21 +08:00
woxtu
675df849e3
Remove redundant nil coalescing
2022-11-16 12:21:08 +09:00
Marcus Kida
eb26a4d6c3
fix: Improve media inline appearance
2022-11-15 15:44:51 +01:00
Marcus Kida
92ab45f650
Merge pull request #556 from nossipova/519-toot-menu
...
Remove mute/block/report from menu for own toots
2022-11-15 07:44:58 +01:00
Kyle Bashour
ae24f95e31
wip
2022-11-14 13:26:25 -08:00
Jed Fox
66a08e5a4e
Merge remote-tracking branch 'upstream/develop' into multiline-content-warning
2022-11-14 14:07:53 -05:00
Jed Fox
8e12d77a96
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y
2022-11-14 14:03:02 -05:00
CMK
220fd6ae02
feat: improve the i18n workflow
2022-11-15 01:44:28 +08:00
Jed Fox
b2e448d67c
Merge remote-tracking branch 'upstream/develop' into multiline-content-warning
2022-11-14 08:49:15 -05:00
CMK
0a68059122
Merge branch 'develop' into fix-reply-visibility
2022-11-14 19:59:19 +08:00
CMK
0612d97227
Merge branch 'develop' into compose-a11y
2022-11-14 19:47:28 +08:00
CMK
591acb4c2c
feat: restore keyboard shortcut for compose scene
2022-11-14 19:43:32 +08:00
CMK
af0dc45d1b
feat: update i18n string
2022-11-14 19:27:09 +08:00
CMK
bc428486ae
chore: update i18n resources
2022-11-14 19:20:14 +08:00
CMK
25f4a6b082
feat: restore post compose limit
2022-11-14 19:14:46 +08:00
CMK
2b2707c600
feat: add throttle for post compose auto-complete query
2022-11-14 18:53:09 +08:00
CMK
7e7f41112e
fix: visibility missing bind back to source issue
2022-11-14 18:41:54 +08:00
woxtu
a36a303532
Fix typos
2022-11-14 02:53:59 +09:00
CMK
81bc8eb662
fix: video may in portrait mode issue
2022-11-14 01:19:39 +08:00
CMK
1e71f0c147
feat: restore media description text field
2022-11-14 00:57:44 +08:00
CMK
91bfc8ad5a
feat: add paste image input for post compose scene
2022-11-13 22:57:35 +08:00
CMK
26c6b8f2ee
chore: code clean up
2022-11-13 22:40:36 +08:00
CMK
b47f8ead37
fix: compile issue
2022-11-13 22:40:26 +08:00
CMK
f80b751d93
feat: camera and file attachment input
2022-11-13 22:40:03 +08:00
CMK
929a27d572
feat: [WIP] restore publish button and compose pre-insert content
2022-11-13 22:08:26 +08:00
CMK
88307057c0
feat: restore emoji picker for post compose
2022-11-13 19:42:50 +08:00
CMK
e7ef0f79c7
feat: restore auto-complete for compose scene content input
2022-11-13 16:04:29 +08:00
Kyle Bashour
daeb2ef70f
wip
2022-11-11 18:35:18 -08:00
CMK
f7d0186bf3
feat: add compress progress display. Set video compress config to 720p at 60 fps
2022-11-11 21:28:19 +08:00
CMK
0100d8cbab
feat: compress video before upload
2022-11-11 19:02:44 +08:00
CMK
088e6f05ec
feat: upload media in queue
2022-11-11 18:10:13 +08:00
Natalia Ossipova
38221e0599
Remove mute/block/report from menu for own toots ( #519 )
2022-11-10 17:17:22 +01:00
CMK
d6b90f40bd
feat: add simple progress remain time estimate
2022-11-10 18:36:36 +08:00
CMK
fec7db2f41
Merge branch 'develop' into feature-compose-media
2022-11-10 16:27:49 +08:00
Jed Fox
c2232a596d
Improve accessibility labels for reply/reblog posts
2022-11-09 16:59:02 -05:00
Jed Fox
393e4632da
Add secondary actions to notifications
2022-11-09 16:33:54 -05:00
Jed Fox
b3bc6dc273
Add accessibility labels to notifications, only have 1 element per notification
2022-11-09 15:50:36 -05:00
Jed Fox
8e7bdd4aec
Allow content warning descriptions to be on multiple lines
2022-11-09 14:01:49 -05:00
Nathan Mattes
ceee4bcf48
Merge pull request #502 from j-f1/a11y-post-links
...
Add accessibility actions for links/mentions/hashtags in posts
2022-11-09 15:47:49 +01:00
Jed Fox
60b69ca2e5
Add real localization keys
2022-11-08 13:50:23 -05:00
Jed Fox
eef012678b
Merge remote-tracking branch 'upstream/develop' into compose-a11y
2022-11-08 13:42:03 -05:00
Jed Fox
24c426f7f3
Add localization info
2022-11-08 13:30:17 -05:00
Nathan Mattes
21800a4c81
Add optionSet for reblog again ( #365 )
2022-11-08 16:38:01 +01:00
Nathan Mattes
00ab7ac2b0
Remove RelationshipActionOption for reblogs again ( #365 )
2022-11-08 16:38:01 +01:00
Nathan Mattes
746d70f3e0
[WIP] Show show/hide-reblog-menu-entry only for people you already follow ( #365 )
...
Please consider this WIP, as the breaks the ProfileRelationshipActionButton, somethingsomething RelationshipActionOptionSet for whatever reason, I assume.
Also: fixed some typos and warnings.
2022-11-08 16:38:01 +01:00
Nathan Mattes
ee523c098e
Make show/hide reblogs finally work ( #365 )
...
oh, and also indent to 4 spaces.
I needed some time to wrap my head around the data model and especially the various view-models, but hey, in the end it works. I still feel like this "I have no idea what I'm doing"-dog :D
2022-11-08 16:38:01 +01:00
Nathan Mattes
18720a9a51
Add localized strings ( #365 )
2022-11-08 16:38:01 +01:00
Nathan Mattes
ff65f50689
Add menu-entry for show/hide reblogs ( #365 )
...
translations are still missing, as well as viewModel/networking-stuff.
2022-11-08 16:38:01 +01:00
CMK
bdedd54318
feat: bind the thumbnail and trigger media upload task
2022-11-08 19:40:58 +08:00
CMK
fc3750c377
feat: add mediaView for compose scene
2022-11-08 16:39:19 +08:00
Jed Fox
aa87340345
set up translations for link labels
2022-11-07 18:21:19 -05:00
Jed Fox
549739b6cb
Add new strings to Localization folder
2022-11-07 06:26:28 -05:00
Jed Fox
022f8c1115
Clarify meaning of character counter
2022-11-06 20:52:22 -05:00
Jed Fox
7ac9e7c564
Add description to compose content toolbar container
2022-11-06 20:52:22 -05:00
Jed Fox
7a3b9205e5
Add missing labels to compose toolbar
2022-11-06 20:52:22 -05:00
Jed Fox
d489943b45
Improve ComposeContentView.avatarView label
2022-11-06 20:52:22 -05:00
Jed Fox
1ce756a849
Add accessibility actions for links/mentions/hashtags in posts
2022-11-03 14:59:58 -04:00
Jed Fox
ceece731a4
Use LPLinkMetadata to improve sharing behavior
2022-11-03 11:18:09 -04:00
Jed Fox
d7739340f2
Merge remote-tracking branch 'upstream/develop' into post-author-a11y
2022-11-01 09:40:01 -04:00
CMK
0b0d7fcd48
chore: cherry pick 00eddc2aae
from feature-post-edit branch
2022-11-01 14:34:00 +08:00
Jed Fox
211ff344fb
Update reply button labelling to match the others
2022-10-31 15:07:27 -04:00
Jed Fox
98b87a0b20
fix removing status metric view from a11y heirarchy
2022-10-31 13:20:53 -04:00
Jed Fox
4da11c9dfb
Mark the spoiler overlay view as a button
2022-10-31 13:15:29 -04:00
Jed Fox
8f3caba089
Remove the status metric view from the accessibility hierarchy
2022-10-31 12:40:18 -04:00