Commit Graph

1205 Commits

Author SHA1 Message Date
Marcus Kida 2314646d98
fix: Always allow to continue when reporting a post if at least one is selected 2022-11-21 11:27:14 +01:00
Nathan Mattes df5099dd30
Merge pull request #587 from woxtu/dims-background
Replace a deprecated property
2022-11-21 06:33:23 +01:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
Stefan Painhapp ace4537b7d Merge branch 'develop' into issue607 2022-11-18 19:08:06 +09:00
Stefan Painhapp 7ab62394de Handle safe areas for image preview 2022-11-18 19:07:44 +09:00
Marcus Kida ad7904e863
fix: Status notification shows "mentioned you" text 2022-11-18 10:54:40 +01:00
Marcus Kida be2583094d
chore: Move UIImage(systemName: "chevron.up.chevron.down") to UIImage Extension 2022-11-18 10:10:54 +01:00
Marcus Kida 3a2c99c75a
chore: Move accountToggleIndicator to Constants 2022-11-18 10:07:15 +01:00
Marcus Kida 3acdbcc2ce
chore: Make accessoryImageView more universal 2022-11-18 10:07:14 +01:00
Marcus Kida 533e626094
chore: Rename accountSwitcherChevron -> accountToggleIndicator 2022-11-18 10:07:14 +01:00
Marcus Kida 8fd37c8362
feat: Implement more obvious account switcher 2022-11-18 10:07:14 +01:00
Marcus Kida 4cc734fac9
chore: Link related GitHub issue to commented-out code 2022-11-18 09:56:02 +01:00
Marcus Kida 3020f28ef4
chore: Disable double-tap-to-switch-account 2022-11-18 09:40:45 +01: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 e2e93bdaf0 #607 Use safe areas for image preview 2022-11-18 03:53:52 +09:00
Stefan Painhapp ebe293216c Pin vibrancyVisualEffectView to blurVisualEffectView 2022-11-18 02:32:26 +09:00
Stefan Painhapp d27d7456c9 Merge branch 'develop' into refactorPinToParent 2022-11-18 02:20:58 +09:00
Stefan Painhapp e56104c756 Revert paddingView.pinToParent 2022-11-18 02:07:33 +09:00
Stefan Painhapp 60235c3989 Add missing view 2022-11-18 01:47:55 +09:00
Stefan Painhapp abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
CMK b5d883865d fix: prefer the original mode to top-two-tier tree mode 2022-11-18 00:16:21 +08:00
CMK 1ca3b66e40 chore: code cleanup 2022-11-18 00:00:17 +08:00
Marcus Kida 0b0252fca2
Merge pull request #617 from mastodon/account_toggle_double_tap_ipad
feat: Implement double-tap account switching on iPad
2022-11-17 16:51:26 +01:00
CMK 095881c5d5
Merge pull request #616 from painhapp/videoLayoutConstraints
Fix Video Player Constraints issue
2022-11-17 23:42:55 +08:00
Marcus Kida e8e8a2a4c9
fix: Don't delay touches ended 2022-11-17 15:45:25 +01:00
Marcus Kida d8cf4606e2
fix: TabBar has noticeable delay when selecting next tab 2022-11-17 15:33:21 +01:00
Jed Fox f4018935f9
Re-add missing debug line 2022-11-17 07:25:16 -05:00
Marcus Kida 60d9d3537d
feat: Implement double-tap account switching on iPad 2022-11-17 10:22:13 +01:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Jed Fox 4af5d3910a
Wire up the header image to be actually displayed 2022-11-16 23:05:48 -05:00
Jed Fox 23a0943b12
Constrain size 2022-11-16 22:52:44 -05:00
Jed Fox 5d91bcf8b5
Basic banner editing support 2022-11-16 22:49:49 -05:00
Marcus Kida 634796e9dc
fix: Only allow double-tap account toggle if more than 1 account exists 2022-11-16 13:43:54 +01:00
Marcus Kida 26576d888e
feat: Implement double-tap on profile Tab to quickly cycle through logged in Accounts 2022-11-16 12:54:51 +01:00
CMK c2bb14eaab
Merge pull request #520 from j-f1/account-switcher-a11y
Improve accessibility of the account switcher
2022-11-16 18:51:17 +08:00
CMK 35544b3066 fix: aspect ratio 2022-11-16 18:45:51 +08:00
Nathan Mattes 1c0dbc8064 Polish tableView (#540) 2022-11-16 08:16:32 +01:00
Nathan Mattes 9b2b42cddb Add a thin separator between tableView and searchTextField (#540) 2022-11-16 07:40:23 +01:00
Nathan Mattes 890ba49f4e Make magnifiying glass in searchTextField look great (#540)
Thank you @MainasuK :thumbs_up:
2022-11-16 07:38:04 +01:00
Nathan Mattes 5240006f07 Improve textfield-UX (#540) 2022-11-16 07:37:13 +01:00
woxtu 675df849e3 Remove redundant nil coalescing 2022-11-16 12:21:08 +09:00
Nathan Mattes d86d613b4a Remove todos (#540)
After discussion they will be taken care of when we rework the onboarding (spoiler)
2022-11-15 23:51:24 +01:00
Nathan Mattes 83e0c0e994 Slash more todos (#540)
- Apply some math for keyboard-dance
- Onboarding will be reworked nevertheless
2022-11-15 23:29:33 +01:00
Nathan Mattes 082e0933d2 Slash some todos (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes cf2f7850b7 Sprinkle in some localization (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes 378e04c9cb Don't show a server when you just tapped on one (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes 7c14d71630 Show main-screen after login (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes e7b8870329 Do the keyboard-dance (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes f293d17884 Add login (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes a910d67876 Filter servers (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes f9f14cff3c Make list of servers look nice (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes e987affcc9 Mask corners of textfield and tableview (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes bdbcd128fa Set some backgroundcolor (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes ea78f884ab Download and show server list (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes cc6ec42c5c Add TextField and TableView (#540)
tableView is green for now, cell's are coming next
2022-11-15 23:29:32 +01:00
Nathan Mattes 08302cf2fa Move some code around (#540)
and remove an obsolete property
2022-11-15 23:29:32 +01:00
Nathan Mattes 38317d8fa6 Add title and subtitle (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes 9c220a6abc Add navigation-view (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes 47401b0940 Add ViewController (#540) 2022-11-15 23:28:57 +01:00
Nathan Mattes 367e759f50 Use border instead of shadow for validation results (#540) 2022-11-15 23:27:24 +01:00
Nathan Mattes 366070d12e Remove obsolete cells (#540) 2022-11-15 23:27:24 +01:00
Nathan Mattes 2d17253c65 Remove obsolete code (#540) 2022-11-15 23:27:24 +01:00
Nathan Mattes 83de4049d8 Remove emoji-label (#540) 2022-11-15 23:27:24 +01:00
Nathan Mattes 26d7287319 Add what needs to be done for better onboarding (#540) 2022-11-15 23:27:24 +01:00
Jed Fox ff5a0876c8
Change childForStatusBarStyle 2022-11-15 13:35:33 -05:00
Jed Fox 60efe4f023
Fix status bar when dismissing 2022-11-15 13:13:22 -05:00
Marcus Kida 4f88e74c69
Merge pull request #588 from kylebshr/kb/refresh-control-z-index
Fix refresh control positioning
2022-11-15 09:54:30 +01:00
Jed Fox 0687ef4f8e
Add support for tapping an image to hide all the chrome 2022-11-14 21:52:16 -05:00
Jed Fox 5277ec191b
Drop attempt to fade in the supplementary interface
sometimes it just stayed hidden?
2022-11-14 21:50:38 -05:00
Jed Fox ac28c2ee4f
Add Live Text support to MediaPreviewImageView 2022-11-14 20:44:47 -05:00
Kyle Bashour 845bf05690 Merge branch 'develop' into kb/search-appearance
* develop: (224 commits)
  Fix build
  feat: improve the i18n workflow
  chore: update SwiftGen to the latest version
  chore: code clean
  chore: Move updateActiveUserAccountPublisher to AuthenticationService
  Fix authenticated user account not reloaded
  feat: restore keyboard shortcut for compose scene
  feat: update i18n string
  chore: update i18n resources
  feat: restore post compose limit
  fix: iPad navigation bar still could be large title issue
  feat: add throttle for post compose auto-complete query
  fix: visibility missing bind back to source issue
  Update Localization/app.json
  New translations app.json (Galician)
  New translations Intents.strings (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  New translations Intents.stringsdict (Portuguese, Brazilian)
  New translations ios-infoPlist.json (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  ...
2022-11-14 14:21:33 -08:00
Kyle Bashour 754cc10d8c Merge branch 'develop' into kb/refresh-control-z-index
* develop: (224 commits)
  Fix build
  feat: improve the i18n workflow
  chore: update SwiftGen to the latest version
  chore: code clean
  chore: Move updateActiveUserAccountPublisher to AuthenticationService
  Fix authenticated user account not reloaded
  feat: restore keyboard shortcut for compose scene
  feat: update i18n string
  chore: update i18n resources
  feat: restore post compose limit
  fix: iPad navigation bar still could be large title issue
  feat: add throttle for post compose auto-complete query
  fix: visibility missing bind back to source issue
  Update Localization/app.json
  New translations app.json (Galician)
  New translations Intents.strings (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  New translations Intents.stringsdict (Portuguese, Brazilian)
  New translations ios-infoPlist.json (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  ...
2022-11-14 14:21:16 -08:00
Kyle Bashour 7b3c7bbd7b Fix refresh control positioning 2022-11-14 14:09:59 -08:00
Jed Fox 6326e35266
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-14 14:03:57 -05:00
Jed Fox 8e12d77a96
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-14 14:03:02 -05:00
Nathan Mattes 84ffa3ba56
Merge pull request #564 from ReactiveRaven/feature/validated-fields
Visual indication of validated URL
2022-11-14 19:39:17 +01:00
CMK b6ed347afc
Merge pull request #584 from mastodon/fix-reply-visibility
Fix reply visibility not inherit issue
2022-11-15 02:13:38 +08:00
CMK abe6292696 chore: code clean 2022-11-15 00:59:04 +08:00
woxtu 82cc4f9fea Replace a deprecated property 2022-11-15 00:36:50 +09:00
Marcus Kida 7a3039570a
Merge pull request #544 from j-f1/account-header-a11y
Add accessibility labels to the profile navigation bar
2022-11-14 15:43:32 +01:00
Jed Fox 97b6a3de4c
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-14 08:45:36 -05:00
Jed Fox 120065104c
Revert “Add a custom action for ‘switch accounts’”
This reverts commit f9daeea4d3
2022-11-14 08:45:10 -05:00
Marcus Kida 548543a8c0
chore: Move updateActiveUserAccountPublisher to AuthenticationService 2022-11-14 14:15:28 +01:00
Marcus Kida a2f2fb83cd
Fix authenticated user account not reloaded 2022-11-14 13:12:16 +01:00
CMK 591acb4c2c feat: restore keyboard shortcut for compose scene 2022-11-14 19:43:32 +08:00
CMK 4d03e114ca fix: iPad navigation bar still could be large title issue 2022-11-14 19:14:13 +08:00
woxtu 88b54b2962 Fix typos 2022-11-14 02:56:20 +09:00
woxtu a36a303532 Fix typos 2022-11-14 02:53:59 +09:00
CMK 939429aacc feat: restore share action extension 2022-11-14 00:05:43 +08:00
CMK 91bfc8ad5a feat: add paste image input for post compose scene 2022-11-13 22:57:35 +08:00
CMK b1f03d397c
Merge pull request #486 from NanoSector/feature/385-paste-from-clipboard
feat: handle paste event and insert images on the clipboard
2022-11-13 22:46:20 +08:00
CMK 1e8bb1dca2 Merge branch 'develop' into feature-compose-media 2022-11-13 22:41:34 +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
Jeff Verkoeyen 0f495e17dd Adjust the padding and layout of the NavigationActionView. 2022-11-12 22:50:36 -08:00
Jeff Verkoeyen 87df13987a Ensure that the welcome buttons have adequate padding at larger Dynamic Type configurations. 2022-11-12 20:30:57 -08:00
Jeff Verkoeyen daedd2b5be [Welcome] Allow buttons to grow with Dynamic Type.
The buttons now have a minimum height rather than a constant height.

Also made a couple minor improvements / bug fixes:

- Both buttons now react to Dynamic Type settings changes (enabled `adjustsFontForContentSizeCategory`).
- A layout pass is now enforced in traitCollectionDidChange to ensure that setupButtonShadowView is using the right bounds.
- signUpButtonShadowView now uses signUpButtonShadowView's bounds.
2022-11-12 13:44:43 -08:00
David Godfrey 082ddc38e2 Merge remote-tracking branch 'theirs/develop' into feature/validated-fields 2022-11-12 14:45:49 +00:00