-
Notifications
You must be signed in to change notification settings - Fork 204
Display version information to web #3328
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
Conversation
| </Link> | ||
| </MenuItem> | ||
| <MenuItem disabled={true} dense={true}> | ||
| {process.env.STABLE_VERSION?.substring(0, 10)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {process.env.STABLE_VERSION?.substring(0, 10)} | |
| Version: {process.env.STABLE_VERSION?.substring(0, 10)} |
nits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, not sure why do we need to cut the string, why not just show the full version string? Since the last part is the commit hash and can be used to refer to source code on pipecd repo, which could be useful in some cases 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get your point 👍 Then, how about remove the Version: part and show the full version string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is exactly what I was thinking about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the version string, I think showing the full one is fine. Because on the production it is not that long.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks so beautiful!
Just a nit:
How do you think about moving the menu popup to be lower to avoid overlapping the tab bar?
We can resolve it in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Than sounds good to me.
|
Code coverage for javascript is
|
|
Code coverage for javascript is
|
| target="_blank" | ||
| rel="noreferrer" | ||
| > | ||
| Docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Docs | |
| Documentation |
|
Great job! Thank you. Nit about the release note
|
|
It's beautiful 😁 |
|
@nghialv |
**What this PR does / why we need it**: Move the menu for visibility. And fix version placeholder. before <img width="377" alt="image" src="https://user-images.githubusercontent.com/49914427/156295069-38ecaa97-facb-4845-8e1b-87d0b745d359.png"> after <img width="382" alt="image" src="https://user-images.githubusercontent.com/49914427/156294841-49850e17-463c-4b5a-9732-d57ebe8550ff.png"> **Which issue(s) this PR fixes**: #3328 (comment) **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. --> ```release-note Move menu to be lower to avoid overlapping the tab bar. ``` This PR was merged by Kapetanios.
**What this PR does / why we need it**: This PR changes [versions](#3328) to selectable and copyable for convenience. <img width="376" alt="image" src="https://user-images.githubusercontent.com/49914427/156507069-2061276a-4dd6-428b-96d0-f25fc495a8dc.png"> **Which issue(s) this PR fixes**: Fixes # **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. --> ```release-note NONE ``` This PR was merged by Kapetanios.



What this PR does / why we need it:
Display version information to web.
Which issue(s) this PR fixes:
Fixes #1958
Does this PR introduce a user-facing change?: