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

Ngrok Status Viewer UI Updates #2061

Merged
merged 9 commits into from
Jan 28, 2020
Merged

Ngrok Status Viewer UI Updates #2061

merged 9 commits into from
Jan 28, 2020

Conversation

srinaath
Copy link
Contributor

This PR wraps up all the UX interactions for Ngrok Status Viewer.

  • Shows flashing error indicator and opens the status viewer when there is a tunnel error
  • Adds Status viewer to context menus for Mac and Windows
  • Moves all the tunnel pings and timer updates into its own ngrokSagas

Srinaath Ravichandran added 3 commits January 24, 2020 12:45
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Stable commit to be refactored

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

safe ngrok status viewer display

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Last ping interval set

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Ngrok tab updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Tunnel classes updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Stable ngrok tests

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Fetch with timeout updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Reducer specs updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Ngrok tunnel action test updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

All tests on client and main pass

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Removed ngrok notification icon

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

ngrok tab test

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Code review cleanup

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Safe commit for tracking notifications

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Lock updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Saga update

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Clearning notifications when status shifts from error to Active

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Tests and copy working

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Moved check for reporting upto ngrok

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Using status instead status code

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

TEst build

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Package json updated

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Tests completed

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Reverted to electron rebuilder to support windows

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Console log removed

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

handling timeouts

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

All tests passing for sagas

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
@coveralls
Copy link

coveralls commented Jan 24, 2020

Coverage Status

Coverage increased (+0.4%) to 69.574% when pulling e295d7e on srravich/1973-ngrok-ui into 7234dcf on master.

@srinaath srinaath changed the title Ngrok Status Viewer UX/UI fixes srravich/1971-Ngrok-Status-Viewer UX/UI fixes Jan 27, 2020
@srinaath srinaath changed the title srravich/1971-Ngrok-Status-Viewer UX/UI fixes srravich/1973-Ngrok-Status-Viewer UX/UI fixes Jan 27, 2020
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

Left a few minor comments.

packages/app/client/src/state/reducers/ngrokTunnel.ts Outdated Show resolved Hide resolved
packages/app/main/src/ngrokService.ts Outdated Show resolved Hide resolved
packages/app/main/src/state/sagas/ngrokSagas.ts Outdated Show resolved Hide resolved
packages/app/main/src/state/sagas/ngrokSagas.ts Outdated Show resolved Hide resolved
packages/app/main/src/state/sagas/ngrokSagas.ts Outdated Show resolved Hide resolved
Srinaath Ravichandran added 3 commits January 28, 2020 07:50
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Added tests fro ngrokCommands
Removed comments
fixed typos
Added high contrast specific var

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
tonyanziano
tonyanziano previously approved these changes Jan 28, 2020
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

One small comment, but looks good 👍

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Srinaath Ravichandran and others added 2 commits January 28, 2020 12:47
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

🚢

@srinaath srinaath merged commit e200c7f into master Jan 28, 2020
@srinaath srinaath deleted the srravich/1973-ngrok-ui branch January 28, 2020 22:23
@srinaath srinaath changed the title srravich/1973-Ngrok-Status-Viewer UX/UI fixes Ngrok Status Viewer UI Updates May 20, 2020
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.

3 participants