Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Ngrok Status Viewer UI Updates#2061

Merged
srinaath merged 9 commits intomasterfrom
srravich/1973-ngrok-ui
Jan 28, 2020
Merged

Ngrok Status Viewer UI Updates#2061
srinaath merged 9 commits intomasterfrom
srravich/1973-ngrok-ui

Conversation

@srinaath
Copy link
Copy Markdown
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 <[email protected]>

Stable commit to be refactored

Signed-off-by: Srinaath Ravichandran <[email protected]>

safe ngrok status viewer display

Signed-off-by: Srinaath Ravichandran <[email protected]>

Last ping interval set

Signed-off-by: Srinaath Ravichandran <[email protected]>

Ngrok tab updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Tunnel classes updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Stable ngrok tests

Signed-off-by: Srinaath Ravichandran <[email protected]>

Fetch with timeout updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Reducer specs updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Ngrok tunnel action test updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

All tests on client and main pass

Signed-off-by: Srinaath Ravichandran <[email protected]>

Removed ngrok notification icon

Signed-off-by: Srinaath Ravichandran <[email protected]>

ngrok tab test

Signed-off-by: Srinaath Ravichandran <[email protected]>

Code review cleanup

Signed-off-by: Srinaath Ravichandran <[email protected]>

Safe commit for tracking notifications

Signed-off-by: Srinaath Ravichandran <[email protected]>

Lock updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Saga update

Signed-off-by: Srinaath Ravichandran <[email protected]>

Clearning notifications when status shifts from error to Active

Signed-off-by: Srinaath Ravichandran <[email protected]>

Tests and copy working

Signed-off-by: Srinaath Ravichandran <[email protected]>

Moved check for reporting upto ngrok

Signed-off-by: Srinaath Ravichandran <[email protected]>

Using status instead status code

Signed-off-by: Srinaath Ravichandran <[email protected]>

TEst build

Signed-off-by: Srinaath Ravichandran <[email protected]>

Package json updated

Signed-off-by: Srinaath Ravichandran <[email protected]>

Tests completed

Signed-off-by: Srinaath Ravichandran <[email protected]>

Reverted to electron rebuilder to support windows

Signed-off-by: Srinaath Ravichandran <[email protected]>

Console log removed

Signed-off-by: Srinaath Ravichandran <[email protected]>

handling timeouts

Signed-off-by: Srinaath Ravichandran <[email protected]>

All tests passing for sagas

Signed-off-by: Srinaath Ravichandran <[email protected]>
Signed-off-by: Srinaath Ravichandran <[email protected]>
Signed-off-by: Srinaath Ravichandran <[email protected]>
@coveralls
Copy link
Copy Markdown

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
Copy Markdown
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.

Comment thread packages/app/client/src/state/reducers/editor.ts
Comment thread packages/app/client/src/state/reducers/ngrokTunnel.ts Outdated
Comment thread packages/app/client/src/state/reducers/ngrokTunnel.ts
Comment thread packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.tsx Outdated
Comment thread packages/app/main/src/ngrokService.ts Outdated
Comment thread packages/app/main/src/utils/fetchWithTimeout.spec.ts
Comment thread packages/app/main/src/state/sagas/ngrokSagas.ts Outdated
Comment thread packages/app/main/src/state/sagas/ngrokSagas.ts Outdated
Comment thread packages/app/main/src/state/sagas/ngrokSagas.ts Outdated
Srinaath Ravichandran added 3 commits January 28, 2020 07:50
Signed-off-by: Srinaath Ravichandran <[email protected]>
Added tests fro ngrokCommands
Removed comments
fixed typos
Added high contrast specific var

Signed-off-by: Srinaath Ravichandran <[email protected]>
tonyanziano
tonyanziano previously approved these changes Jan 28, 2020
Copy link
Copy Markdown
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 <[email protected]>
Srinaath Ravichandran and others added 2 commits January 28, 2020 12:47
@srinaath srinaath requested a review from tonyanziano January 28, 2020 21:06
Copy link
Copy Markdown
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 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.

3 participants