Version control button is not color coded properly when building locally
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start in templates/version_selector.html at the function around line 27, which determines the version control button state from the page URL. Compare the local and production URL behavior, then verify that a local build shows the button in purple when the latest version is selected.
Written by the indexing model from the issue text.
Description
Not a big issue but just so it's documented, the version control button does not turn purple when on latest and on a local build. The production version does get the proper color. This is caused by the following function because it looks at the page url but the local build is not routed the same way.
Production
Local
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bluerobotics/Cockpit-docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bluerobotics/Cockpit-docs#46 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bluerobotics/Cockpit-docs#39 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
bluerobotics/Cockpit-docs#36 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
bluerobotics/Cockpit-docs#33 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
bluerobotics/Cockpit-docs#32 ·
All issues in bluerobotics/Cockpit-docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·