Commit Graph

331 Commits

Author SHA1 Message Date
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 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
Marcus Kida 7aed050ded
Merge pull request #600 from woxtu/nil-coalescing
Remove redundant nil coalescing
2022-11-29 14:41:52 +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
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
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
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
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
Kyle Bashour ae24f95e31 wip 2022-11-14 13:26:25 -08:00
Kyle Bashour daeb2ef70f wip 2022-11-11 18:35:18 -08:00
Natalia Ossipova 38221e0599 Remove mute/block/report from menu for own toots (#519) 2022-11-10 17:17:22 +01: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
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
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
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
Jed Fox 3876855bc9
Move the post author information to a custom subview that handles accessibility 2022-10-31 12:01:14 -04:00
Jed Fox 87e05ecdab
Add support for UIAccessibilityCustomAction in MastodonMenu 2022-10-31 11:32:31 -04:00
CMK a7d5e23406 feat: [WIP] restore compose status publish function with background task support 2022-10-31 20:41:19 +08:00
CMK 44a8b818e4 feat: [WIP] restore compose poll view 2022-10-21 19:12:44 +08:00
CMK 4367e8eaba feat: [WP] restore the content compose via SwiftUI and support expandable reply view for compose scene 2022-10-11 18:31:40 +08:00
CMK 02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK bb5c999bea chore: [WIP] inject AuthContext into ViewModel 2022-10-09 20:07:57 +08:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
CMK 64f3d2fe3a chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00
nyaxix 213ef94ec5 Add bookmarking and bookmarks view
Based heavily on the work for favorites.

Adds bookmarking functionality to the application. The status view has been updated to include a bookmark button that can bookmark/unbookmark a status. The profile page has been updated to include a button in the header to navigate to a page that lists your bookmarks.
2022-08-14 17:51:36 -05:00
CMK 4bebdf7edf
Merge pull request #467 from mastodon/fix-ui-appearance
Fix some UI appearance issues
2022-07-15 04:14:10 +08:00
CMK 65dcf7d6c2 fix: discovery For You profile card has the same color in the true dark mode issue 2022-07-15 03:32:23 +08:00
CMK 0be721be3b feat: update follow request UI 2022-07-13 17:44:47 +08:00
CMK 43c8cd51b6 Merge branch 'feature-purple-tint' into release-1.4.5
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-07-01 14:01:16 +08:00
CMK 26a44b93f2 chore: use i18n words for follow request action 2022-06-30 15:58:09 +08:00
CMK 8a5d26dc38 feat: add follow request notification UX. resolve #390 #458 2022-06-30 15:02:24 +08:00
CMK bcfdaf2ca7 feat: add interaction for follow request notification 2022-06-28 19:00:39 +08:00
CMK 930c175ce3 feat: update poll tint color 2022-06-14 13:16:54 +08:00
CMK 0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK e119a06bba chore: using i18n strings 2022-05-17 23:27:58 +08:00
CMK e1710299d5 feat: add reblogged by and favorited by user list entry for status 2022-05-17 22:09:43 +08:00
CMK 57c40b9050 feat: add familiar followers list 2022-05-17 18:49:29 +08:00
CMK ce59a18d3e feat: add custom emoji and Dynamic Type supports for familiar followers component 2022-05-17 17:40:19 +08:00
CMK bfd892e84e fix: status view header icon layout trimmed under "Accessibility XXXL" size issue 2022-05-17 17:03:19 +08:00
CMK 531f71b77d feat: add familiar followers UI component for ProfileCard 2022-05-16 19:42:41 +08:00
CMK 70a6e11d30 chore: use i18n strings for report flow 2022-05-11 21:10:10 +08:00
CMK 945241e730 fix: NewsView image layout not fixed issue 2022-05-11 18:39:34 +08:00
CMK 1d96609003 fix: ProfileCardView layout initial setup failure issue 2022-04-19 20:57:21 +08:00
CMK 64640edd2b feat: add ProfileCardView a11y supports 2022-04-18 17:44:19 +08:00
CMK 80fe24ed22 fix: extend corner radius for ProfileCard avatar background 2022-04-18 17:18:24 +08:00
CMK 03af68924c feat: add favicon for NewsView 2022-04-18 17:14:49 +08:00
CMK 7772783555 fix: pick sever search bar accessible a11y issue 2022-04-18 16:56:29 +08:00
CMK 41e1b75c62 feat: add sensitive hint label for status media 2022-04-18 16:15:24 +08:00
CMK c4ab4f68c6 fix: status sensitive toggle logic issue 2022-04-18 15:33:29 +08:00
CMK c57c3b4304 feat: make adaptive profile card layout on iPad when search tab display as compact column 2022-04-18 10:47:55 +08:00
CMK 9477071556 chore: update i18n 2022-04-15 17:33:48 +08:00
CMK f5aaf2737f feat: add discovery endpoint check logic and handle relationship action 2022-04-15 17:17:39 +08:00
CMK b0fca49413 feat: add For You tab for Discovery scene 2022-04-14 21:15:21 +08:00
CMK 080f20d253 feat: add hashtag and news list for Discovery scene 2022-04-13 20:43:16 +08:00
CMK 67aa1d670b fix: non-ascii character in URL can not open issue. resolve #304 2022-04-11 12:27:26 +08:00
CMK 2a986ec1ce fix: media sensitive button logic issue 2022-04-07 19:49:04 +08:00
CMK 4c1870f921 chore: update body font size to 17pt 2022-04-07 19:28:06 +08:00
CMK 91e2882154 chore: update horizontal compact mode notification timeline margin looks like 2022-02-18 19:09:12 +08:00
CMK 78fc34c08d chore: update notification timeline margin 2022-02-18 18:25:26 +08:00
CMK a1b9ac8394 chore: update status timeline margin 2022-02-18 17:49:20 +08:00
CMK eba1f69bf6 fix: player button icon not reset issue 2022-02-17 10:47:15 +08:00
CMK 4c41e94f8d fix: blurhash image not display during image loading issue 2022-02-15 20:12:53 +08:00
CMK 18a902c8ae chore: update post content sensitive style 2022-02-15 20:08:39 +08:00
CMK 792208aebb feat: restore post filter supports 2022-02-15 19:44:45 +08:00
CMK d4a4e4ba3d chore: update color panel 2022-02-15 18:16:09 +08:00
CMK 0b1dc13894 chore: restore RTL layout for post content 2022-02-15 16:25:29 +08:00
CMK 74334126f0 chore: update i18n strings 2022-02-15 14:45:34 +08:00
CMK caa9ab7a40 feat: add media interaction for notification timeline 2022-02-15 14:01:28 +08:00
CMK ce80409ead feat: make status detail accessible 2022-02-14 19:34:22 +08:00
CMK 0bc128ba79 feat: add content warning toggle button 2022-02-11 20:21:28 +08:00
CMK d3e8f85cb3 feat: add notification timeline fetcher 2022-02-11 19:27:14 +08:00
CMK 56ce39cb46 chore: update action toolbar icons 2022-02-11 15:27:29 +08:00
CMK ab4d525cec feat: make the home timeline readable for VoiceOver 2022-02-10 20:01:52 +08:00
CMK 471384d5f3 chore: remove spoiler toggle animation for table cell 2022-02-10 14:21:52 +08:00
CMK 582843f54a feat: add video player for audio/video kind media 2022-02-09 20:35:19 +08:00
CMK bdf7114fef feat: update status content warning UI 2022-02-08 19:50:18 +08:00
CMK f4bb2d947f feat: update report flow 2022-02-08 12:36:06 +08:00
CMK d332c98a0f feat: add content warning for post media 2022-01-29 19:51:40 +08:00
CMK caaf66286f feat: add content warning for post spoiler 2022-01-29 17:02:30 +08:00
CMK b76b3a2750 feat: adapt the app to async & await. Update timeline UI 2022-01-27 21:23:39 +08:00
CMK 7bf14c0450 feat: update register scene UI 2022-01-07 18:49:37 +08:00
CMK a7a36d503a feat: update server rule scene UI 2022-01-05 18:12:52 +08:00
CMK 1cdbd7fa2a feat: make UI works 2021-07-19 20:16:56 +08:00