Skip to content

Dashboard: fix undefined version number on footer#8395

Merged
oskosk merged 2 commits intomasterfrom
fix/jetpack-undefined-version
Dec 20, 2017
Merged

Dashboard: fix undefined version number on footer#8395
oskosk merged 2 commits intomasterfrom
fix/jetpack-undefined-version

Conversation

@eliorivero
Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request:

  • fixes an issue where the Jetpack version at the footer was shown as undefined since data wasn't still available. This will now show Jetpack when the version is unavailable and the complete Jetpack version xx when it's available.

Before

captura de pantalla 2017-12-19 a la s 18 46 32

After

captura de pantalla 2017-12-20 a la s 11 50 11

captura de pantalla 2017-12-20 a la s 11 58 18

Testing instructions:

  • throttle or use a slow network and load the admin and verify it doesn't show undefined for the version on the footer

… undefined since data wasn't still available. This will now show Jetpack when the version is unavailable and the complete Jetpack version xx when it's available.
@eliorivero eliorivero added Admin Page React-powered dashboard under the Jetpack menu [Status] Needs Review This PR is ready for review. Bug When a feature is broken and / or not performing as intended labels Dec 20, 2017
@eliorivero eliorivero self-assigned this Dec 20, 2017
@eliorivero eliorivero requested a review from a team as a code owner December 20, 2017 14:59
@oskosk oskosk added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Dec 20, 2017
Copy link
Copy Markdown
Contributor

@oskosk oskosk left a comment

Choose a reason for hiding this comment

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

LGTM!

Solves the issue.

Although I guess the root issue should be solved on the static side of things...

@oskosk oskosk merged commit 4fc302e into master Dec 20, 2017
@oskosk oskosk deleted the fix/jetpack-undefined-version branch December 20, 2017 17:55
@oskosk oskosk added this to the 5.7 milestone Dec 26, 2017
@kraftbj kraftbj removed the [Status] Ready to Merge Go ahead, you can push that green button! label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Page React-powered dashboard under the Jetpack menu Bug When a feature is broken and / or not performing as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants