Skip to content

Conversation

@jvsena42
Copy link
Member

@jvsena42 jvsena42 commented Oct 6, 2025

Roadmap item

FIGMA - CJIT
FIGMA - CJIT LEARN MORE
FIGMA - TRANSFER TO SPENDING
FIGMA - TRANSFER TO SPENDING ADVANCED
FIGMA - ADD LIQUIDITY
FIGMA - HOME SUGGESTION

Description

  • Setup in background switch
    • CJIT
    • CJIT Learn more
    • Transfer to spending
    • Transfer to spending advanced
    • Add Liquidity
  • Home suggestion card

Preview

home_suggestion.webm

Uploading transfer.webm…

QA Notes

Tested:

  • Has spending balance -> hasn't enabled notifications - > Display Home suggestion
  • CJIT
  • Transfer to spending
  • Add liquidity

@jvsena42 jvsena42 self-assigned this Oct 6, 2025
@jvsena42
Copy link
Member Author

jvsena42 commented Oct 7, 2025

Waiting for #413 E2E tests being updated

Base automatically changed from feat/time-sheet-polish to master October 13, 2025 13:50
# Conflicts:
#	app/src/main/java/to/bitkit/ui/screens/wallets/HomeNav.kt
#	app/src/main/java/to/bitkit/ui/screens/wallets/HomeScreen.kt
@jvsena42 jvsena42 requested a review from Copilot October 13, 2025 14:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements notification settings for Bitkit's Lightning wallet, specifically focusing on background setup operations for CJIT (Custom-Jit) channels and spending transfers. It introduces notification permission handling and UI switches to enable "setup in background" functionality.

  • Adds notification permission management across multiple Lightning-related flows
  • Introduces "Setup in background" switches for CJIT and transfer operations
  • Adds a home screen suggestion card to prompt users to enable notifications

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
strings.xml Adds notification-related string resources for the suggestion card
ReceiveSheet.kt Integrates notification permission state with CJIT liquidity screens
ReceiveLiquidityScreen.kt Adds notification switch UI and permission handling to liquidity setup
ReceiveConfirmScreen.kt Adds notification switch to CJIT confirmation screen
HomeViewModel.kt Includes notifications suggestion in home screen suggestions
HomeScreen.kt Handles navigation for notification settings from suggestion card
SpendingConfirmScreen.kt Adds notification switch to spending transfer confirmation
SettingsSwitchRow.kt Enhances switch component to accept custom colors
Suggestion.kt Defines the new NOTIFICATIONS suggestion card

@jvsena42 jvsena42 marked this pull request as ready for review October 14, 2025 18:47
@jvsena42 jvsena42 requested a review from ovitrif October 14, 2025 18:47
@jvsena42
Copy link
Member Author

testes transfer and liquidity flow, but can't upload the videos
Couldn't test CJIT because of geoblcking

Uploading transfer.webm…

@jvsena42
Copy link
Member Author

Tested CJIT ✅
Still can't update the videos
Uploading cjit.webm…

Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except that one little issue from the comment, on CJIT 'ReceiveLiquidityScreen' 👍🏻

nit: There's also some spacing improvements that could've been done on SpendingConfirmScreen to match FIGMA closer in terms of top and bottom space for the new switch, and the text should always be Set up in background but it is Setup in background.

If you want I can make the commits for these 👍🏻

ovitrif
ovitrif previously approved these changes Oct 15, 2025
Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jvsena42 needing one small push from you then we can merge this.

@ovitrif ovitrif enabled auto-merge October 15, 2025 20:09
@ovitrif ovitrif merged commit f39004e into master Oct 16, 2025
11 checks passed
@ovitrif ovitrif deleted the feat/notifications-settings branch October 16, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants