Commit Graph

7463 Commits

Author SHA1 Message Date
davotoula
8e39da347a don't use image gallery for secret message 2025-09-13 18:16:43 +02:00
davotoula
16e3cba651 found a place where image gallery was used for single images 2025-09-12 12:14:05 +02:00
davotoula
ee9e102eb2 removed lazy component from 20+ images case to avoid nesting lazy components 2025-09-12 10:54:17 +02:00
davotoula
8f1027b55d refactor
Removed duplicate GalleryImage boilerplate.
Use .chunked()
Pull out constants (ASPECT_RATIO, IMAGE_SPACING).
2025-09-11 21:52:36 +02:00
davotoula
4dace5aaf8 refactor using takeWhile
Fix edge case with white space before images
2025-09-11 21:03:06 +02:00
davotoula
8cb9d13567 Use constrained LazyVerticalGrid with calculated height for more than 20 images for performance reasons
added vertical spacing for some padding
Fixing scrollable gallery issue
2025-09-11 21:01:12 +02:00
davotoula
f092326dcd Fixing scrollable gallery issue 2025-09-11 20:58:39 +02:00
davotoula
1f6d7d3fd2 Simplify RenderRegularWithGallery
Simplify collectConsecutiveImageParagraphs: just return the end index
Extracting common signature parameters into a RenderContext data class
Extracting GalleryImage helper function
2025-09-11 20:58:15 +02:00
davotoula
062182a7ec fix for when images are separated by empty lines
refactor to reduce duplication:
Extract RenderParagraphWithFlowRow
Extract collectConsecutiveImageParagraphs
2025-09-11 20:50:21 +02:00
davotoula
9534582141 Collect batches of images
Send them to new image gallery
2025-09-11 20:25:05 +02:00
Vitor Pamplona
4fb629e893 Fixes not sending the live stream events anywhere when the stream doesn't have a relay set declared. 2025-09-09 11:25:59 -04:00
Vitor Pamplona
44a34ffcfe Removes livestream chats from the home bubbles that are placed after the live stream is done 2025-09-09 11:25:30 -04:00
Vitor Pamplona
f00207d53c Fixes reply routes when clicking in the Conversations tab when the event is a PublicChat, LiveStream or Ephemeral Chat 2025-09-09 10:28:49 -04:00
Vitor Pamplona
d25e6cd07b Small speed up with contains of a char and not a string 2025-09-09 10:28:01 -04:00
Vitor Pamplona
bbec0d93d2 Avoids breaking the contract (changes during sorting) 2025-09-08 19:38:18 -04:00
Vitor Pamplona
4158d3bd45 Fixes logs for account 2025-09-08 18:47:31 -04:00
Vitor Pamplona
49e4f7bb46 Fixes feed filter update when changing the top nav filter 2025-09-08 18:03:01 -04:00
Vitor Pamplona
4249b9f872 Fixes not having author picture in the long form previews 2025-09-08 18:01:26 -04:00
Vitor Pamplona
eac2e54953 Merge pull request #1467 from davotoula/prevent-resource-leaks-with-streams
Prevent resource leaks with streams
2025-09-08 17:27:47 -04:00
Vitor Pamplona
2455a34987 Moves account saving from StateViewModel to Account 2025-09-08 17:22:54 -04:00
Vitor Pamplona
ba0ce3366c Fixes f-droid code 2025-09-08 16:58:14 -04:00
Vitor Pamplona
ccf9f47305 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-09-08 16:50:06 -04:00
Vitor Pamplona
95cf3fb6eb Changing the DVM feed to sort by follows that liked or zapped the DVM 2025-09-08 16:49:30 -04:00
Vitor Pamplona
81dbebc5a4 Fixes deletion computation in the update of feeds (it was not considering the a-tag's date and deleting newer events than the deletion request) 2025-09-08 16:49:09 -04:00
Vitor Pamplona
26599fe24f Removes dependency on the viewModel on AccountFeedStates 2025-09-08 15:58:50 -04:00
Vitor Pamplona
ed1ea4d289 Removing the dependency on an application class from AccountViewModel 2025-09-08 15:50:54 -04:00
Vitor Pamplona
e0764da095 Creates an interface for the DualHttpClientManager 2025-09-08 15:50:28 -04:00
Vitor Pamplona
4c8456c4af Fixes the crash on starting when the contentResolver is not ready yet. 2025-09-08 15:50:07 -04:00
Vitor Pamplona
ac2609b4f6 Finish migration to INostrClient 2025-09-08 15:45:50 -04:00
Vitor Pamplona
67e2189676 Moves the event processor to the Account class 2025-09-08 15:06:15 -04:00
Vitor Pamplona
222615a116 Establishing a scope for each account loaded. 2025-09-08 14:37:45 -04:00
davotoula
8f623ebb91 add TODO to investigate. Double closing of stream most often is ignored. 2025-09-08 20:32:28 +02:00
davotoula
adc4aa7906 cleaner code 2025-09-08 20:32:28 +02:00
davotoula
ec362ea0ee Use .use for streams
cleaner code
2025-09-08 20:32:28 +02:00
davotoula
e66e71a05c clener code 2025-09-08 20:32:28 +02:00
davotoula
9be55eda07 close FileInputStreams to prevent resource leak 2025-09-08 20:32:28 +02:00
David Kaspar
16b5d44c3d Merge pull request #1466 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-08 18:38:01 +01:00
Vitor Pamplona
93a639fea5 Modifies the Notification processor to use full accounts and their cached structrues again. 2025-09-08 13:29:02 -04:00
Vitor Pamplona
360f71c79a Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-09-08 13:28:23 -04:00
Crowdin Bot
1f38ae5deb New Crowdin translations by GitHub Action 2025-09-08 17:26:27 +00:00
Vitor Pamplona
f633d57277 Merge pull request #1465 from greenart7c3/main
When using intents check if it's rejected
2025-09-08 13:25:19 -04:00
greenart7c3
196a7de6a3 When using intents check if it's rejected 2025-09-08 14:05:00 -03:00
David Kaspar
4c1d0ac60c Merge pull request #1464 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-08 07:58:20 +01:00
Crowdin Bot
1bdf7d9884 New Crowdin translations by GitHub Action 2025-09-08 06:57:03 +00:00
David Kaspar
9e1d2c89bb Merge pull request #1463 from davotoula/update-translations
added CZ, DE translations
2025-09-08 07:55:46 +01:00
davotoula
a58dc09b80 added CZ, DE translations 2025-09-08 08:34:16 +02:00
David Kaspar
91f85a1e1c Merge pull request #1462 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-09-08 07:05:42 +01:00
Crowdin Bot
cf9d630032 New Crowdin translations by GitHub Action 2025-09-08 06:03:52 +00:00
David Kaspar
f55b0f528c Merge pull request #1461 from davotoula/update-translations
updated PT, CZ, SE, GE translations
2025-09-08 07:02:34 +01:00
davotoula
463762f268 added PT, CZ, SE, GE translations 2025-09-07 19:17:53 +02:00