bluerobotics / bluerobotics/Cockpit-docs

Version control button is not color coded properly when building locally

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
3
Avg merge
17m
Merged PRs (30d)
1

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](https://github.com/bluerobotics/bluetheme/blob/620efa473f466cc6fbacbf47a4fe0e24b8723e36/templates/version_selector.html#L27) because it looks at the page url but the local build is not routed the same way.

**Production**
Image

**Local**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.