Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@futurepaul
Copy link
Collaborator

if they go offline and the device can detect it we'll show them they're offline

https://capacitorjs.com/docs/apis/network

Screenshot 2024-04-18 at 4 15 24 PM

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 18, 2024

Deploying mutiny-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: ae16a88
Status: ✅  Deploy successful!
Preview URL: https://87d06e97.mutiny-web.pages.dev
Branch Preview URL: https://no-connection.mutiny-web.pages.dev

View logs

src/router.tsx Outdated
Comment on lines 129 to 131
<Match when={state.network_status?.connectionType === "none"}>
<NoConnection />
</Match>
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should probably be before setup_error. having no internet would likely be the cause of a setup error

Copy link
Collaborator

Choose a reason for hiding this comment

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

One of the first things that gets returned from the setup phase is the LNURL call not working

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure if you guys are agreeing or disagreeing here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

agreeing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

okay rebased and fixed

@AnthonyRonning
Copy link
Collaborator

I don't like this. It's very jarring. It's one thing if it's during the setup, but if there's a little disconnection while on the home screen, the whole screen converts and flashes back when the connection resumes. This is not a good experience for a blip in connection issues. You can do a little disconnection icon at the top or something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants