Commit graph

413 commits

Author SHA1 Message Date
Paul Schuetz 156279faac
Remove unnecessary dictionary in favor of tuple (#1192)
The dictionary for the detected and selected language when posting is replaced
with a named tuple to include named values that are checked at compile time.
This removes a source of error while still being expressive.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-07 18:24:12 +01:00
Ico Davids b3919702e0
Outlined icons in status editor (#1194) 2023-03-07 18:23:38 +01:00
Thomas Ricouard 58957c779a Align reblog / reply view in leading mode Fix #1186 2023-03-07 07:10:57 +01:00
Yusuke Arakawa 62fd7bae12
Fix spoiler image content alignment (#1177)
Fixed an issue where the alignment of the spoiler button and the spoiler image is split left and right when the image size is set to compact.

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-07 07:05:20 +01:00
David Walter 2ac615b0ba
Fix CustomEmoji Baseline Offset (#1188) 2023-03-06 15:21:26 +01:00
Sami Samhuri 796f451f3a
Fix poll percentage wrapping with larger font sizes (#1182) 2023-03-06 07:07:59 +01:00
Andrzej Rózga b0ee77caed
Polish localization (#1174)
* Fixed problem with with the translation of "mentions" in plural form
- Localizable.stringsdict needs a digit (not string) to make a choice of a correct plural form.
- fixed StatusEditorAutoCompleteView
- changed %@ format specifier in Localizable.strings with %lld

* Polish localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-06 07:07:35 +01:00
Keita Watanabe 1989ee1b0b
Fix String interpolation warnings (#1172) 2023-03-05 07:25:52 +01:00
Thomas Ricouard 1466d9690a Suggestion: cancel previous task 2023-03-04 09:55:17 +01:00
Thomas Ricouard 761c8ed3be Composer: Sort suggested tags by usage + display it 2023-03-04 09:50:13 +01:00
Thomas Ricouard f00f843a77 Improve padding in card link 2023-03-04 07:53:42 +01:00
Thomas Ricouard b6b3c30931 Fix rendering of the rocket ship 2023-03-04 07:13:38 +01:00
Thomas Ricouard df4a76f9d1 StatusDataControllerProvider: Update all statuses in detail view fetch 2023-03-03 19:29:31 +01:00
Thomas Ricouard e3d00d2b3e Composer: Don't allow description until the image is finished processing 2023-03-03 18:47:25 +01:00
Thomas Ricouard 42c444fb03 Cleanup / fixes 2023-03-03 12:41:38 +01:00
Thomas Ricouard 82179e5f6f Fix notification text color 2023-03-03 09:20:17 +01:00
Peter-Josef Meisch db5d0b9274
Display and edit filter expirations (#1141) 2023-03-03 08:15:34 +01:00
Thomas Ricouard eea6d93dd5 Add customization of text color close #385 2023-03-03 08:12:01 +01:00
Thomas Ricouard 1ea8af4445 Fix #1096 2023-03-03 07:12:02 +01:00
Thomas Ricouard df80321433 StatusRow: Remove client env object 2023-03-02 21:16:03 +01:00
Thomas Ricouard 37ed178c3f Various fixes + fix Explore navigation 2023-03-02 20:15:07 +01:00
Thomas Ricouard 15b7954705 StatusRowViewModel: Cleanup 2023-03-02 06:56:25 +01:00
Thomas Ricouard a9e935016f StatusDataController: update to fresh statuses data on user profile 2023-03-01 19:27:56 +01:00
Thomas Ricouard 43a4551d9b StatusRow: Flatify the hierarchy to work around iOS 16.4 issues 2023-03-01 17:34:03 +01:00
Thomas Ricouard 87ef2f2a39 Composer lang: Use reply / quote lang and latest recently used language as default 2023-03-01 07:44:37 +01:00
Thomas Ricouard d2c58482f0 StatusDataController: Handle remote status 2023-03-01 07:28:46 +01:00
Thomas Ricouard 963cef02a1 Add sent toot sound effect 2023-03-01 07:04:07 +01:00
Thomas Ricouard 147ba5a179 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-03-01 07:03:15 +01:00
Thomas Ricouard 05da36c27a StatusDataController: Properly fix update cycle 2023-03-01 07:03:09 +01:00
Gareth Simpson bd1593a107
Record quote toots that have failed to load so that we don't try and load them again. (#1119)
* Record quote toots that have failed to load so that we don't try and load them again.

Fixes
1: Repeated visible insertion and removal of placeholder quote toot.
2: Link hijacking of inline status viewer allowing links to be followed as regular URLs

* Move set

* Add back to routeur check

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-01 06:46:55 +01:00
Mike Cohen 8621d71cb1
Update ReblogCache.swift (#1121)
Increase cache size to 300, since 100 was too small and I was still seeing many duplicate boosts.
2023-03-01 06:30:54 +01:00
Yusuke Arakawa ddebf87080
A cancel button has been placed on the custom pictogram selection screen on the post screen (#1101)
Currently, the post screen has a cancel button only on the screen for selecting drafts, so we placed a cancel button for consistency and UX improvement.
Related: #1073

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-28 21:11:32 +01:00
Thomas Ricouard 9ad9b2d93a Fix status data controller 2023-02-28 21:11:06 +01:00
Thomas Ricouard a3e2d3f8b3 Add sound effects 2023-02-28 18:55:08 +01:00
Gareth Simpson 9ebe0b314c
Change arrows icon to rocket for boosts (#1099)
* Change arrows icon to rocket for boosts

* Fixing case (part 1)

* Fixing Case (part 2)

* Clean up after merge

* Fix for disabled boost

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-28 14:53:31 +01:00
Thomas Ricouard adf8d004f7 Update status on fetching detail 2023-02-28 14:16:16 +01:00
Thomas Ricouard 23fe7d3373 Media: Cleanup unused context menu 2023-02-28 08:09:13 +01:00
Thomas Ricouard f93e4063f2 Consistent favorites / boosts / bookmark state / count for statuses + refactor close #889 2023-02-28 06:58:52 +01:00
Thomas Ricouard 6dcce79379 Fix swipe actions not updating 2023-02-27 13:09:50 +01:00
Jim Dovey d1209e6704
Updated to resolve all possible Sendability warnings from Swift 6 compatibility mode. (#1072)
Co-authored-by: Jim Dovey <jimdovey@apple.com>
2023-02-27 06:39:07 +01:00
Peter-Josef Meisch 4d28e2348e
Change icon for locked profile (#1065) 2023-02-26 17:33:16 +01:00
Peter-Josef Meisch 3a144b7792
collapse long posts (#1037) close #914
* collapse long posts

* initialize user pref setting in init(), remove onAppear and onChange(pref) from view

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-26 17:32:09 +01:00
Thomas Ricouard 9d47427769 Fix notifications status images on iPad 2023-02-26 09:54:34 +01:00
Thomas Ricouard 347335f770 Move userMentioned outside of Status 2023-02-26 09:38:26 +01:00
Thomas Ricouard 83e4e74329 Swiftformat 2023-02-26 06:45:57 +01:00
Yusuke Arakawa f1db2f716d
Adjusted how to hide the voting screen (#1054)
Like other submission item selection screens, the voting screen can now be shown/hidden with a button toggle.

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-25 18:28:27 +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 8e72430b4f Revert the isThread behaviour 2023-02-24 13:25:40 +01:00
Thomas Ricouard 29aaa7c5cb Optimisations: Autoclosure for StatusRowViewModel 2023-02-24 13:25:21 +01:00