Commit Graph

8803 Commits

Author SHA1 Message Date
Vitor Pamplona e9210872bd Improves performance by precaching signatures before sorting them
Fixes out of order crash when the same signature came back.
2026-01-12 15:29:33 -05:00
Vitor Pamplona e561492705 Removes unused aliases 2026-01-12 15:28:33 -05:00
Vitor Pamplona 096f59ffc1 Merge pull request #1663 from nrobi144/phase1-final
Desktop - Threads and Notifications + Empty state updates
2026-01-12 10:00:20 -05:00
Vitor Pamplona 2adde38a9c Merge pull request #1660 from davotoula/1654-voice-reply-to-text-note-as-kind-1
voice reply to text note as kind 1
2026-01-12 09:39:03 -05:00
Róbert Nagy 30f7077ea3 Merge branch 'main' into phase1-final 2026-01-12 07:02:49 +02:00
nrobi144 e1412c1f97 fix: Add proper empty states with EOSE tracking
- NotificationsScreen: Show "No notifications yet" after EOSE instead of infinite loading
- FeedScreen: Show "No notes found" after EOSE for both Global and Following feeds
- ThreadScreen: Show "Note not found" if root note missing after EOSE, "No replies yet" for empty threads

Uses existing EmptyState component from commons. Tracks EOSE (End of Stored Events) from relays to distinguish between "still loading" and "no data".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 06:52:33 +02:00
nrobi144 ec629ac3fe feat: Extract Card interface and CardFeedState to commons (B1)
- Create commons/ui/notifications/CardFeedState.kt with:
  - Card interface (createdAt, id)
  - CardFeedState sealed class (Loading, Loaded, Empty, FeedError)
  - DefaultCardComparator for sorting

- Update Android imports to use commons Card/CardFeedState:
  - DefaultFeedOrder.kt
  - AccountViewModel.kt
  - CardFeedContentState.kt
  - CardFeedState.kt (now only contains concrete card types)
  - CardFeedView.kt

Part of Phase B (Notifications Feed Extraction) for #1648

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 06:34:14 +02:00
nrobi144 45207857c6 finish ThreadScreen 2026-01-12 06:23:57 +02:00
David Kaspar dea0c336ef Merge pull request #1661 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-11 17:54:16 +00:00
davotoula 1e898d57b2 code review fixes:
textHint variable was retrieved but never used
extracted logic for fixing relay hints and author information in tags
made mimeType check logic clearer
2026-01-11 18:34:59 +01:00
Crowdin Bot b71bb8cd2b New Crowdin translations by GitHub Action 2026-01-11 17:20:41 +00:00
Vitor Pamplona d9a9cdd374 Fixes lack of update in follow count on the UserProfile page 2026-01-11 12:18:21 -05:00
davotoula f51d0fb56e code review:
added p-tag for voice reply to kind 1
allow waveform IMeta with a missing mimeType to render as audio
2026-01-11 17:42:05 +01:00
davotoula 70c638ad90 refactor to a shared composable to eliminate waveform code duplication 2026-01-11 10:37:25 +01:00
davotoula d8093f64b1 Display kind 1 voice replies as audio waveform 2026-01-11 10:37:24 +01:00
davotoula 58b97e0695 Voice reply to VoiceEvent/VoiceReplyEvent (KIND 1222/1244) → Creates VoiceReplyEvent (KIND 1244)
Voice reply to TextNoteEvent (KIND 1) → Creates TextNoteEvent (KIND 1) with audio IMeta attachment and proper reply tags
2026-01-11 10:12:43 +01:00
Vitor Pamplona d24fe03bdd Avoids crashing when the k tag is a text 2026-01-10 18:34:01 -05:00
Vitor Pamplona 1cf2beb92e Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
  remove unused imports
  guard for NaN crash with short recordings
  fix re-record button
  change icon to stop icon
  change from "hold to record" to "click to start, click to stop"
2026-01-10 12:10:40 -05:00
Vitor Pamplona 3e88eed640 Merge pull request #1657 from davotoula/record-voice-on-off-button
Record voice on off button instead of hold to record
2026-01-10 12:09:59 -05:00
Vitor Pamplona 30e5b3d35e removes bringing back all versions of an Addressable on the search screen. 2026-01-10 12:08:42 -05:00
David Kaspar 1882792a9d Merge pull request #1658 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-10 17:07:09 +00:00
Crowdin Bot a935c7cecf New Crowdin translations by GitHub Action 2026-01-10 17:06:00 +00:00
Vitor Pamplona cf0f71d04f Fixes: https://github.com/vitorpamplona/amethyst/issues/1621
Renders the fork information at the second line for the Master Note as well.
2026-01-10 12:02:26 -05:00
davotoula d52906fda0 remove unused imports 2026-01-10 17:59:01 +01:00
davotoula 7b6b0f66a5 guard for NaN crash with short recordings 2026-01-10 17:59:01 +01:00
davotoula 5faa439a8b fix re-record button 2026-01-10 17:37:50 +01:00
davotoula 524180bec9 change icon to stop icon 2026-01-10 17:37:50 +01:00
davotoula 3c12be354e change from "hold to record" to "click to start, click to stop" 2026-01-10 17:37:50 +01:00
Vitor Pamplona 045f2aced9 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
  update cz, pt, de, sv
2026-01-10 11:36:22 -05:00
Vitor Pamplona 1ead2983ac Moves to a fork model via interfaces to start creating specific screens for each event type 2026-01-10 11:36:11 -05:00
Vitor Pamplona 1c26ccecc0 Adds support for NipTexts on Amethyst 2026-01-10 11:15:03 -05:00
nrobi144 6aacb8e654 move ThreadFilter to commons 2026-01-09 14:40:30 +02:00
David Kaspar d8b8650048 Merge pull request #1652 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-09 11:30:39 +00:00
Crowdin Bot c7b408f79d New Crowdin translations by GitHub Action 2026-01-09 11:29:27 +00:00
David Kaspar 761addb92e Merge pull request #1651 from davotoula/update-translations
update cz, pt, de, sv
2026-01-09 11:28:09 +00:00
davotoula e874e302e0 update cz, pt, de, sv 2026-01-09 11:17:56 +01:00
nrobi144 a6f49665a7 feat: Extract drawReplyLevel modifier to commons
Move the thread reply level visualization modifier to shared commons
module for use by both Android and Desktop platforms.

- Add ThreadModifiers.kt to commons/ui/thread/
- Update Android ThreadFeedView to use shared modifier
- Add overload for non-State level parameter

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 07:14:52 +02:00
nrobi144 9836a47f65 update Android imports 2026-01-09 07:01:36 +02:00
nrobi144 a6d90c319e feat: Add lifecycle-viewmodel KMP dependencies to commons
Adds androidx.lifecycle.viewmodel.compose and lifecycle.runtime.compose
to commons/commonMain as preparation for extracting ViewModels to shared code.

These dependencies have KMP support since 2.8.0 (currently on 2.10.0).

Preparation for Phase A2: Extract Thread ViewModels to commons.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 07:01:36 +02:00
nrobi144 211305c572 A1 extract to commons 2026-01-09 07:01:35 +02:00
Vitor Pamplona 54c1605de7 v1.05.1 2026-01-08 19:01:01 -05:00
Vitor Pamplona dca9a1da47 Clicking on Drafts now edits the post. 2026-01-08 18:29:00 -05:00
Vitor Pamplona 466ae37b85 Fixes bug of mixing DMs between the logged in users. 2026-01-08 17:30:46 -05:00
Vitor Pamplona b586971f00 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
2026-01-08 16:23:16 -05:00
Vitor Pamplona bb01918120 v1.05.0 2026-01-08 16:21:30 -05:00
Vitor Pamplona f2bda2e5ec No need to set items directly. This happens later. 2026-01-08 15:23:11 -05:00
Vitor Pamplona e12d924c59 Merge pull request #1650 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-08 10:57:57 -05:00
Crowdin Bot a972891059 New Crowdin translations by GitHub Action 2026-01-08 15:03:34 +00:00
Vitor Pamplona dd259bab33 Separates currentFilters from lastSeenFilters to correctly close subscriptions with relays when ending them on NostrClient. 2026-01-08 10:00:42 -05:00
Vitor Pamplona 19d3c5a10e Merge branch 'main' of https://github.com/vitorpamplona/amethyst
* 'main' of https://github.com/vitorpamplona/amethyst:
  New Crowdin translations by GitHub Action
2026-01-07 16:42:16 -05:00