Commit Graph

836 Commits

Author SHA1 Message Date
LucasGGamerM
20558f0a19 fix(preview-quote-toots): only preview the quote toots if the statusForContent.quote parameter is null 2024-07-04 16:01:06 -03:00
LucasGGamerM
15f84af757 feat(preview-quote-toots): preview quote toots nicely on mastodon
Still missing it on notifications, but it should be there soon
2024-07-04 14:40:05 -03:00
FineFindus
618946a8c6 fix(HtmlParser): remove trailing line breaks
Some fediverse servers (e.g. lemmy) add a trailing line break to the
content. Since we add them as well, this can cause up to three line
breaks at the end of a post, resulting in a blank space.
This removes the trailing line breaks before parsing the content.
2024-06-27 21:40:52 +02:00
LucasGGamerM
e8ce2a7e35 fix(account-sheet): properly check if the account is active
I LOVE RACE CONDITIONS :D
2024-06-25 16:53:22 -03:00
LucasGGamerM
d9ce0e6d31 Merge pull request #428 from FineFindus/fix/draft-error
fix(StatusDisplayItem): explictly copy filter list
2024-06-16 09:42:38 -03:00
FineFindus
9a1668a29a fix(StatusDisplayItem): explictly copy filter list
Fixes an issue, where the app could crash when trying to add client-side
filters to an immutable list. This was the case for viewing scheduled
statuses
2024-06-15 18:44:38 +02:00
LucasGGamerM
4d598bd2fe Merge pull request #425 from FineFindus/fix/account-switch-reload
fix(AccountSwitcherSheet): only restart on different accounts
2024-06-14 14:10:24 -03:00
FineFindus
f9f8c4a9ef fix(ErrorStatusDisplayItem): disable open in browser button on null URL
Disables the Open in Browser, if the URL is null, as otherwise the app
would crash when trying to open the null URL.
2024-06-13 21:25:14 +02:00
FineFindus
14e6187efc feat(ErrorDisplayItem): improve UI/UX with new design
Updates the design of the ErrorStatusDisplayItem to be more
user-friendly. The new design displays an error message indicating that
an error has occurred while attempting to display the item. It then
offers the choice of either view the item in the browser or copy the
error details.
2024-06-13 20:43:29 +02:00
FineFindus
bd88606c48 fix(AccountSwitcherSheet): only restart on different accounts
Changes the AccountSwitcherSheet from always restarting the application
to only restarting if a different account is selected. This reduces the
friction of accidentally clicking on the same account.
2024-06-13 19:22:45 +02:00
FineFindus
7ab920d943 fix: disable GroupDivider on Honor's MagicOS
They have the same invisibility bug as EMUI.
2024-06-09 08:40:45 +02:00
LucasGGamerM
cdcc428e86 fix(#421): make out of screen poll items update when clicking the "Show results" button 2024-05-29 15:24:59 -03:00
FineFindus
b17b7afd03 revert: readd haptic feedback setting on Android 11 and lower
Some OEMs do not implement a systemwide setting for touch feedback.

This reverts commit e0a793e176.
2024-05-28 07:28:48 +02:00
LucasGGamerM
e2e8173db6 fix(image-viewer): add downloading toast when sharing videos/gifs 2024-05-27 16:42:24 -03:00
LucasGGamerM
5e7f4bda82 fix(image-viewer): put the download and share buttons back on a sensible place 2024-05-27 16:38:06 -03:00
FineFindus
6cb8961639 fix(Search): display bot icon only for bots
Due to the way Android handles lists, the icon could be wrongly shown on
non-bot accounts.

Fixes https://github.com/LucasGGamerM/moshidon/issues/418.
2024-05-27 13:41:25 +02:00
LucasGGamerM
d2704c1f0d Merge pull request #416 from FineFindus/refactor/remote-interaction
refactor: deduplicate remote interactions
2024-05-26 11:47:06 -03:00
LucasGGamerM
ed23b7cc13 Merge pull request #417 from FineFindus/feat/cleanup-settings
feat: cleanup settings
2024-05-26 11:44:50 -03:00
FineFindus
47ab6b5a08 fix(FooterStatusDisplayItem): implement applyInteraction 2024-05-26 16:39:37 +02:00
LucasGGamerM
70686bbbd0 Merge pull request #415 from FineFindus/refactor/sharing-img
refactor(PhotoViewer): use getFileProviderUri
2024-05-26 11:28:00 -03:00
LucasGGamerM
b53997261e fix(akkoma-hashtags): an issue where akkoma for some reason needs this for hashtags to open properly 2024-05-26 10:17:26 -03:00
FineFindus
e0a793e176 feat: remove haptic feedback setting
Haptic feedback behaviour can already be controlled from Anddroid
settings.
2024-05-25 11:31:58 +02:00
FineFindus
542c24ff75 refactor: deduplicate remote interactions 2024-05-25 11:26:45 +02:00
FineFindus
965f7c6d1d refactor(PhotoViewer): use getFileProviderUri 2024-05-25 11:11:41 +02:00
LucasGGamerM
5d3afc1b0e Merge pull request #413
refactor: share img/show preview
2024-05-23 14:16:03 -03:00
Grishka
0c8f903eb6 Share sheet previews (AND-139) 2024-05-23 14:09:45 -03:00
FineFindus
c0ab3a47ae feat(PhotoViewer): rich previews for image sharing 2024-05-22 19:53:57 +02:00
FineFindus
f4a94bc42e refactor(PhotoViewer): deduplicate file sharing code 2024-05-22 19:51:10 +02:00
LucasGGamerM
c64d6db859 Merge pull request #409 from FineFindus/feat/improve-poll-animation
feat(Poll): scale animation based on votes
2024-05-19 10:59:38 -03:00
LucasGGamerM
a082a3d325 feat(crash-status-display-item): makes the app not crash when creating the status display items
This is the first part of a 2 part patch, because crashes can still happpen when the item is being "binded", which makes it necessary to handle those errors as well, which we currently DON'T do.

Also the Error item is still needing to be better, so there is also that to work on
2024-05-19 10:20:15 -03:00
FineFindus
169fbc2d52 feat(Poll): scale animation based on votes
Updates the animation timing, to be based on the amount of votes a
option received relative to the other options. This means a option with
more votes will run longer than one with less votes. Overall this makes
the animation appear more dynamic and smoother.
2024-05-19 08:42:02 +02:00
FineFindus
ad9b5f028d feat(PollOptions): adjust animation curve 2024-05-12 21:29:50 +02:00
FineFindus
54202f3e8d feat(PollOptions): animate view results 2024-05-12 20:42:28 +02:00
LucasGGamerM
129ce09c9f fix(get-client-filters): only add client filters if status is not previously filtered 2024-05-11 14:49:13 -03:00
FineFindus
d1d8f2ef45 refactor(StatusDisplayItem): move client filters to AccountSession 2024-05-09 06:39:50 +02:00
FineFindus
ebf3b075b8 fix(StatusDisplayItem): apply filter highlight
The filter highlight was not correctly shown, as the source text was
re-parsed when creating the TextStatusDisplayItem.
2024-05-08 17:08:18 +02:00
FineFindus
28c851a630 refactor: remove StatusFilterPredicate
Removes the deprecated StatusFilterPredicate class, as it has been
replaced upstream. Client-side filters are now directly applied in the
when building a StatusDisplayItem.
2024-05-08 16:43:33 +02:00
LucasGGamerM
9cb48e2f25 fix(mute-confirmation-sheet-timer-dialog): use Ok instead of Save 2024-05-05 16:21:44 -03:00
LucasGGamerM
6f89dd7331 fix(photo-viewer-menu-icons): readd share button on non-status media viewers 2024-05-05 16:18:11 -03:00
LucasGGamerM
a59c20d239 fix(menu-icons): disable them for android 14 and higher devices
This is due to a shitty bug with android 14 and InsetDrawables which I couldn´t fix yet
2024-05-05 16:07:26 -03:00
LucasGGamerM
d047379785 fix(compose-autocomplete): add null checks to hashtags logic
Fuck java
2024-04-12 16:53:43 -03:00
LucasGGamerM
ff9587661e fix(emoji-selector): fixes crash when you typed an emoji's name and pressed the virtual keyboard's emoji suggestion
@sk22 might like this one
2024-04-12 16:29:49 -03:00
LucasGGamerM
e6a4f81b78 fix(client-filters): readd the necessary logic for them to work again 2024-04-12 14:39:33 -03:00
LucasGGamerM
6c519b3cb9 feat(mute-sheet): use secondary button for mute duration instead of a new row 2024-04-10 12:30:02 -03:00
FineFindus
fe96ee5f2a feat: propagate row clicks to child 2024-04-02 20:04:40 +02:00
FineFindus
e6501ad8a3 feat: add mute notifications toggle 2024-04-02 19:53:54 +02:00
FineFindus
56540d7e7b feat: re-add mute duration option 2024-04-02 19:32:08 +02:00
FineFindus
37f63b1142 feat: add support for rows with custom views 2024-04-02 19:31:22 +02:00
LucasGGamerM
d08c64e749 Merge pull request #368 from FineFindus/fix/open-link-browser
fix: use correct openURL function
2024-03-28 17:32:44 -03:00
FineFindus
974774a913 fix: use correct openURL function 2024-03-28 20:49:51 +01:00