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

feat: Better error handling for Airnotes with no recent data #40

Merged
merged 3 commits into from May 25, 2022

Conversation

tjvantoll
Copy link
Contributor

@tjvantoll tjvantoll commented May 25, 2022

![Screen Shot 2022-05-25 at 2 22 36 PM](https://user-images.githubusercontent.com/544280/170345471-1e26cda4-a61b-4aa7-9f0f-1b23dfe92ac1.png

If an Airnote has no recent data we show an error. Previously that error only addressed users with new Airnotes (and therefore had no data yet). This PR adds messaging for Airnote users that previously had data, and do not currently.

Story: https://www.pivotaltracker.com/story/show/181203517

There’s also a small workaround in here, because apparently localhost:5000 sometimes doesn’t work on macOS. That was a fun 30 minutes.

@render
Copy link

render bot commented May 25, 2022

@render
Copy link

render bot commented May 25, 2022

'http://localhost:5000',
'https://airnote.live'
]
origin: ["http://localhost:5555", "https://airnote.live"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This port is all that changed. The rest is Prettier auto formatting.

@tjvantoll tjvantoll requested a review from paigen11 May 25, 2022 19:11
@tjvantoll tjvantoll merged commit c83fd88 into main May 25, 2022
@tjvantoll tjvantoll deleted the tj-error-tweak branch July 13, 2022 18:51
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.

None yet

2 participants