Commit Graph

8671 Commits

Author SHA1 Message Date
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
nrobi144 6aacb8e654 move ThreadFilter to commons 2026-01-09 14:40:30 +02: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
Vitor Pamplona d5ba3ffc04 Simplifies NIP-05 processing 2026-01-07 16:38:51 -05:00
Vitor Pamplona 882cf6ee59 Moving OpenGraph parser to commons 2026-01-07 16:34:15 -05:00
Vitor Pamplona cba4d25424 Moves follows and publish to their own packages 2026-01-07 16:16:01 -05:00
Vitor Pamplona 1176093567 Merge pull request #1647 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-07 15:37:36 -05:00
Crowdin Bot b5a9b346c6 New Crowdin translations by GitHub Action 2026-01-07 20:35:11 +00:00
Vitor Pamplona 6b8036eac4 Forcing notify relay to be either the NIP-65 or DM relays 2026-01-07 15:33:16 -05:00
Vitor Pamplona 139e9fd3ef Re-adds name to the profile edit page. 2026-01-07 14:52:40 -05:00
Vitor Pamplona 259b476139 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 14:43:46 -05:00
Vitor Pamplona 92f07c5615 Remove deprecated field 2026-01-07 14:33:56 -05:00
Vitor Pamplona dceabbb51e delete duplicated file 2026-01-07 14:33:45 -05:00
Vitor Pamplona 96ae047271 Removes unnecessary file from commons 2026-01-07 14:31:23 -05:00
Vitor Pamplona ab99dc34f3 Merge pull request #1646 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-07 14:04:01 -05:00
Crowdin Bot 331124c92a New Crowdin translations by GitHub Action 2026-01-07 18:42:55 +00:00
Vitor Pamplona 13aaaeacd8 Fixes imports 2026-01-07 13:40:24 -05:00
Vitor Pamplona 64c237a4e5 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 13:27:00 -05:00
Vitor Pamplona 60dafd9267 Moves reactions to packages for their nips 2026-01-07 13:26:47 -05:00
Vitor Pamplona 1783fbab59 Separating ListChange 2026-01-07 13:18:17 -05:00
David Kaspar 78d614129a Merge pull request #1645 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-07 17:26:51 +00:00
Crowdin Bot 5051eb6d40 New Crowdin translations by GitHub Action 2026-01-07 17:25:00 +00:00
Vitor Pamplona cf174c7734 Removes dependency on okhttp for the HTMLParser 2026-01-07 12:22:57 -05:00
Vitor Pamplona 0e59ea570e 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 12:09:40 -05:00
Vitor Pamplona e3832ee19b Moves Filters from Common to Desktop 2026-01-07 12:06:28 -05:00
Vitor Pamplona 5cb0231cf9 Fixes the choice of padding to match what it was on Amethyst 2026-01-07 12:06:11 -05:00
Vitor Pamplona ed5246e8c3 Merge pull request #1644 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-07 11:57:24 -05:00
Vitor Pamplona 806bc2729a Fixes places for the test and common code 2026-01-07 11:51:45 -05:00
Crowdin Bot e05aa611eb New Crowdin translations by GitHub Action 2026-01-07 16:43:22 +00:00
Vitor Pamplona 9014424f0d Merge pull request #1643 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2026-01-07 11:42:50 -05:00
Crowdin Bot e84eca2bca New Crowdin translations by GitHub Action 2026-01-07 16:42:01 +00:00
Vitor Pamplona dd9d7ac0c8 Merge remote-tracking branch 'origin/nrobi144/desktop-phase1'
* origin/nrobi144/desktop-phase1:
  Fixes FilledFilter test
  moves keystore to commons to avoid unnecessary dependencies on Quartz
  Fixes missing tagsAll
2026-01-07 11:41:30 -05:00
Vitor Pamplona 71448d9712 Merge pull request #1642 from nrobi144/nrobi144/desktop-phase1
Desktop Phase 1 - Compose Multiplatform Support
2026-01-07 11:40:46 -05:00
Vitor Pamplona d3e0cdd135 Fixes FilledFilter test 2026-01-07 11:16:26 -05:00
Vitor Pamplona ce01e8f70c moves keystore to commons to avoid unnecessary dependencies on Quartz 2026-01-07 11:09:45 -05:00