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

[telemetry] Wrong enable service ping state in admin dashboard after login #8344

Closed
corneliusludmann opened this issue Feb 21, 2022 · 0 comments · Fixed by #8373
Closed

[telemetry] Wrong enable service ping state in admin dashboard after login #8344

corneliusludmann opened this issue Feb 21, 2022 · 0 comments · Fixed by #8373
Assignees
Labels
feature: admin dashboard team: delivery Issue belongs to the self-hosted team type: bug Something isn't working

Comments

@corneliusludmann
Copy link
Contributor

When I log in to Gitpod (Self-Hosted) and go to Admin → Settings, the “Enable Service Ping” checkbox is not checked (which seems to be wrong). When I reload the page, the checkbox is checked (which is correct). That happens only directly after login. When I navigate away (after the reload) and back to this page the state of the checkbox is correct.

Peek 2022-02-21 13-16

@corneliusludmann corneliusludmann added type: bug Something isn't working feature: admin dashboard team: delivery Issue belongs to the self-hosted team labels Feb 21, 2022
@Pothulapati Pothulapati self-assigned this Feb 22, 2022
Pothulapati added a commit that referenced this issue Feb 22, 2022
Fixes #8344

`Enable Service Ping` seems to be set to `false` by defaut until
the UI is re-loaded. This fixes it by also adding the retrieval
logic into `useEffect` thereby calling it everytime, even during
initial render.

Signed-off-by: Tarun Pothulapati <[email protected]>
Pothulapati added a commit that referenced this issue Feb 24, 2022
Fixes #8344

`Enable Service Ping` seems to be set to `false` by defaut until
the UI is re-loaded. This fixes it by also adding the retrieval
logic into `useEffect` thereby calling it everytime, even during
initial render.

Signed-off-by: Tarun Pothulapati <[email protected]>
Pothulapati added a commit that referenced this issue Feb 24, 2022
Fixes #8344

`Enable Service Ping` seems to be set to `false` by defaut until
the UI is re-loaded. This fixes it by also adding the retrieval
logic into `useEffect` thereby calling it everytime, even during
initial render.

Signed-off-by: Tarun Pothulapati <[email protected]>
roboquat pushed a commit that referenced this issue Feb 24, 2022
Fixes #8344

`Enable Service Ping` seems to be set to `false` by defaut until
the UI is re-loaded. This fixes it by also adding the retrieval
logic into `useEffect` thereby calling it everytime, even during
initial render.

Signed-off-by: Tarun Pothulapati <[email protected]>
Repository owner moved this from ⚒In Progress to ✨Done in 🚚 Security, Infrastructure, and Delivery Team (SID) Feb 24, 2022
mustard-mh pushed a commit that referenced this issue Feb 28, 2022
Fixes #8344

`Enable Service Ping` seems to be set to `false` by defaut until
the UI is re-loaded. This fixes it by also adding the retrieval
logic into `useEffect` thereby calling it everytime, even during
initial render.

Signed-off-by: Tarun Pothulapati <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: admin dashboard team: delivery Issue belongs to the self-hosted team type: bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants