Skip to content

Don't show the Indexes pane before there are indexes - #3924

Merged
paoloredis merged 1 commit into
mainfrom
DOC-7035
Sep 4, 2026
Merged

Don't show the Indexes pane before there are indexes#3924
paoloredis merged 1 commit into
mainfrom
DOC-7035

Conversation

@paoloredis

@paoloredis paoloredis commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

On initial page load the workbench showed an empty indexes section below the keys. This change fixes that.

On every page load the key column showed an empty "Indexes" heading under
the keys until the first sweep came back and hid it. FT._LIST is part of
that sweep, so the pane was on screen for as long as one round trip to
the sandbox took: invisible against a local Redis, a clear flash against
redis.io — which is why it only showed up on the live site.

The section and its divider are now built hidden, which is the state
renderIndexes() puts them in when there is nothing to list. Nothing else
changes: an FT.CREATE still makes the pane appear, and dropping the index
still takes it away.

Measured with the backend slowed to 1.2s a request: 5 of 60 sampled
frames had the pane on screen before, 0 after.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

DOC-7035

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 5 related items from repository history (5 new this commit):

Memory updated at e44c2e3

@paoloredis
paoloredis requested a review from a team September 4, 2026 10:39

@andy-stark-redis andy-stark-redis 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.

Tried on geo indexing page - LGTM.

@paoloredis
paoloredis merged commit 7d79ea8 into main Sep 4, 2026
184 of 185 checks passed
@paoloredis
paoloredis deleted the DOC-7035 branch September 4, 2026 12:51
EliShteinman added a commit to EliShteinman/docs that referenced this pull request Sep 5, 2026
Builds the workbench's Indexes pane hidden, so an empty heading no longer sits under the keys for the length of the first sweep.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WycKvjyQaCQQBwVEkvSAKT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants