Commit graph

235 commits

Author SHA1 Message Date
Thomas Ricouard
8fe6eddead Settings: Add a button to hide OpenAI button in the composer 2023-01-23 20:45:18 +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
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
ce41e6b000 Always display relative date in the timeline 2023-01-22 20:14:05 +01:00
Sean Goldin
0ad5f17b5a
Include spoiler text count when applicable (#281) 2023-01-22 18:50:45 +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
Thomas Ricouard
d6aa99eb57 New direct messages view close #122 2023-01-22 16:55:03 +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
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
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
9f7eb4361a Fix polls not showing results to author fix #211 2023-01-21 15:38:31 +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
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
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
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
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
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
09c09d5ea9 Composer: Trim attachement characters 2023-01-19 11:58:58 +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
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
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
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
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
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
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
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
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
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
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
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
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
dc223171b3 Support hide sensitive medias / hide all medias 2023-01-09 20:39:42 +01:00
Thomas Ricouard
662f4be29d Bookmarks support close #48 2023-01-09 19:26:56 +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
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
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
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
75505f9ba3 Test: Enable macOS app as Designed for iPad 2023-01-05 12:55:05 +01:00
Thomas Ricouard
e1ad5efd80 Direct message + empty screen for notifications and messages 2023-01-05 12:21:54 +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
Thomas Ricouard
73f3fef738 Basic splitView on iPad + Disable macOS for now 2023-01-04 12:50:57 +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