Commit graph

585 commits

Author SHA1 Message Date
Gareth Simpson
ffe1a1dba0
Escape markdown markup characters on their way into HTMLToMarkdown to prevent them being rendered as styled text after they come out. (#329) 2023-01-24 06:38:38 +01:00
Gareth Simpson
d0854d0107
This is a fix for #317 (#318)
* This is a fix for #317
Well more of an improvement than a fix.
Instead of looking for tags anywhere, we now look for /tags/TagName exactly.  This can still fail if it happens to be a link to somewhere not on the post creator's home server that follows that pattern but by the time the parsing is done the post creator isn't available without a lot of re-plumbing.
But anyway, this should be better.

* No force unwrap
2023-01-24 06:37:15 +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
Thomas Ricouard
11a7ade82d Fix handling of Twitter link 2023-01-23 21:34:45 +01:00
Sean Goldin
6aea60b644
Fix twitter links (#316) 2023-01-23 20:51:16 +01:00
Thomas Ricouard
8fe6eddead Settings: Add a button to hide OpenAI button in the composer 2023-01-23 20:45:18 +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
a51e81102e Handle links in direct message 2023-01-23 18:43:57 +01:00
Thomas Ricouard
f718755120 Refactor iPad / macOS layout for medias in order to make the timeline smoother fix #282 2023-01-23 18:43:48 +01:00
Thomas Ricouard
5c7cc5803f Fix crash on Twitter link #102 2023-01-23 13:54:41 +01:00
Sean Goldin
fe1d886b62
URLS can only take 23 characters (#296)
* URLS can only take 23 characters

* Remove hardcoded length of URL
2023-01-23 06:35:26 +01:00
Thomas Ricouard
2a635eda21 Optimise Status models for SwiftUI 2023-01-22 20:23:41 +01:00
Thomas Ricouard
ce41e6b000 Always display relative date in the timeline 2023-01-22 20:14:05 +01:00
Steve Kalkwarf
fb6b2b39fa
Adjusted file names to match content (#286) 2023-01-22 19:59:22 +01:00
Sean Goldin
0ad5f17b5a
Include spoiler text count when applicable (#281) 2023-01-22 18:50:45 +01:00
Thomas Ricouard
23fd0af2c3 Fix title scaling for DM 2023-01-22 17:53:41 +01:00
Thomas Ricouard
1a8626896a Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-22 17:50:32 +01:00
Thomas Ricouard
b527fafd37 Few fixes for the field in DM + fix async upload for images 2023-01-22 17:49:47 +01:00
Sean Goldin
f4d5195f4c
Localisation for conversation detail (#278) 2023-01-22 17:36:57 +01:00
Thomas Ricouard
8680d2b83a Few keyboard fixes 2023-01-22 17:17:33 +01:00
Thomas Ricouard
d6aa99eb57 New direct messages view close #122 2023-01-22 16:55:03 +01:00
Thomas Ricouard
fc4524cef8 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-22 15:58:49 +01:00
Sean Goldin
97f8dfd74d
Add localisation plurals (#239)
* Add localisation plurals

* Add more languages to plurals

* Remove unused localised keys

* Update per #225
2023-01-22 15:47:44 +01:00
Thomas Ricouard
a2abdfede1 Fix account open in browser 2023-01-22 12:26:33 +01:00
Sean Goldin
1c679186b0
Only ask for draft when text entered by user (#251) 2023-01-22 11:28:23 +01:00
orenro
a37d059026
Display statuses with appropriate alignment for right-to-left languages (#256) 2023-01-22 11:17:27 +01:00
Thomas Ricouard
c95f65ea59 Switch to DeepL Pro API 2023-01-22 10:45:07 +01:00
Thomas Ricouard
34b6525b37 Fix translation on RT 2023-01-22 10:24:19 +01:00
Thomas Ricouard
2df40ff543 Restore / Fix embed status view 2023-01-22 09:51:43 +01:00
Thomas Ricouard
987f259130 Add a translate entry on the status context menu Fix #258 2023-01-22 09:31:29 +01:00
Thomas Ricouard
921d28a57a Add setting to hide translate button close #252 2023-01-22 09:15:01 +01:00
Thomas Ricouard
eec5637c1c Composer / Share sheet: add video upload support close #154 2023-01-22 09:09:35 +01:00
Thomas Ricouard
a79c5691e0 Run SwiftFormat 2023-01-22 06:38:30 +01:00
richkolasa
d9307748ca
Timeline VoiceOver Improvements (#241)
* status row view voiceover updates

* formatting?
2023-01-22 06:35:13 +01:00
Thomas Ricouard
a0ad701f52 Add Neon (OLED) Dark and Light themes 2023-01-21 18:40:35 +01:00
Sean Goldin
50bd01e8b4
Poll results UI update (#233)
* Update constant to use CGFloat extension

* Fill full width when 100%

* Remove space
2023-01-21 16:50:38 +01:00
Thomas Ricouard
691b3f2667 Theme: Refresh theme on launch if following color scheme 2023-01-21 15:54:15 +01:00
Thomas Ricouard
9f7eb4361a Fix polls not showing results to author fix #211 2023-01-21 15:38:31 +01:00
Thomas Ricouard
d0d969d52c Private messages: Add pagination 2023-01-21 15:31:27 +01:00
Thomas Ricouard
2a31fd7ef5 Make notifications more compact 2023-01-21 15:16:52 +01:00
Sean Goldin
4d96e6ea80
Scale text for polls options (#226) close #99 2023-01-21 14:40:56 +01:00
Thomas
2bcdb75f97
Fix bookmark/unbookmark text in context menu (#214) 2023-01-21 12:19:04 +01:00
Thomas Ricouard
77c94e940a Fix timeline failing to load because status card URL is invalid Fix #209 2023-01-21 12:13:20 +01:00
Thomas Ricouard
87471ed9c8 Safer HTML String decode 2023-01-21 11:32:47 +01:00
Thomas Ricouard
523cb48cd1 Translate Toot using DeepL close #153 2023-01-21 09:58:38 +01:00
Thomas Ricouard
5cb010b216 Composer: Better autocomplete fix #146 2023-01-21 07:57:52 +01:00
Thomas Ricouard
7b25240f59 Search: Completely revamp it! close #78 #90 2023-01-21 07:51:15 +01:00
Thomas Ricouard
0eaf2ebc60 Add a rate on the App Store button in the settings 2023-01-21 07:16:20 +01:00
Thomas Ricouard
5321b2b8d8 Add a follow system colors option close #128 2023-01-20 21:58:57 +01:00
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
307ea75f43 Fix status embed showing the wrong name close #160 2023-01-20 18:32:10 +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
Thomas Ricouard
2ac2e0ce53 Fix compact media for single image 2023-01-20 06:56:02 +01:00
Thomas
aff5de1429
Add localizations for German (#124)
* Add German localization

* Add missing localization keys
2023-01-20 06:42:40 +01:00
Renan Guilherme
3b0d26bab2
Make vapidKey in InstanceApp model optional (#135) 2023-01-20 06:42:18 +01:00
Gareth Simpson
0f45a8d1ff
Small images cropping text (#137)
* Fixes for #136, small images cropping text / videos missing re-hide button

* Accidentally unlocalised some text.
2023-01-20 06:41:47 +01:00
Thomas Ricouard
e05734fe1a Added edit history 2023-01-19 21:19:19 +01:00
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
e519e9cdff Use Safari Controller for auth 2023-01-19 11:59:40 +01:00
Thomas Ricouard
09c09d5ea9 Composer: Trim attachement characters 2023-01-19 11:58:58 +01:00
Thomas Ricouard
47004d00c1 Add Medium Light & Dark theme 2023-01-19 11:58:38 +01:00
Thomas Ricouard
7506c33482 Various fixes 2023-01-19 08:41:45 +01:00
Thomas Ricouard
987a655227 Add context menu for image fix #113 2023-01-19 07:56:24 +01:00
Thomas Ricouard
e81ea4ee81 Fixes 2023-01-19 07:45:42 +01:00
Thomas Ricouard
f743adb1df Add context menu for link / card view 2023-01-19 07:45:37 +01:00
Thomas Ricouard
3e3e353fdd Add a specific tab for mention on macOS and iPadOS fix #111 2023-01-19 07:24:24 +01:00
Thomas Ricouard
22c9d51941 Fix #95 2023-01-19 07:14:38 +01:00
Thomas Ricouard
9c532d9448 Add support for custom emojis in the composer close #98 2023-01-18 19:11:52 +01:00
Thomas Ricouard
fd6f337571 UI fix for notifications list view 2023-01-18 19:11:30 +01:00
Thomas Ricouard
f968a4b652 Don't load related followers for current user 2023-01-18 19:11:13 +01:00
Thomas Ricouard
8921e6c8df Support more instances 2023-01-18 19:10:45 +01:00
Thomas Ricouard
c7a61ae271 Notifications list: UI fixes 2023-01-18 13:54:12 +01:00
Thomas Ricouard
d737b429b4 Support instance with malformed statuses URL 2023-01-18 13:36:00 +01:00
Thomas Ricouard
1b9d4e0247 Add some macOS menu & shortcuts 2023-01-18 08:27:42 +01:00
Thomas Ricouard
5ff0330fb7 Composer: Fix account switching not posting on the correct account 2023-01-18 08:07:09 +01:00
Thomas Ricouard
02aa91f432 Composer: Scale input font on macOS 2023-01-18 08:04:52 +01:00
Thomas Ricouard
c7a832e110 Added a font scale slider on macOS 2023-01-17 21:08:05 +01:00
Thomas Ricouard
504f93fab0 Speedup status context load 2023-01-17 19:46:04 +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
899ccd8ad7 macOS / iPad app fixes + support drop in the editor + global new post button 2023-01-17 13:02:05 +01:00
Thomas Ricouard
7f6419ebae Swiftformat 2023-01-17 11:36:01 +01:00
Jierong Li
96344e2815
Fix two issues related to share extension (#85)
* Share sheet: fix EnvironmentObject related crash

* Editor: fix the logic of canPost
2023-01-17 09:09:46 +01:00
Thomas Ricouard
1715122113 Fix async image upload 2023-01-17 08:11:37 +01:00
Thomas Ricouard
0c071e7ad5 Activities list: UI improvements 2023-01-17 07:54:59 +01:00
Thomas Ricouard
dd6483dd37 Fix EnvironmentObject related crash on macOS + iPad 2023-01-17 07:39:13 +01:00
Thomas
382ebcf8f7
Implement language selection for new posts (#83) close #76
* Implement language selection in status editor

* Apply the correct language on replies and edits

* Use sheet for language selector

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-17 07:07:26 +01:00
Thomas Ricouard
ce2f8620ed Editor: Fix cancel confirmation position 2023-01-16 22:03:04 +01:00
Thomas Ricouard
c21272f641 Fix account selector on iPad 2023-01-16 22:01:04 +01:00
Thomas Ricouard
451cc7a4ac Enable account switcher on macOS 2023-01-16 21:27:54 +01:00
Thomas Ricouard
9dc7fa00f9 Fix bugs in macOS app 2023-01-16 21:15:33 +01:00
Thomas Ricouard
c05768c793 The Mac App 2023-01-16 14:40:23 +01:00
Thomas Ricouard
6a7db8714d Fix build 2023-01-16 13:52:56 +01:00
Thomas Ricouard
05053c661d Editor: Allow to select account 2023-01-16 13:39:35 +01:00
Sean Goldin
75e9516089
Less chatty api calling (#79)
* Limit API calls for instance searching

* Limit api calls

* Fix empty/initial state

* Limit API calls

* Delegate empty view logic to viewmodel

* When you boosted, display You boosted
2023-01-16 06:43:53 +01:00
Thomas Ricouard
a49175fe69 Share extension: Support plain text 2023-01-15 18:30:25 +01:00
Thomas Ricouard
b0ac1b4f57 Share latestCurrentAccountKey preference key for share extension 2023-01-15 18:18:54 +01:00
Thomas Ricouard
596f920603 Share sheet extension 2023-01-15 16:39:08 +01:00
Thomas Ricouard
4fc6944360 Fix editing status dropping mentions / account name 2023-01-15 15:02:32 +01:00
Thomas Ricouard
d05d9fbfff Fix not posting status special characters or dropping part of it (Post in JSON now) 2023-01-15 14:51:09 +01:00
Thomas Ricouard
9e569df417 Fix featuredTags weird decode 2023-01-15 14:21:08 +01:00
Thomas Ricouard
6b210aec4f Add OpenAI pipeline + some prompts 2023-01-13 18:43:02 +01:00
Thomas Ricouard
2fdf5fe239 Fix markdown rendering for statuses 2023-01-13 14:11:21 +01:00
Thomas Ricouard
03b304c58d Migrate app accounts to shared keychain 2023-01-13 13:05:43 +01:00
Thomas Ricouard
1eb3dfb5a5 Editor: Fixes to the first time sizing + paste images 2023-01-13 12:23:48 +01:00
Sean Goldin
ba64015f18
Polls (#70)
* Add poll options

* Add the poll view

* Disable adding attachments when showing polls

* Update to post poll info

* Wire up poll view

* Remove debug code

* Use VM for showing poll

* Rename PollView to something better!

* Move file location

* Disable poll button if media is attached.

* Don't refocus on delete option to avoid index out of range crash

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-13 07:30:15 +01:00
Thomas Ricouard
7d053592c9 Scrolling optimizations with the new emojis 2023-01-12 21:12:47 +01:00
Thomas Ricouard
abca429844 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-12 19:12:36 +01:00
Thomas Ricouard
e69fcee9fb Various small UI fixes 2023-01-12 19:12:23 +01:00
Dariusz Rybicki
032a92bb75
Navigate to status details when tapped empty space (#72) 2023-01-12 19:10:40 +01:00
Thomas Ricouard
5deb928dee Also use connections for loading quote toot / embed thanks @divadretlaw 2023-01-12 18:30:28 +01:00
David Walter
d646fef9f4
Fix Link Handling (#69) 2023-01-12 18:25:37 +01:00
Thomas Ricouard
66efedbbda AppAccounts: Move to its own package to prepare widget work 2023-01-12 18:17:21 +01:00
Thomas Ricouard
1a004400c4 Notifications: UI Fix 2023-01-12 18:17:03 +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
150cb5a8c5 Suggest login on launch 2023-01-12 06:30:43 +01:00
Tyler Baker
a5308730f8
Add button to re-hide sensitive media once expanded (#59)
* Add button to rehide sensitive media once expanded

* Update button style to make it easier to see the button depending on background

* Fixes

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-11 18:35:06 +01:00
Thomas Ricouard
9cf863d8c3 Post editor: Drafts support 2023-01-11 12:44:34 +01:00
Thomas Ricouard
54ac3d5adb Post editor: Replace visibility menu with a bottom sheet to close #58 2023-01-11 07:33:18 +01:00
Thomas Ricouard
77ad9afb85 Faster trending / fixed search 2023-01-10 21:22:05 +01:00
Thomas Ricouard
a77ee6b7af Make loading account data faster 2023-01-10 21:09:20 +01:00
Jérôme Danthinne
d447a8fdd2
add some top padding when new posts button is shown (#55)
Co-authored-by: Jérôme Danthinne <jerome.danthinne@smile.eu>
2023-01-10 14:44:34 +01:00
Pascal Batty
cd78cab073
Disable post button when there's no content (#57)
Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-01-10 14:44:11 +01:00
Thomas Ricouard
0ae0b7e33f Polish on link card view, sign in flow, status context menu 2023-01-10 12:57:45 +01:00
Thomas Ricouard
f50a7f1556 UI fixes on status + prepare for generic media upload 2023-01-10 08:44:29 +01:00
Thomas Ricouard
71ec57f915 Support edit profile 2023-01-10 08:24:05 +01:00
Thomas Ricouard
be4b61ed30 Better accounts selector / switcher 2023-01-10 06:58:50 +01:00
Thomas Ricouard
75d8b9c90b Various fixes 2023-01-09 21:13:00 +01:00
Thomas Ricouard
39dc6dadc7 Support server side auto expand spoiler 2023-01-09 20:51:12 +01:00
Thomas Ricouard
2961793e87 Support server side default post visibility 2023-01-09 20:46:01 +01:00
Thomas Ricouard
dc223171b3 Support hide sensitive medias / hide all medias 2023-01-09 20:39:42 +01:00
Thomas Ricouard
33634a16aa Fetch server side preferences 2023-01-09 19:47:54 +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
Thomas Ricouard
d59ba03ba3 Handle badge for push notifications 2023-01-09 18:52:53 +01:00
Thomas Ricouard
8768f28073 Refresh notifications list on resume from background 2023-01-09 18:52:33 +01:00
Thomas Ricouard
70f60ee977 Various UI fixes to the status (padding / tap areas / no card if image) 2023-01-09 18:52:10 +01:00
David Walter
76d7d23379
Support In-App Safari (#44)
* Support In-App Safari

* Fix "View in Browser"

* Force external Safari on Account Creation

* Fix SafariRouteur issues

Attach to NavigationStack
Find top-most ViewController

* Make Preferred Browser a Picker choice
2023-01-08 19:56:16 +01:00
David Walter
c304b3eefe
Design system improvements (#45)
* Improve DesignSystem

Apply Theme to all connected windows

* Only use UIKit when available
2023-01-08 19:49:49 +01:00
David Walter
6ccd27b2e5
Minor improvements (#46) 2023-01-08 19:45:11 +01:00
Thomas Ricouard
a9db49e5df Support audio attachement + better push keys flow 2023-01-08 16:18:38 +01:00
Thomas Ricouard
ed8208857a Cleanup + Polish push notifications 2023-01-08 14:16:43 +01:00
Thomas Ricouard
874ea309ac Fix keys 2023-01-08 11:22:44 +01:00
Thomas Ricouard
57b0b6982c Fix keychain group 2023-01-08 10:57:58 +01:00
Thomas Ricouard
424cd475ad Add push notifications support 2023-01-08 10:22:52 +01:00
Thomas Ricouard
039f786c16 Error state UI 2023-01-07 18:01:06 +01:00
Tyler Baker
f9f6ffc71e
Update StatusRowContextMenu to include a "Copy Text" option (#36)
* Add option to re-hide spoiler content after expanding

Uses the same logic as the "Show more" button, but in reverse. This allows a user to hide the content that they expanded.

* Use .toggle() method instead of multiple if statements

* Update StatusRowContextMenu to have Copy Text option

* Update pasteboard string to contain rawText status
2023-01-07 17:56:24 +01:00
Thomas Ricouard
12fc8cd475 Add a compact style for status 2023-01-07 17:44:25 +01:00
Jan Schneider
2414c8fd10
Added Share button in status context menu (#37) 2023-01-07 16:07:10 +01:00
Thomas Ricouard
75fda4b709 Tip jar + New display name 2023-01-07 13:44:13 +01:00
Thomas Ricouard
b30610538f Fix envObject for iPad 2023-01-06 21:34:24 +01:00
Stanislas
c9c0bda69e
Skip unsupported notifications (#35) 2023-01-06 21:20:40 +01:00
Sean Goldin
79febd92e7
Fix loading local time line (#34) 2023-01-06 21:19:29 +01:00
Thomas Ricouard
7f5330f284 Redesigned settings tab 2023-01-06 17:14:34 +01:00
Thomas Ricouard
f922ba344d Search & Pin remote local timeline + general polish 2023-01-06 12:14:05 +01:00
Thomas Ricouard
039eab0d06 Editor: Add response context 2023-01-05 18:54:18 +01:00
Thomas Ricouard
770fcfd62b iPad max column width on some screens 2023-01-05 14:11:55 +01:00
Thomas Ricouard
997d82047e Make Meta.original optional 2023-01-05 13:27:04 +01:00
Thomas Ricouard
33ce6eadc2 Remove messages list feedback generator 2023-01-05 13:09:34 +01:00
Thomas Ricouard
75505f9ba3 Test: Enable macOS app as Designed for iPad 2023-01-05 12:55:05 +01:00
Thomas Ricouard
455f945864 Fix import 2023-01-05 12:39:25 +01:00
Thomas Ricouard
e1ad5efd80 Direct message + empty screen for notifications and messages 2023-01-05 12:21:54 +01:00
Thomas Ricouard
88b56fe016 Timeline: Dequeue one 2023-01-05 07:07:28 +01:00
Thomas Ricouard
511717e492 Smarter timeline 2023-01-05 06:39:23 +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
73f3fef738 Basic splitView on iPad + Disable macOS for now 2023-01-04 12:50:57 +01:00
Thomas Ricouard
8a8c7a7e5e Better filter for notifications 2023-01-04 08:14:37 +01:00
Thomas Ricouard
d5f4462f3e Forward status visibility to the editor for reply / edit + prevent quote on non public status 2023-01-03 21:14:42 +01:00
Thomas Ricouard
dcccc459c2 Some UI Fixes 2023-01-03 20:36:57 +01:00
Thomas Ricouard
ca9ce92053 Fix edit / add description label 2023-01-03 19:43:55 +01:00
Thomas Ricouard
89db71c114 Cleanup 2023-01-03 19:35:05 +01:00
Thomas Ricouard
7ce3446030 Editor: Add image ALT 2023-01-03 19:30:27 +01:00
Thomas Ricouard
64c57a241a UI fixes on status detail screen 2023-01-03 18:46:35 +01:00
Thomas Ricouard
a1681c3f1b Display pinned statuses on profile 2023-01-03 18:22:08 +01:00
Tyler Baker
e9991020ec
Add option to re-hide spoiler content after expanding (#20)
* Add option to re-hide spoiler content after expanding

Uses the same logic as the "Show more" button, but in reverse. This allows a user to hide the content that they expanded.

* Use .toggle() method instead of multiple if statements
2023-01-03 17:44:11 +01:00
Thomas Ricouard
5fe72e36d2 make votes and ownVotes optional 2023-01-03 15:51:36 +01:00
prajeet
1c827d1f7e
Made filtered key optional (#25) 2023-01-03 15:15:08 +01:00
prajeet
749c4aef0b
Removed picker and replaced with themepreview view for selecting theme (#24)
* Removed picker and replaced with themepreview view for selecting theme

* Used navigation stack instead of sheet for theme selector view.
2023-01-03 14:42:09 +01:00
Thomas Ricouard
a351fb8a7b Don't display empty alt 2023-01-03 13:14:13 +01:00
Thomas Ricouard
6f0bad30ac Don't display media ALT in compact mode 2023-01-03 13:13:03 +01:00
Thomas Ricouard
f4f8b81f6c Support filters in statuses 2023-01-03 12:24:15 +01:00
Thomas Ricouard
37a5567fe7 Display image alt in feed 2023-01-03 08:45:27 +01:00
Thomas Ricouard
fb0cd6b623 Fix empty displayName 2023-01-03 08:17:47 +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
fa912bd327
Allow tapping avatar to go details page (#21) 2023-01-03 07:40:22 +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
prajeet
17af674387
Removed toggle for selecting themes and replaced with picker. (#19)
* Removed toggle for selecting themes and replaced with picker.

* Synced stored and inmemory themeset.

* fixed default theme state

* Added desert dark and light theme

* fixed navigation bar background not changing in setttings tab after theme change.

* nemesis theme added
2023-01-02 17:18:16 +01:00
Thomas Ricouard
9f009376f5 Add trending as a timeline 2023-01-01 14:28:15 +01:00
Thomas Ricouard
b324c87ae1 Timeline tab: Quick accounts switcher + new filter menu 2023-01-01 14:02:11 +01:00
Thomas Ricouard
975a403c49 Handle account link in account bio and notifications 2023-01-01 11:40:18 +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
a06386c1da Fixed scroll to top 2022-12-31 15:41:44 +01:00
Jérôme Danthinne
810e9fbe6b
Add avatar position setting (#14)
Co-authored-by: Jérôme Danthinne <jerome.danthinne@smile.eu>
2022-12-31 12:29:19 +01:00
Thomas Ricouard
315a57b447 Tab timeline tab top scroll to top 2022-12-31 12:28:27 +01:00
Thomas Ricouard
07a4ef856d Editor: Forward theme colors 2022-12-31 12:11:42 +01:00
Thomas Ricouard
bb47937eb6 Editor: Refactor + Add autocomplete for mentions and hashtag 2022-12-31 09:10:27 +01:00
Thomas Ricouard
423df5f4b4
Merge pull request #5 from PrajeetShrestha/theme close #3
Color Set added for light and dark mode.
2022-12-31 06:50:05 +01:00
Thomas Ricouard
8eee1788b6 Lint 2022-12-31 06:48:09 +01:00
Thomas Ricouard
faa766d65f
Merge pull request #9 from angristan/mute-default
Mute video player by default
2022-12-31 06:40:29 +01:00
Thomas Ricouard
38b7eaa0b2 Sync embed load 2022-12-31 06:37:13 +01:00
Stanislas Lange
18bbc96624
Mute video player by default 2022-12-31 00:07:42 +01:00
Thomas Ricouard
0423351f5d Fixed account title 2022-12-30 22:55:24 +01:00
Thomas Ricouard
193469fbc0
Merge pull request #7 from angristan/account-navbar-title-emoji
AccountDetailView: support display name with emoji in navbar title
2022-12-30 22:51:23 +01:00
Thomas Ricouard
639227be89 Mention everyone in reply 2022-12-30 22:49:09 +01:00
Stanislas Lange
d673a1cd4c
AccountDetailView: support display name with emoji in navbar title 2022-12-30 22:26:07 +01:00
Thomas Ricouard
2bb68c915d Revert "Provide a default light theme close #3"
This reverts commit d1ad54248c.
2022-12-30 21:46:15 +01:00
Thomas Ricouard
d1ad54248c Provide a default light theme close #3 2022-12-30 21:00:20 +01:00
prajeet shrestha
b58b49a1c1 Color Set added for light and dark mode. 2022-12-31 01:40:23 +05:45
Thomas Ricouard
d9481cc802 Load embed gracefully 2022-12-30 19:31:17 +01:00
Thomas Ricouard
b2d4d151e5 Add video type support for media attachement (reading) 2022-12-30 18:40:10 +01:00
Thomas Ricouard
f215298917 Embed + tap on statuses link from any instances 2022-12-30 16:55:13 +01:00
Thomas Ricouard
9cf7066663 Don't add duplicate notifications 2022-12-30 15:17:45 +01:00
Thomas Ricouard
07bfa47d49 Fix typo in search token 2022-12-30 12:56:20 +01:00
Thomas Ricouard
7bb7bb5cb7 Always embed status true URL 2022-12-30 12:00:09 +01:00
Thomas Ricouard
d61ce04dac Convert status to local URL when quoting 2022-12-30 10:11:05 +01:00
Thomas Ricouard
3a076492a1 Multi accounts 2022-12-30 08:36:22 +01:00
Thomas Ricouard
dd5a6a8b45 Various UI enhancements 2022-12-29 17:22:07 +01:00
Thomas Ricouard
03a5dd9f54 New Sign In flow & instances browser 2022-12-29 14:07:58 +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
789adc8b22 Haptic feedback when refreshing timeline 2022-12-29 09:10:59 +01:00
Thomas Ricouard
5bc262da33 Clear notifications on list view appear 2022-12-29 09:10:49 +01:00
Thomas Ricouard
346345e0c9 Boosted status: display avatar 2022-12-29 07:02:10 +01:00
Thomas Ricouard
d393c4b90f Fix notifications tab + prepare multi account 2022-12-29 06:55:53 +01:00
Thomas Ricouard
2b733e6b10 Timeline: Fetch up to 10 new pages on pull to refresh 2022-12-28 19:10:13 +01:00
Thomas Ricouard
7cf233c974 Better spoiler 2022-12-28 11:41:56 +01:00
Thomas Ricouard
80c2086a8e Status: Spoiler support 2022-12-28 10:45:05 +01:00
Thomas Ricouard
3b8772c5da Status: View & votes on polls 2022-12-28 10:08:41 +01:00
Thomas Ricouard
5b9f91abd1 Editor character count + settings instance rules 2022-12-28 08:06:46 +01:00
Thomas Ricouard
03e5a960d2 Better status editor 2022-12-27 19:10:31 +01:00
Thomas Ricouard
99dc57a023 compress to JPEG before uploading 2022-12-27 16:25:47 +01:00
Thomas Ricouard
627173989e WIP Media upload 2022-12-27 16:16:25 +01:00
Thomas Ricouard
f14640a2ee
Merge branch 'main' into update-nuke 2022-12-27 14:23:41 +01:00
Thomas Ricouard
afbdd45e48 Status visibility 2022-12-27 14:20:00 +01:00
Thomas Ricouard
ee39840713 Account: Internal isCurrentUser 2022-12-27 13:49:54 +01:00
Thomas Ricouard
0ac109c49b Better quote post 2022-12-27 13:38:10 +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
Thomas Ricouard
5db6d2d991 Dismiss status editor on not signed in 2022-12-27 08:31:57 +01:00
Thomas Ricouard
9209258f4c Routeur: Handle same instance status url 2022-12-27 08:31:47 +01:00
Thomas Ricouard
e5fb3acd07 Quote status + embed status 2022-12-27 07:51:44 +01:00
Thomas Ricouard
dcd686a44b Media meta 2022-12-27 06:44:40 +01:00
Thomas Ricouard
f339692d3c Use Nuke if possible for featured media in status 2022-12-27 06:44:31 +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
bda77571b6 Editor: Simple edit 2022-12-26 08:24:55 +01:00
Thomas Ricouard
fded30bb76 Refactor live timeline + handle more events 2022-12-26 07:36:54 +01:00
Thomas Ricouard
b04ccc18fa Ensure own status is added on top 2022-12-25 19:18:19 +01:00
Thomas Ricouard
6bbe352f7e WIP posting photos 2022-12-25 19:15:35 +01:00
Thomas Ricouard
827e06b26c More safeguard 2022-12-25 18:48:50 +01:00
Thomas Ricouard
758fa8a6f9 Fix button 2022-12-25 18:46:54 +01:00
Thomas Ricouard
11d4d20873 Timeline scroll to top UX / Flow 2022-12-25 18:43:15 +01:00
Thomas Ricouard
73fde0f6aa Status editor improvements 2022-12-25 17:46:51 +01:00
Thomas Ricouard
8e16764ff7 Handle status update in post context 2022-12-25 17:39:23 +01:00
Thomas Ricouard
b1f81dbe2f Fix build 2022-12-25 13:11:51 +01:00
Thomas Ricouard
a8fb18559d Live notifications 2022-12-25 13:09:43 +01:00
Thomas Ricouard
93543cad6b Post / Delete a status and watch main timeline 2022-12-25 12:46:42 +01:00
Thomas Ricouard
8df70043cb Very basic status post 2022-12-25 08:17:16 +01:00
Thomas Ricouard
e569bb1d74 Use Nuke where relevant 2022-12-25 07:43:02 +01:00
Thomas Ricouard
4be33b4f67 WIP Status Editor 2022-12-25 06:55:33 +01:00
Thomas Ricouard
44d36c4cf0 A bit more consistent style 2022-12-24 15:09:17 +01:00
Thomas Ricouard
5e24c1ee58 Early WIP of theming support 2022-12-24 14:55:04 +01:00
Thomas Ricouard
70ee6e0d27 Post boosted by / favourited by 2022-12-24 13:41:25 +01:00
Thomas Ricouard
569aedeaeb Prepend new timeline statuses and new notifications 2022-12-24 12:20:42 +01:00
Thomas Ricouard
2c39af280e Better notifications UX 2022-12-24 10:14:47 +01:00
Thomas Ricouard
8de2a8192b Handle HTTP Link header for favourites and followers/following 2022-12-24 09:21:04 +01:00
Thomas Ricouard
a90a63bf1b Cleanup 2022-12-24 08:29:45 +01:00
Thomas Ricouard
25a80eea65 Status detail info view + better single image preview 2022-12-24 08:01:35 +01:00
Thomas Ricouard
840461caeb Display reply to in status 2022-12-24 07:32:20 +01:00
Thomas Ricouard
e4e2b2ab8b Following / Followers page 1 2022-12-23 18:47:19 +01:00
Thomas Ricouard
d01bbda5dc Better notifications UI 2022-12-23 17:50:51 +01:00
Thomas Ricouard
2f7653d05c Refactor follow to shared FollowButton 2022-12-23 16:21:31 +01:00
Thomas Ricouard
7068ad90bb Share + Fixed logged out mode 2022-12-23 15:53:02 +01:00
Thomas Ricouard
6e8ed998d4 Explore: Added suggested accounts to follow 2022-12-23 15:28:22 +01:00
Thomas Ricouard
c598a4ab1d Fix build 2022-12-23 10:46:20 +01:00
Thomas Ricouard
189037b53d Explore + Account polish + Status editor WIP 2022-12-23 10:41:55 +01:00
Thomas Ricouard
0679559ced Better image loading placeholder 2022-12-22 19:00:23 +01:00
Thomas Ricouard
fc77dd14fe Account detail: Add also followed by section 2022-12-22 12:26:11 +01:00
Thomas Ricouard
084dd18362 Refactor current account handling 2022-12-22 11:19:56 +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
1b4bef1459 Add mentions filter in notifications 2022-12-22 07:00:44 +01:00
Thomas Ricouard
6144e2ba6a Fix video player 2022-12-22 07:00:35 +01:00
Thomas Ricouard
cff6f3a843 Fix space between mentions in status 2022-12-22 07:00:22 +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
07188a6818 Status detail + context 2022-12-21 18:28:21 +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