Commit graph

1291 commits

Author SHA1 Message Date
Thomas Ricouard
ddaf4f9fde UI Fixes 2024-01-15 15:03:34 +01:00
Thomas Ricouard
d9f115ba67 Editor: Fix lag 2024-01-15 15:03:28 +01:00
Thomas Durand
788fab930b
Using AsyncButton from button kit to improve following and related buttons (#1888) 2024-01-14 10:51:54 +01:00
Thomas Ricouard
27da37e9ec Fix #1859 2024-01-13 08:48:29 +01:00
Thomas Ricouard
6d12f2528d Fix #1873 2024-01-13 08:39:51 +01:00
Eric
231b622f4e
Added toggleable button to show/hide poll results + animations (#1877)
* Added toggleable button to show/hide poll results

* Animations and localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2024-01-13 08:30:25 +01:00
Thomas Ricouard
68b7d469f5 Remove some Spacer() 2024-01-11 19:53:21 +01:00
Thomas Ricouard
fab23cbafc Cleanup 2024-01-11 18:56:06 +01:00
Thomas Ricouard
2f5307bfc7 Add timeline content filter 2024-01-11 18:55:35 +01:00
Thomas Ricouard
af2a69fdb1 Fix image sizing 2024-01-10 16:50:18 +01:00
Thomas Ricouard
0da8228e61 Followed Tags + Lists tab. + sidebar customization 2024-01-10 13:26:55 +01:00
Thomas Ricouard
b6c3b07ad6 Post context menu sound + haptic feedback + correct icons 2024-01-10 08:48:28 +01:00
Thomas Ricouard
f758b672f1 Fix #1855 2024-01-10 07:28:08 +01:00
Thomas Ricouard
8ea3fa73e5 Fix #1851 (both) 2024-01-09 19:06:54 +01:00
Thomas Ricouard
5c1f113c54 Add a progress indicator when posting a new post 2024-01-09 16:17:34 +01:00
Thomas Ricouard
b7e8f63e86 Multi window visionOS support 2024-01-09 13:28:57 +01:00
Thomas Ricouard
e7864f7089 Add following search fix #1846 2024-01-09 13:28:51 +01:00
Thomas Ricouard
b2be3778c1 Prevent video sleep in full screen 2024-01-09 10:32:50 +01:00
Thomas Ricouard
a4cdc6fc18 Don't show count when it's 0 2024-01-09 09:16:01 +01:00
Thomas Ricouard
c847de8f47 Fix #1849 2024-01-09 09:02:06 +01:00
Thomas Ricouard
7ac9a750cb More fixes 2024-01-09 08:44:51 +01:00
Thomas Ricouard
c86d627cee VisionOS fixes 2024-01-09 08:12:22 +01:00
Thomas Ricouard
14b25830ff Editor fixes 2024-01-08 21:21:37 +01:00
Thomas Ricouard
556eb15fb4 Button fixes 2024-01-08 21:21:32 +01:00
Thomas Ricouard
8e8713886a Bigger tap area for buttons 2024-01-08 21:21:22 +01:00
Thomas Ricouard
e79ead5efe visionOS fix 2024-01-08 21:21:14 +01:00
Thomas Ricouard
5d24c4d2e8 Fix #1836 2024-01-08 18:22:44 +01:00
Thomas Ricouard
6af0c36740 Fix #1840 2024-01-08 18:22:10 +01:00
Thomas Ricouard
4ebe486816 Fix #1841 2024-01-08 12:43:45 +01:00
Thomas Ricouard
753a0574b1 Fix #1842 2024-01-08 12:38:40 +01:00
Thomas Ricouard
9e1b1780c9 Fix invalid images 2024-01-08 12:19:25 +01:00
Thomas Ricouard
738180665e Fix tests 2024-01-07 19:02:22 +01:00
Clemens Beck
334b09ebe3
Feature: Use tagGroup icon in timeline quick access feature (#1834)
* Use tagGroup icon in timeline quick access feature

* Make tagGroup symbol optional
2024-01-07 18:38:45 +01:00
Thomas Ricouard
c09f9727f1 More video tweaks 2024-01-07 18:33:13 +01:00
Thomas Ricouard
cd63c9ddff Mute video by default 2024-01-07 18:14:12 +01:00
Thomas Ricouard
c4c86e1434 Fix audio session 2024-01-07 17:52:28 +01:00
Thomas Ricouard
2c7ca2ca81 Add new setting to mute video 2024-01-07 17:33:37 +01:00
Thomas Ricouard
7a7066baa4 More fixes to video 2024-01-07 16:49:49 +01:00
Thomas Ricouard
71d12aec15 No play button in video compact mode 2024-01-07 16:33:20 +01:00
Thomas Ricouard
d378341914 Don't autoplay in compact mode 2024-01-07 16:32:36 +01:00
Thomas Ricouard
5ca5dfbd24 better video player 2024-01-07 15:29:59 +01:00
Thomas Ricouard
6aae6f7e40 Fix timeline when resuming from marker 2024-01-07 11:59:15 +01:00
Thomas Ricouard
6e981a99fc Various fixes 2024-01-07 10:35:11 +01:00
Thomas Ricouard
27ce7fe916 Editor toolbar icons 2024-01-07 09:47:55 +01:00
Thomas Ricouard
d952601528 Fix crash on macOS 2024-01-07 09:37:18 +01:00
Thomas Ricouard
34a482f01f More layout rework for the composer 2024-01-07 07:03:39 +01:00
Thomas Ricouard
8e8737b040 Move lang in the editor 2024-01-06 22:26:12 +01:00
Thomas Ricouard
a80d36227e Allow video to play sound full screen 2024-01-06 22:08:41 +01:00
Thomas Ricouard
ca9dd5b469 Layout adjustments to the editor 2024-01-06 20:02:16 +01:00
Thomas Ricouard
7eb382c052 Status -> StatusKit 2024-01-06 19:27:26 +01:00
Thomas Ricouard
d65510493a Namespace StatusEditor 2024-01-06 18:43:26 +01:00
Thomas Ricouard
c24403094c Naming 2024-01-06 14:49:07 +01:00
Thomas Ricouard
36cc3d5207 ProxyRepresentation -> DataRepresentation 2024-01-06 14:24:52 +01:00
Thomas Ricouard
e5bb521502 composer tweaks 2024-01-06 12:54:51 +01:00
Thomas Ricouard
6435b40a51 Add followed tags to tag suggestion 2024-01-06 12:32:23 +01:00
Thomas Ricouard
1297331407 Fix more warnings 2024-01-06 11:24:41 +01:00
Thomas Ricouard
8c8c551686 Fix warnings + better recently used tags 2024-01-06 11:21:07 +01:00
Thomas Ricouard
bb55154b75 Split/Refactor editor autocomplete 2024-01-06 10:52:04 +01:00
Thomas Ricouard
0916a80a2e Fix status layout 2024-01-06 06:57:46 +01:00
Thomas Ricouard
a0ff3596cb Revert bottom status padding to 12 2024-01-05 22:48:11 +01:00
Thomas Ricouard
f401d4094d Fix tag follow button 2024-01-05 21:28:46 +01:00
Thomas Ricouard
91f0df0f26 Status actions: Bigger tap target 2024-01-05 20:33:47 +01:00
Thomas Ricouard
a3f29aa15b Add gesture to close the suggested tags 2024-01-05 19:32:17 +01:00
Thomas Ricouard
b3af5f1c45 Fix layout issue in the composer 2024-01-05 19:25:27 +01:00
Thomas Ricouard
0501ce9828 Fix poll for current account 2024-01-05 19:10:31 +01:00
Thomas Ricouard
bfc1f61e4b Add access to profile from account selector 2024-01-05 18:57:02 +01:00
Pavlo Shadov
8152db745d
Fix the "About" button's label in Accounts Selector view (#1826)
* Fix the key used for About in Accounts Selector view

* Improve the translation for the word "Application" in Ukrainian
2024-01-05 18:17:11 +01:00
Thomas Ricouard
d07427b919 Add detent support for composer 2024-01-05 18:04:15 +01:00
Thomas Ricouard
fcf00796b8 Show recent tags inline with just the # char 2024-01-05 12:13:52 +01:00
Thomas Ricouard
d94e816d63 Dismiss tag on select 2024-01-05 11:35:32 +01:00
Thomas Ricouard
f428118fa0 Recently used tags 2024-01-05 10:57:26 +01:00
Thomas Ricouard
c3adb37da0 More fixes for slideover mode 2024-01-04 21:24:22 +01:00
Thomas Ricouard
3d29c9e600 Fix account swap for favorites and bookmarks 2024-01-04 16:53:10 +01:00
Thomas Ricouard
9ec9c94c9a DM reply now open on a window on macOS 2024-01-04 16:52:58 +01:00
Thomas Ricouard
fd190378c6 Timeline: Add spacing between loader and unread count 2024-01-04 15:34:40 +01:00
Thomas Ricouard
6e9bff575d Fix #1821 2024-01-04 14:08:24 +01:00
Thomas Ricouard
3a3cae21b0 Fix #1376 for real 2024-01-04 13:19:36 +01:00
Thomas Ricouard
3229bf0cb5 Timeline: Add indicator when loading new posts 2024-01-04 12:56:46 +01:00
Thomas Ricouard
2eb15b48d4 Don't cache non filterable timeline 2024-01-03 14:59:28 +01:00
Thomas Ricouard
ad4995ad70 Catalyst: Fix mention window 2024-01-03 13:40:53 +01:00
Thomas Ricouard
75a61cb534 Fix for status card 2024-01-03 13:22:21 +01:00
Thomas Ricouard
1bdd31e848 Timeline: Fixes 2024-01-03 12:33:06 +01:00
Thomas Ricouard
2e23b08b88 Cache and restore position on all timelines 2024-01-03 11:34:50 +01:00
Thomas Ricouard
73323f8460 Allow quote post preview + link preview fix #1812 2024-01-03 09:23:28 +01:00
Thomas Ricouard
f39005c118 Timeline: Tag heeader now tappable 2024-01-03 09:16:24 +01:00
Thomas Ricouard
6cc14f8249 Better UX for avatar / header selection 2024-01-02 21:50:11 +01:00
Thomas Ricouard
1eb33466ca Edit profile: Update avatar & header 2024-01-02 21:16:27 +01:00
Thomas Ricouard
f699c33dfb Make status action button areas bigger 2024-01-02 19:35:14 +01:00
Thomas Ricouard
632b3f5734 Statuses: Cleanup viewId 2024-01-02 14:06:53 +01:00
Thomas Ricouard
f19ab2b130 Increase contrast on the unread counter 2024-01-02 12:14:53 +01:00
Thomas Ricouard
13e87b41e9 Fix list not updating in the quick access pills 2024-01-02 11:54:17 +01:00
Thomas Ricouard
c4b85679a2 StatusRow: Light cleanup 2024-01-02 08:58:20 +01:00
Thomas Ricouard
0c13cbd61f Filters: Add current editing keyword on save 2024-01-01 21:29:38 +01:00
Thomas Ricouard
aee6459bcf Status detail: Don't cancel the task 2024-01-01 21:29:28 +01:00
Thomas Ricouard
f235ebb720 Remove the double # in quick access pills 2024-01-01 21:29:12 +01:00
Thomas Ricouard
47436daaf2 Proper fix for looping timeline 2024-01-01 21:29:03 +01:00
Thomas Ricouard
1e7c25993a Fix timeline filtering + looping 2024-01-01 21:06:10 +01:00
Thomas Ricouard
4fee875fa7 Fix timeline top padding 2024-01-01 19:06:14 +01:00
Thomas Ricouard
bd51dfc0b6 Fix safe area on media viewer 2024-01-01 18:31:55 +01:00
Thomas Ricouard
ce845cd6b3 Better timeline top pin view 2024-01-01 18:23:03 +01:00
Thomas Ricouard
f0061b36ca Account: Show nav bar title for main, followers, following 2024-01-01 17:29:15 +01:00
Thomas Ricouard
8ee5da319c Reflect edit / post / delete status better 2024-01-01 16:46:34 +01:00
Thomas Ricouard
8c72b627df Fix scroll to id 2024-01-01 14:16:42 +01:00
Thomas Ricouard
b10ee3091c Make edit stickier 2024-01-01 14:13:25 +01:00
Thomas Ricouard
b93df71431 Don't resize images if same size 2024-01-01 11:39:32 +01:00
Thomas Ricouard
b6317d7324 Add tests for Router 2024-01-01 09:48:53 +01:00
Thomas Ricouard
7222d530dd Fix url router 2024-01-01 09:23:06 +01:00
Thomas Ricouard
b4757621f2 Only show the new icon card on iPad / macOS 2023-12-31 13:43:13 +01:00
Thomas Ricouard
9b70519798 Fix sensitive content transition 2023-12-31 13:28:27 +01:00
Thomas Ricouard
a85c701f50 Fix #1639 2023-12-31 13:17:09 +01:00
Thomas Ricouard
7add850fe6 Rename timeline related files 2023-12-31 11:18:42 +01:00
Thomas Ricouard
acccdb8041 Load new posts per 100 instead of 200 2023-12-31 08:11:53 +01:00
Thomas Ricouard
0497191acf Add icons for all filters 2023-12-30 16:16:19 +01:00
Thomas Ricouard
781121d1d4 Add more tests 2023-12-30 15:40:04 +01:00
Thomas Ricouard
fe66acbd39 Timeline: Add pills quick access 2023-12-30 14:54:09 +01:00
Thomas Ricouard
631707a798 Refactor TimelineView 2023-12-30 12:30:02 +01:00
Thomas Ricouard
6ea4888ae5 Add more timeline tests 2023-12-30 09:51:34 +01:00
Thomas Ricouard
b0cc02541e Fix modelTests 2023-12-30 09:16:18 +01:00
Thomas Ricouard
8a2861b37f Add stream tests 2023-12-30 09:08:19 +01:00
Thomas Ricouard
b4013e39c0 Fix DM view 2023-12-29 18:56:50 +01:00
Thomas Ricouard
c328c6c0be Refactor App level to App + App View -> Slideover = phone layout on iPad 2023-12-29 18:50:53 +01:00
Thomas Ricouard
84898c3b8e Fix #1798 2023-12-29 18:16:23 +01:00
Thomas Ricouard
2bdef66da0 Actions buttons: Bigger tap area 2023-12-29 17:57:37 +01:00
Thomas Ricouard
6359349a40 VisionOS fix 2023-12-29 17:06:27 +01:00
Thomas Ricouard
4ba8d004d1 Add Threads themes 2023-12-29 08:01:09 +01:00
Thomas Ricouard
7b484fc8e1 Add loading indicator on profile 2023-12-28 22:18:13 +01:00
Thomas Ricouard
dac9fc55e9 Scale share button 2023-12-28 22:03:24 +01:00
Thomas Ricouard
dcd63cfd54 Fix #1789 2023-12-28 21:57:55 +01:00
Thomas Ricouard
a1093c8052 Animate favorite / boost count update 2023-12-28 21:57:41 +01:00
Thomas Ricouard
6850fcd928 Add support / about shortcuts in account selector bottom sheet 2023-12-28 16:03:16 +01:00
Thomas Ricouard
b83f7e9a55 Fix notifications reload 2023-12-28 13:48:50 +01:00
Thomas Ricouard
00e35be2d5 Fix counter 2023-12-28 13:14:11 +01:00
Thomas Ricouard
f3043b608c Better date pre compute 2023-12-28 12:31:16 +01:00
Thomas Ricouard
8f0548f45d Optimize timeline 2023-12-28 12:26:09 +01:00
Thomas Ricouard
fa4603e77c Fix notifications locked type 2023-12-28 12:03:01 +01:00
Thomas Ricouard
a09b2fa95e monospacedDigit 2023-12-28 11:56:23 +01:00
Thomas Ricouard
d0c2cd4520 Better unread counter + animation 2023-12-28 11:54:41 +01:00
Thomas Ricouard
b0ba6c15da Add favorites / bookmarks tab on macOS / iPadOS 2023-12-28 09:37:02 +01:00
Thomas Ricouard
e0563122a7 Layout fix & tweak 2023-12-28 07:55:17 +01:00
Thomas Ricouard
d065ae6aa8 Add settings to toggle between share and bookmark button 2023-12-28 07:48:35 +01:00
Thomas Ricouard
44dbd379ba Further layout tweaks 2023-12-27 19:28:16 +01:00
Thomas Ricouard
d300bee96f Bump to version 1.10.2 2023-12-27 18:53:11 +01:00
Thomas Ricouard
21ac4cfa21 Further tweak the layout 2023-12-27 18:16:59 +01:00
Thomas Ricouard
bfa717bfa2 Shorter date for status < to 24H 2023-12-27 18:05:41 +01:00
Thomas Ricouard
e53a3d0f61 Fix reasons check 2023-12-27 17:12:48 +01:00
Thomas Ricouard
2b16b10987 Tweak status detail layout 2023-12-27 16:48:50 +01:00
Thomas Ricouard
8a0cf44834 Visually align new post button 2023-12-27 16:27:21 +01:00
Thomas Ricouard
1a3bded101 New default timeline layout 2023-12-27 16:07:16 +01:00
Thomas Ricouard
2e1652ef53 Fix "Only buttons" settings 2023-12-27 15:16:53 +01:00
Thomas Ricouard
962c7c0295 Timeline: Basic timeline sync using the marker API 2023-12-27 13:26:30 +01:00
Thomas Ricouard
590299d102 Sync with markers API for notifications 2023-12-26 16:01:02 +01:00
Thomas Ricouard
ede45a9d46 Fix #1769 2023-12-26 13:56:28 +01:00
Thomas Ricouard
c4bff07c40 Bump version to 1.10.0 2023-12-26 13:40:39 +01:00
Thai D. V
f326bbefe6
Fix: Search Instances Feature (#1766)
* fix: search logic and performance

* Remove overlay

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-26 13:31:22 +01:00
Thomas Ricouard
f04f5c701c Fix #1767 2023-12-21 21:00:44 +01:00
Thomas Ricouard
3eb373550e visionOS: Fixes 2023-12-19 15:07:51 +01:00
Thomas Ricouard
5a2478c791
VisionOS native support (#1758)
* Initial support

* UI Adjustments

* WIP icons

* More UI
2023-12-19 09:51:20 +01:00
Thomas Ricouard
8ff3e22d9f SwiftFormat 2023-12-18 08:22:59 +01:00
sh95014
2145bd5971
AppStore Link Preview (#1756)
* Custom layout for App Store links

* generalize the logic to include links known to be associated with square icons

- such as Apple Music and Spotify
2023-12-18 07:01:46 +01:00
David Walter
d755396119
Update EmojiText to 3.2.1 (#1753) 2023-12-18 06:43:52 +01:00
Thomas Ricouard
6f6e352baf Mixin portrait and landscape media in the status medias carousel 2023-12-17 10:41:42 +01:00
Thomas Ricouard
1fa54afc3a Add support for GIPHY + rework loading of the media in the editor 2023-12-17 10:27:01 +01:00
sh95014
f9da958047
add a setting to disable the account popover on hover (#1750)
* add a setting to disable the account popover on hover

- not entirely pleased with the AnyView() cast but don't really know of a less invasive change

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-17 07:57:20 +01:00
Thomas Ricouard
a7f982e827 Fix posting order for threads 2023-12-17 07:52:16 +01:00
David Walter
47326b3f7a
Update EmojiText to 3.2.0 (#1751)
Fixes #1738
2023-12-17 07:28:18 +01:00
Thomas Ricouard
8f31e34e1d Fix colors 2023-12-15 20:13:50 +01:00
Thai D. V
1977b1a572
Feature: Post and Reply by Threads (#1740)
* refactor: `StatusEditorView`

* feat: post and reply by threads

* Tidy up

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-14 08:06:24 +01:00
Paul Schuetz
d8a686be51
Allow the user to customize the thread indentation (#1737)
* Allow the user to customize the thread indentation

The user can now select if they want to indent threads/replies, and how much
the replies should be indented.

* Make the wording clearer

The wording is now clearer since "thread" is replaced by "reply".

* Fix localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-14 07:17:09 +01:00
Paul Schuetz
e4df8a8b69
Link to parent post (#1736)
The "reply to ..."-text is now a link to the parent post. A tap scrolls to the
parent if the whole hierarchy over a post is shown (detail view). Otherwise,
the detail view for the parent is opened.
2023-12-14 07:12:12 +01:00
Thai D. V
81ba1e9bee
Add Select Status Text Action (#1731)
* add select text action

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-12-14 06:46:16 +01:00
Thomas Ricouard
8d7b6f382e Fixes & optimizations 2023-12-13 12:37:07 +01:00
Thomas Ricouard
232e031559 Add charts for tags 2023-12-13 09:05:30 +01:00
Thomas Ricouard
d31af12bb6 Add pull to refresh on post detail 2023-12-10 08:42:26 +01:00
Thai D. V
f3ef79b297
Relayout media on status editor (#1728)
* relayout media display

* animate media layout

* fix layout
2023-12-09 10:59:10 +01:00
Thomas Ricouard
52208ab20e Poxy OpenAI calls and remove OpenAI secrets from the app 2023-12-09 10:58:42 +01:00
Thomas Ricouard
da6c5ed76c Add follow section in about 2023-12-08 08:04:35 +01:00
Thomas Ricouard
052afd5931 New media carrousel 2023-12-07 18:48:18 +01:00
Thomas Ricouard
51656794fc Use env webAuthenticationSession 2023-12-07 09:45:34 +01:00
Thomas Ricouard
5941276145 Update dependencies 2023-12-07 09:29:03 +01:00
Thai D. V
774ba834bd
Improve media selection on the status editor. (#1722)
* show menu buttons on media item

* fix media preparing logic
- not removing photo pickers when removing media on the post editor
- pickers don't have identifiers after being selected
- preparing tasks (creating containers, uploading media) don't run in parallel
- re-preparing the whole media list every time adding new ones

* remove measurement code

* rename variables

* fix MainActor mutation
2023-12-07 06:39:34 +01:00
Thomas Ricouard
f2cd05968e Add a translate button after generating image description 2023-12-06 21:04:47 +01:00
Thomas Ricouard
4f9e23296f Cleanup 2023-12-06 18:56:19 +01:00
Thomas Ricouard
3d2171d716 Refactor auth to ASWebAuthenticationSession 2023-12-06 08:05:26 +01:00
Thai D. V
2e350f5fce
move environment runtime check to compile time (#1709) 2023-12-06 06:41:26 +01:00
Thomas Ricouard
df1a44cc21 Use V1 accounts API for autocomplete 2023-12-05 21:03:47 +01:00
Thai D. V
330aa93437
photo view ignores bottom edge of safe area (#1708) 2023-12-05 08:23:42 +01:00
Thomas Ricouard
4dbe04a5d4 Better image alt prompt 2023-12-04 20:36:15 +01:00
Thomas Ricouard
28ab417b0a Generation image description using GPT Vision 2023-12-04 20:04:12 +01:00
Thomas Ricouard
fcaf48ce53 foregroundColor -> foregroundStyle 2023-12-04 15:49:44 +01:00
Thomas Ricouard
3840b8fb28 presentationMode -> dismiss 2023-12-04 14:14:42 +01:00
Thomas Ricouard
4a09989160 Fix tag condition 2023-12-04 11:49:36 +01:00
Thomas Ricouard
76219f553b Add tag status indicator for home timeline 2023-12-04 09:52:18 +01:00
Thomas Durand
ad2adadf87
Added a "Continues a thread" label to status rows (#1704) 2023-12-03 13:54:57 +01:00
Thai D. V
56360ae821
fix: make windowWidth and windowHeight of SceneDelegate observable (#1693) 2023-12-03 12:43:15 +01:00
Thomas Ricouard
b249b37612 Add a fast refresh option 2023-12-01 08:51:19 +01:00
Thomas Ricouard
885a134eaf Fix list on older instances 2023-12-01 08:14:57 +01:00
Hugo Saynac
69d5f265fe
Improve indentation level design for indentations level > 1 (#1695) 2023-11-29 09:02:01 +01:00
Thomas Ricouard
12419a77e2 Fix build for real 2023-11-28 14:41:17 +01:00
Thomas Ricouard
662f1002f5 Fix build 2023-11-28 14:32:35 +01:00
Thomas Ricouard
f2606b4614 Search users in list edit 2023-11-28 14:16:04 +01:00