Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show "warning" icon when disconnected #368

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sidvishnoi
Copy link
Member

Context

We were showing the default icon on "enabled" - which is "continuous payments enabled" earlier. I think makes more sense depending on connected state.

Changes proposed in this pull request

Show the "warning" icon if not connected. So finally:

default: if connected
warning: if not connected
green dot: continuous payment enabled, connected, and has valid link tags
red dot: continuous payment enabled, connected, but not has valid link tags

@github-actions github-actions bot added the area: background Improvements or additions to extension background script label Jun 25, 2024
@sidvishnoi sidvishnoi changed the title fix: show "warning" icon also when disconnected fix: show "warning" icon when disconnected Jun 25, 2024
@raducristianpopa
Copy link
Member

raducristianpopa commented Jun 25, 2024

Extension builds preview

Name Link
Latest commit 48e4c09
Latest job logs Run #9678491613
BadgeDownload
BadgeDownload

@sidvishnoi sidvishnoi marked this pull request as draft June 26, 2024 11:45
@sidvishnoi sidvishnoi marked this pull request as draft June 26, 2024 11:45
@sidvishnoi sidvishnoi mentioned this pull request Jun 26, 2024
@sidvishnoi
Copy link
Member Author

Will use new icons and update logic when to show each icon (similar to one in this PR, but more icons). See #373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: background Improvements or additions to extension background script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants