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

Gateway Status and Diagnostics #51

Closed
8 tasks done
lidel opened this issue Jan 24, 2016 · 5 comments
Closed
8 tasks done

Gateway Status and Diagnostics #51

lidel opened this issue Jan 24, 2016 · 5 comments
Assignees
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Milestone

Comments

@lidel
Copy link
Member

lidel commented Jan 24, 2016

The menu should include information about currently running local gateway.

For starters, we should display:

  • custom gateway hostname and version info from /api/v0/version
  • number of connected peers

Next steps:

  • go over station projects and add missing functionality to this tasklist
  • Improve UX
    • make diagnostics more compact
    • provide visual feedback for enabled/disabled redirect (perhaps reuse on/off icon in some way)
    • Instead of "ON" badge should show how many peers are connected – 2fc5480
      • API Polling (interval configurable via Preferences)
        Gateway should be polled in background and there should be a method that returns its current status – it will enable us to make some optimizations when it is disabled

Feature inspiration:

@lidel lidel added the UX label Jan 24, 2016
@lidel lidel self-assigned this Jan 24, 2016
@lidel lidel changed the title Display gateway status Display gateway diagnostic info Jan 24, 2016
lidel added a commit that referenced this issue Jan 25, 2016
- should remove undesired scrollbar, improve UX
- provides access to preferences and other data
  via context object (will be used by #51)
lidel added a commit that referenced this issue Jan 27, 2016
- discussed in #51
- FEATURE: version and swarm peer info read from API
- UX: hide irrelevant elements when redirect is disabled
@lidel
Copy link
Member Author

lidel commented Jan 27, 2016

PoC from e532520:

2016-01-27-224933_2560x1080_scrot-fs8

@lidel lidel changed the title Display gateway diagnostic info Gateway Status and Diagnostics Jan 27, 2016
@lidel lidel added this to the v1.5.0 milestone Jan 27, 2016
lidel added a commit that referenced this issue Jan 28, 2016
- implements #51
- compact redirect and gateway status
@lidel
Copy link
Member Author

lidel commented Jan 28, 2016

PoC from f6c7d33:

Enabled

2016-01-28-225910_2560x1080_scrot-fs8

Disabled

2016-01-28-225925_2560x1080_scrot-fs8

lidel added a commit that referenced this issue Jan 28, 2016
@lidel
Copy link
Member Author

lidel commented Jan 28, 2016

PoC from 5d85024 (cc @Kubuxu):

disabled redirect, daemon online

2016-01-29-000250_2560x1080_scrot-fs8

disabled redirect, daemon offline

2016-01-29-000424_2560x1080_scrot-fs8

enabled redirect, daemon online

2016-01-29-000235_2560x1080_scrot-fs8

@lidel lidel added the kind/enhancement A net-new feature or improvement to an existing feature label Feb 3, 2016
lidel added a commit that referenced this issue Feb 4, 2016
- implements #51
- when API does not respond, display OFF state
- if redirect is enabled and in OFF state, background is red
@lidel
Copy link
Member Author

lidel commented Feb 4, 2016

As of 2fc5480:

2016-02-04-223754_2560x1080_scrot

@lidel
Copy link
Member Author

lidel commented Feb 4, 2016

As of 0a5b0bf:

2016-02-04-231341_2560x1080_scrot-fs8

@lidel lidel closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant