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

Initialise menu to include Log Out option when using OAuth Proxy #344

Merged
merged 2 commits into from
Mar 22, 2019
Merged

Initialise menu to include Log Out option when using OAuth Proxy #344

merged 2 commits into from
Mar 22, 2019

Conversation

objectiser
Copy link
Contributor

Adds menu (About sub-menu and Log Out) when OAuth Proxy configured.

Currently when selecting the Log Out button it opens another tab - this may require a change in jaeger-ui.

Signed-off-by: Gary Brown gary@brownuk.com

Signed-off-by: Gary Brown <gary@brownuk.com>
@jpkrohling
Copy link
Contributor

This change is Reviewable

@codecov
Copy link

codecov bot commented Mar 21, 2019

Codecov Report

Merging #344 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #344      +/-   ##
==========================================
+ Coverage   89.81%   89.88%   +0.07%     
==========================================
  Files          64       64              
  Lines        3014     3035      +21     
==========================================
+ Hits         2707     2728      +21     
  Misses        207      207              
  Partials      100      100
Impacted Files Coverage Δ
pkg/strategy/controller.go 97.5% <100%> (+0.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e147512...e709811. Read the comment docs.

]
},
{
"label": "Log Out",
Copy link
Contributor

Choose a reason for hiding this comment

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

This would render the "Log out" right next to the "About" item, right? Are they aligned to the main options, or are they aligned to the right?

Copy link
Contributor Author

@objectiser objectiser Mar 22, 2019

Choose a reason for hiding this comment

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

Yes, both "About" and "Log Out" are rendered together on the right.

Copy link
Contributor

Choose a reason for hiding this comment

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

Great! Looks good to me, then

@objectiser
Copy link
Contributor Author

@jpkrohling Seems like there may be a way to logout into the same tab - I'll take a look in case we can get this one into the release.

… fix coverage

Signed-off-by: Gary Brown <gary@brownuk.com>
@objectiser objectiser changed the title WIP: Initialise menu to include Log Out option when using OAuth Proxy Initialise menu to include Log Out option when using OAuth Proxy Mar 22, 2019
@objectiser
Copy link
Contributor Author

@jpkrohling Fixed based on Yuri's suggestion - could you give it a try in minishift with deploy/examples/simple-prod.yaml and test out the Log Out button?

@jpkrohling
Copy link
Contributor

Tested with the simplest.yaml and works great!

image

@jpkrohling jpkrohling merged commit 806527b into jaegertracing:master Mar 22, 2019
@objectiser objectiser deleted the uilogout branch March 22, 2019 10:04
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.

2 participants