Commit graph

233 commits

Author SHA1 Message Date
Thomas Ricouard 43cb5164d1 Profile use compact name formatter for numbers close #1057 2023-02-25 18:37:07 +01:00
Thomas Ricouard b036e90ce4 Simplify Timeline refresh 2023-02-25 10:10:27 +01:00
Thomas Ricouard abb1c53ae6 Various fixes 2023-02-24 17:16:39 +01:00
Thomas Ricouard 29aaa7c5cb Optimisations: Autoclosure for StatusRowViewModel 2023-02-24 13:25:21 +01:00
Thomas Ricouard 401bd7afb5 Edit profile: Fix fonts 2023-02-24 09:37:23 +01:00
Thomas Ricouard cc4768b5e7 Profile edit: Allow re order of fields 2023-02-24 09:23:16 +01:00
Yusuke Arakawa 293d680510
Fix follow button placement in the center (#1033)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-24 08:42:24 +01:00
Thomas Ricouard 63ff87f640 Move languages into Models 2023-02-24 08:24:51 +01:00
Thomas Ricouard 096e42b1c2 Profile edit: Add metadata editing 2023-02-24 07:55:24 +01:00
Thomas Ricouard 3f17afa8ac Accounts: Replace lock / robot emojis with SF Symbols 2023-02-23 18:57:48 +01:00
David Walter a0e37273a4
Fix scaling of custom emoji (#1020) 2023-02-22 22:13:46 +01:00
Ico Davids e4b880dfe5
Make primary action bold: (#1021) 2023-02-22 22:12:10 +01:00
Thomas Ricouard a4910037b8 Swiftformat . 2023-02-22 19:09:39 +01:00
Peter-Josef Meisch fc63830b27
Add lock icon to protected account (#1011)
Closes #915
2023-02-22 19:00:39 +01:00
Thomas Ricouard 105b7717a9 Fix #984 follow you being out of boundaries 2023-02-22 07:36:29 +01:00
Louis Lac bf49a4558c
Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Thomas Ricouard b259b6739e Swiftformat 2023-02-21 07:23:42 +01:00
Alex Grebenyuk c9e542a2ed
Fix crash when opening account details (#972) close #918 2023-02-21 07:03:24 +01:00
Thomas Ricouard 88173adc9e Add indicator for bots accounts 2023-02-20 18:15:45 +01:00
Thomas Ricouard 942279e482 Honour in app browser settings when opening profile about fields 2023-02-19 15:32:56 +01:00
Thomas Ricouard 6a03e06d3a Profile: Show about fields inline 2023-02-19 11:35:46 +01:00
Sean Goldin 274d36eec7
Fix 1 line note in centre (#938) 2023-02-18 21:25:45 +01:00
Peter-Josef Meisch 7cc1ca44b5
Display and edit notes on profiles (#929)
Closes #165
2023-02-18 18:28:16 +01:00
Alex Grebenyuk 425a4eef4f
Update to Nuke 12 (Beta 1) (#924)
* Install Nuke from nuke-12 branch

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-18 07:25:10 +01:00
Thomas Ricouard d958d10036 Remove Client and RouterPath from StatusRowView env object 2023-02-15 08:46:14 +01:00
Thomas Ricouard 1f14311c2c Better sharing for status and account close #837 2023-02-14 07:26:57 +01:00
Thomas Ricouard 86aad4145a Notifications: When multiple follow, open list of users instead of just one user 2023-02-13 07:00:42 +01:00
Thomas Ricouard aab397f2bb Fix profile pinned post UI 2023-02-12 18:14:34 +01:00
Thomas Ricouard eb6050a38f Swiftformat 2023-02-12 16:29:41 +01:00
Thomas Ricouard 9fd1b4ef73 Cleanup 2023-02-12 16:29:27 +01:00
Thomas Ricouard a959ea3606 Transition profile to List container 2023-02-12 16:13:57 +01:00
David Davies-Payne 11167c35c3
Also sort tags and lists in profile view (#764)
* Add CurrentAccount.sortedLists and .sortedTags

Sorts alphabetically, ascending, lowercased on title and name respectively.

* TimelineTab uses CurrentAccount.sortedLists and .sortedTags

* Account detail sorts tags and lists

Alphabetically, ascending, lowercased via CurrentAccount.sortedTags, .sortedLists
2023-02-10 06:38:18 +01:00
Thomas Ricouard 76c0c843cd Profile: Add a gap between pinned posts and other posts 2023-02-09 07:49:15 +01:00
Mackenzie f1fd18a04f
make share and copy links translatable (#551)
* make share and copy links translatable

* add placeholders to other files
2023-02-06 12:29:18 +01:00
Peter-Josef Meisch c7f22d5022
Add muting duration submenu (#662)
* Add muting duration submenu

* set japanese localizations
2023-02-06 12:25:51 +01:00
Thomas Ricouard b598434648 Fix action on notify menu in account detail 2023-02-05 21:46:21 +01:00
Thomas Ricouard 3615c396dd FIx open link in profile close #624 2023-02-03 07:15:19 +01:00
Thomas Durand 06e219597b
More fixes for #568 - Open Url in browser (#585)
* More fixes for #568

I saw the fix for StatusRowContextMenu, so this is a complement for this same bug accros the app

* Let it be just a clean up then ;)
2023-02-01 18:55:18 +01:00
Thomas Ricouard 4e77669181 Swiftformat 2023-02-01 12:49:59 +01:00
Thomas Ricouard 52eff96ab4 Iron out timeline issues with the new behaviour 2023-01-31 12:17:35 +01:00
Thomas Ricouard d9b166339d Fixes for iPad layout 2023-01-31 08:16:36 +01:00
Thomas Ricouard 1a351eaa7c Smoother scrolling up in the Timeline 2023-01-31 08:04:35 +01:00
Thomas Ricouard d88d9db1dc Transition Timeline to List + stream post automatically + keep position + new counter UI 2023-01-30 21:41:42 +01:00
Thomas Ricouard 24504e3bc2 Various optimizations to speed things up 2023-01-30 19:14:43 +01:00
Thomas Ricouard 16636b12a9 Swift format 2023-01-30 07:27:06 +01:00
Thomas Durand c6c066564d
Better profile header (#526)
* Prevent opening quicklook for missing avatar or header. Fixes #127

* Using theme for missing header background in profile

* fix

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-30 07:15:18 +01:00
Matthias Buchetics d9546d92d9
Improved stretchy account header (#518) 2023-01-30 07:13:38 +01:00
Thomas Ricouard b89221a535 Code cleanup / format / lint 2023-01-27 20:36:40 +01:00
Thomas Ricouard de4346c47e Add push notification settings in profile context menu 2023-01-27 12:18:17 +01:00
Thomas Ricouard 43ac56302e Move settings tab and profile tab around 2023-01-26 07:34:29 +01:00
Thomas Ricouard 5cd9ddd945 New account settings + create / edit server side filters 2023-01-25 21:18:34 +01:00
Jérôme Danthinne d0f16c84f7
Move notification and reboosts actions into account menu (#382) 2023-01-25 21:15:32 +01:00
Jérôme Danthinne 9b3b3692ee
Support for follow requests (#376) close #321
* Support for follow requests (#321)

* Run SwiftFormat

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 13:02:28 +01:00
Gareth Simpson ab4ac1b004
Local content settings close #338 (#362)
* Local settings for sensitive content.

* Local sensitive content settings

* Added the posting settings as well as the reading ones.

* Menu item / nav title mismatch

* Fixes

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 06:28:16 +01:00
Steve Kalkwarf a7c7dfd24e
Make spelling of "favorite" consistent (#327)
"Favorite" was spelled using both UK English and US English variations:
113 favourite
64 favorite

I made them consistent, using the US spelling.
2023-01-24 06:35:43 +01:00
Jérôme Danthinne 94ab5766a1
Allow hiding or showing user boosts (#305)
* allow hiding or showing user boosts

* move notify and reboosts buttons below follow button

* move the account joined date below the name

* fix join date padding

Co-authored-by: Jérôme Danthinne <jerome.danthinne@smile.eu>
2023-01-23 18:50:59 +01:00
Thomas Ricouard a2abdfede1 Fix account open in browser 2023-01-22 12:26:33 +01:00
Thomas Ricouard a79c5691e0 Run SwiftFormat 2023-01-22 06:38:30 +01:00
Rafael Caricio cd05a75ab9
Remove duplicate options Block/Mute (#200) 2023-01-20 21:17:24 +01:00
Thomas Ricouard 997a33df69 Instantly show lists options in the user context menu when following him close #143 2023-01-20 18:53:07 +01:00
Thomas Ricouard 85e09faab1 Add option to open user profile in browser fix #163 2023-01-20 18:36:24 +01:00
Thomas Ricouard d1034cd9a3 Do string manipulation at the decode time to keep the UI smooth fix #178 2023-01-20 18:27:00 +01:00
Thomas Ricouard 7a0b635033 Add joined date info on user profile close #158 2023-01-20 18:25:27 +01:00
Rafael Caricio 1fb4eb2bef
Allow to block/unblock and mute/unmute accounts (#120)
* Allow to block and unblock accounts

* Mute and unmute accounts

* Implement Localization (#80)

* Implement localization

* Fix some localization keys

* Adapt to recent changes

* Allow to block and unblock accounts

* Mute and unmute accounts

* Add localization

Co-authored-by: Thomas <38211057+vollkorntomate@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-19 18:22:31 +01:00
Thomas 980b9a5dd6
Implement Localization (#80)
* Implement localization

* Fix some localization keys

* Adapt to recent changes
2023-01-19 18:14:08 +01:00
Thomas Ricouard 7506c33482 Various fixes 2023-01-19 08:41:45 +01:00
Thomas Ricouard f968a4b652 Don't load related followers for current user 2023-01-18 19:11:13 +01:00
Thomas Ricouard c7a832e110 Added a font scale slider on macOS 2023-01-17 21:08:05 +01:00
Thomas Ricouard 4143e82fbc Multi account sidebar + scaled font size on macOS + better iPad / macOS app UX 2023-01-17 19:41:46 +01:00
Romain Vincens bb72327f52
Fixed typos & misspells (#88)
* Fixed typos and misspells

* Other typos
2023-01-17 15:14:50 +01:00
Thomas Ricouard 7f6419ebae Swiftformat 2023-01-17 11:36:01 +01:00
Thomas Ricouard 7d053592c9 Scrolling optimizations with the new emojis 2023-01-12 21:12:47 +01:00
Thomas Ricouard c653fb79b6 Don't show notify button in users lists 2023-01-12 08:30:47 +01:00
Thomas Ricouard 6f7c576c3a Add notify next to follow button if following 2023-01-12 07:36:19 +01:00
David Walter 3acd5aced4
Support Custom Emojis (#61)
* Support Custom Emojis

* Update EmojiText

* Update EmojiText

* Use EmojiText in StatusEditorAutoCompleteView

* Update EmojiText

* Display Account displayName without emojis in navigation title

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-12 06:58:04 +01:00
Thomas Ricouard a77ee6b7af Make loading account data faster 2023-01-10 21:09:20 +01:00
Thomas Ricouard 71ec57f915 Support edit profile 2023-01-10 08:24:05 +01:00
Thomas Ricouard 75d8b9c90b Various fixes 2023-01-09 21:13:00 +01:00
Thomas Ricouard 2961793e87 Support server side default post visibility 2023-01-09 20:46:01 +01:00
Thomas Ricouard 662f4be29d Bookmarks support close #48 2023-01-09 19:26:56 +01:00
Thomas Ricouard 1c1ca7ba0f Add mask on account header fix #47 2023-01-09 18:57:31 +01:00
David Walter 6ccd27b2e5
Minor improvements (#46) 2023-01-08 19:45:11 +01:00
Thomas Ricouard f922ba344d Search & Pin remote local timeline + general polish 2023-01-06 12:14:05 +01:00
Thomas Ricouard dcdd8402e9 Timeline: Add filter for followed tags 2023-01-04 18:37:58 +01:00
Jérôme Danthinne 62b96cac69
Avatar shape (#30)
* Avatar shape settings

* chore: fix rebase

Co-authored-by: Jérôme Danthinne <jerome.danthinne@smile.eu>
2023-01-04 17:48:02 +01:00
Thomas Ricouard a1681c3f1b Display pinned statuses on profile 2023-01-03 18:22:08 +01:00
Sean Goldin 41d7f4ca62
Less typing padding constants (#23)
* Change enum of constants to CGFloat extension

* Use CGFloat padding extension
2023-01-03 07:41:29 +01:00
Sean Goldin ef44e32e21
Fix list visibility in light theme (#22) 2023-01-03 07:40:05 +01:00
Thomas Ricouard e0253fb439 Added lists support + bunch of bug fixes 2023-01-02 19:23:44 +01:00
Thomas Ricouard 28ef54fa4b Improve logged out experience 2023-01-01 09:19:00 +01:00
Thomas Ricouard a592341768 Account: Added filter for accounts status 2023-01-01 08:22:39 +01:00
Thomas Ricouard 315a57b447 Tab timeline tab top scroll to top 2022-12-31 12:28:27 +01:00
Thomas Ricouard 0423351f5d Fixed account title 2022-12-30 22:55:24 +01:00
Stanislas Lange d673a1cd4c
AccountDetailView: support display name with emoji in navbar title 2022-12-30 22:26:07 +01:00
Thomas Ricouard 3a076492a1 Multi accounts 2022-12-30 08:36:22 +01:00
Thomas Ricouard 1449719af0 Handle correct pagination on profile for statuses 2022-12-29 11:32:53 +01:00
Thomas Ricouard d00c3e533e Theme support + default theme 2022-12-29 10:39:34 +01:00
Thomas Ricouard f14640a2ee
Merge branch 'main' into update-nuke 2022-12-27 14:23:41 +01:00
Thomas Ricouard ee39840713 Account: Internal isCurrentUser 2022-12-27 13:49:54 +01:00
Thomas Ricouard 816e1d5e7d Explore: Search 2022-12-27 10:04:39 +01:00
Thomas Ricouard 94d4db6214 Various fixes 2022-12-27 09:11:12 +01:00
kean aaba7f3337 Update Nuke usage 2022-12-26 14:16:21 -05:00
Thomas Ricouard 48ed60b095 Tap area improvements + live status in profile tab 2022-12-26 08:47:41 +01:00
Thomas Ricouard e569bb1d74 Use Nuke where relevant 2022-12-25 07:43:02 +01:00
Thomas Ricouard 44d36c4cf0 A bit more consistent style 2022-12-24 15:09:17 +01:00
Thomas Ricouard 70ee6e0d27 Post boosted by / favourited by 2022-12-24 13:41:25 +01:00
Thomas Ricouard 8de2a8192b Handle HTTP Link header for favourites and followers/following 2022-12-24 09:21:04 +01:00
Thomas Ricouard e4e2b2ab8b Following / Followers page 1 2022-12-23 18:47:19 +01:00
Thomas Ricouard 2f7653d05c Refactor follow to shared FollowButton 2022-12-23 16:21:31 +01:00
Thomas Ricouard 6e8ed998d4 Explore: Added suggested accounts to follow 2022-12-23 15:28:22 +01:00
Thomas Ricouard 189037b53d Explore + Account polish + Status editor WIP 2022-12-23 10:41:55 +01:00
Thomas Ricouard fc77dd14fe Account detail: Add also followed by section 2022-12-22 12:26:11 +01:00
Thomas Ricouard 66e314c2be Retire SheetDestinations for now 2022-12-22 10:56:24 +01:00
Thomas Ricouard 1a85fa19f8 Quick look support for media preview 2022-12-22 10:53:36 +01:00
Thomas Ricouard 05b5951ee1 Account about fields 2022-12-21 20:53:23 +01:00
Thomas Ricouard 0f2c2df624 Featured tags 2022-12-21 20:26:38 +01:00
Thomas Ricouard c2a2fe1f86 Custom emojis in display name 2022-12-21 17:39:48 +01:00
Thomas Ricouard ae9f78e737 Account: scrolling banner 2022-12-21 12:47:07 +01:00
Thomas Ricouard 2cd28c13f3 Follow tags + various enhancements 2022-12-21 12:39:29 +01:00
Thomas Ricouard effa895eac See your followed tags on account screen 2022-12-21 09:42:05 +01:00
Thomas Ricouard f561be7d4f Display favourites on current user profile 2022-12-21 08:35:26 +01:00
Thomas Ricouard 024d325291 Favourite / Unfavourite status 2022-12-20 20:33:45 +01:00
Thomas Ricouard 60a963441c Follow / Unfollow 2022-12-20 17:11:12 +01:00
Thomas Ricouard 8def548913 Account tab + brand color 2022-12-20 16:08:09 +01:00
Thomas Ricouard 22281aa7eb Various enhancements 2022-12-20 09:37:07 +01:00
Thomas Ricouard 3850dab340 Refresh notifications + Fix user profile header info 2022-12-19 16:02:55 +01:00
Thomas Ricouard cab21c137b Notification tab 2022-12-19 12:28:55 +01:00
Thomas Ricouard e2455a472e Generic Statuses list 2022-12-19 07:17:01 +01:00
Thomas Ricouard 4c3809a95b Account statuses and more packages 2022-12-18 20:30:19 +01:00
Thomas Ricouard 70d28e697c Begin profile + media preview 2022-12-17 13:37:46 +01:00
Thomas Ricouard df2d383b8a OAuth + Home timeline 2022-12-01 09:05:26 +01:00
Thomas Ricouard 203abbcf0d Account screen WIP 2022-11-29 12:18:06 +01:00
Thomas Ricouard 567cb4cc47 New Routeur 2022-11-29 11:46:02 +01:00