Skip to content

Refactor group nav to reuse fetched group data - #10150

Merged
nopcoder merged 3 commits into
masterfrom
fix/webui-group-nav-title
Feb 19, 2026
Merged

Refactor group nav to reuse fetched group data#10150
nopcoder merged 3 commits into
masterfrom
fix/webui-group-nav-title

Conversation

@nopcoder

@nopcoder nopcoder commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Avoid duplicate group fetches and ensure breadcrumbs use the resolved group id.

Note that the current solution will call the backend to resolve the group id to name.
The UI will render the heading with the id first and the real id is fetched and updated while view is rendered.

Closes #10162
Closes https://github.com/treeverse/product/issues/1026

Preview of the end-result

image

@nopcoder nopcoder self-assigned this Feb 17, 2026
@nopcoder
nopcoder requested a review from Annaseli February 17, 2026 16:10
@github-actions github-actions Bot added the area/UI Improvements or additions to UI label Feb 17, 2026
@nopcoder nopcoder added the include-changelog PR description should be included in next release changelog label Feb 17, 2026

if (loading) return <Loading />;

const resolvedGroupId = response?.id || groupId;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note that when running lakeFS locally, I saw this response:

Image

And in the cloud:

Image

In the cloud, the group name is different from the group ID for each group.

So I think we should check:

const resolvedGroupId = response?.name || response?.id || groupId;

@nopcoder nopcoder Feb 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@Annaseli How did you retrieve the data from the cloud? Did you update the lakefs image and obtain this information?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The the PR I'm fetching the group ID that in the claude is resolved to the group name.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I didn't do anything special, I just logged in to the treeverse org and saw this output on this page:
https://treeverse.us-east-1.lakefscloud.io/auth/groups

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The the PR I'm fetching the group ID that in the claude is resolved to the group name.

Do you mean that you see the group name is stored in the group ID in the cloud groups?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

check my fix. I'm using the value I return from the call.

Avoid duplicate group fetches and ensure breadcrumbs use the resolved group id.
…tion

Display a loading indicator instead of rendering with the raw URL groupId,
preventing flicker when the resolved ID differs. Use the original groupId
for all navigation links while showing the resolved ID only for display.
@nopcoder
nopcoder force-pushed the fix/webui-group-nav-title branch from 1a29b6d to be5f6bf Compare February 18, 2026 17:34
@nopcoder
nopcoder requested a review from Annaseli February 19, 2026 06:48

@Annaseli Annaseli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@nopcoder
nopcoder merged commit 78d2b10 into master Feb 19, 2026
93 of 96 checks passed
@nopcoder
nopcoder deleted the fix/webui-group-nav-title branch February 19, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/UI Improvements or additions to UI claude-code-assisted include-changelog PR description should be included in next release changelog mostly-ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix web UI group navigation breadcrumb rendering (Enterprise)

2 participants