Skip to content

Conversation

@krowvin
Copy link
Contributor

@krowvin krowvin commented Aug 21, 2025

We got close with
#216

I missed a few things that i've found talking with @jbkolze.

In the current groundwork site it appears to be missing the base on the github pages. i.e. /groundwork but it does include the hash.

This PR aims to fix this by adding the BASE_URL vite env variable. It also updates a few of the docs/places to talk more about the BASE_URL.

@krowvin krowvin linked an issue Aug 21, 2025 that may be closed by this pull request
@github-actions
Copy link

Please set a versioning label of either major-bump, minor-bump, or patch-bump to the pull request.

Copy link
Contributor

@willbreitkreutz willbreitkreutz left a comment

Choose a reason for hiding this comment

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

Will bring it up on the call, but i think we missed the base url in a few files, left a comment on each to keep track of them.

Copy link
Contributor

Choose a reason for hiding this comment

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

import.meta.env.BASE_URL will reflect the env of the build-time, not consumer build time. I think we should expose a new prop on the breadcrumbs at the top level that allows you to pass in the base_url and default to "/".

Copy link
Contributor Author

@krowvin krowvin Aug 27, 2025

Choose a reason for hiding this comment

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

Resolved with #235, will come back for the rest!

Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment as on breadcrumbs

@krowvin
Copy link
Contributor Author

krowvin commented Dec 8, 2025

Need to review changes to groundwork-water and ensure we add the hash fix to onClick

USACE-WaterManagement/groundwork-water#171

@krowvin krowvin self-assigned this Dec 8, 2025
krowvin and others added 12 commits December 17, 2025 10:22
* Passing in additional headless ui props and updated documentation

* Fixed all issues
* Add config to reference other libs

* Add bug report

* Add feature request
* Add baseUrl prop to Breadcrumbs component

* Test baseUrl crumb prop against the doc site itself

* Update the breadcrumbs docs to reflect prop changes
Co-authored-by: Charles Graham <charles.r.graham@usace>
willbreitkreutz and others added 7 commits December 17, 2025 12:57
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.1.2 to 7.2.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.2.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.2.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.2.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Groundwork Links Do Not Include Base Path on Github Pages

4 participants