Skip to content

glossary: add links to alphabets#22634

Merged
ti-chi-bot[bot] merged 3 commits intopingcap:masterfrom
hfxsd:new-add-alphabet-links
Mar 25, 2026
Merged

glossary: add links to alphabets#22634
ti-chi-bot[bot] merged 3 commits intopingcap:masterfrom
hfxsd:new-add-alphabet-links

Conversation

@hfxsd
Copy link
Collaborator

@hfxsd hfxsd commented Mar 25, 2026

Restructure glossary.md for improved navigation: convert many term headings from H3 to H2, add a component for letter navigation, and insert letter anchor links for each section. Also adjust the frontmatter separator/formatting. Add the missing MONITOR keyword to keywords.md.

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Restructure glossary.md for improved navigation: convert many term headings from H3 to H2, add a <TabsPanel> component for letter navigation, and insert letter anchor links for each section. Also adjust the frontmatter separator/formatting. Add the missing MONITOR keyword to keywords.md.
@hfxsd hfxsd self-assigned this Mar 25, 2026
@ti-chi-bot ti-chi-bot bot added the contribution This PR is from a community contributor. label Mar 25, 2026
@hfxsd hfxsd requested a review from qiancai March 25, 2026 09:45
@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 25, 2026
@hfxsd hfxsd added translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. missing-translation-status This PR does not have translation status info. labels Mar 25, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on improving the user experience and structural consistency of the documentation. The primary goal is to make the glossary more navigable by introducing alphabetical tab navigation and clearer section headings. Additionally, it ensures the keyword list is up-to-date by including a previously omitted term.

Highlights

  • Glossary Navigation Improvement: The glossary.md file has been significantly restructured to enhance navigation, including the conversion of many term headings from H3 to H2 for better hierarchy.
  • Alphabetical Navigation Tabs: A new <TabsPanel> component has been introduced at the top of the glossary to provide quick alphabetical navigation to different sections.
  • Letter Anchor Links: Anchor links have been added for each letter section within the glossary, allowing direct jumps to terms starting with a specific letter.
  • Frontmatter Formatting Adjustment: A minor adjustment was made to the frontmatter separator in glossary.md.
  • Keyword Addition: The missing MONITOR keyword has been added to the keywords.md file.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@hfxsd hfxsd mentioned this pull request Mar 25, 2026
14 tasks
@ti-chi-bot ti-chi-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 25, 2026
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Mar 25, 2026
@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 25, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-03-25 09:48:33.792438406 +0000 UTC m=+348109.828508656: ☑️ agreed by qiancai.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the glossary.md file by introducing a TabsPanel component and adjusting the heading structure for various terms, promoting ### headings to ## and adding <a> tags for letter-based navigation. Additionally, the MONITOR keyword is added to keywords.md. Key feedback for glossary.md includes removing a UTF-8 Byte Order Mark (BOM) character at the beginning of the file for compatibility and ensuring all headings conform to the sentence case rule as specified in the style guide.

I am having trouble creating individual review comments. Click here to see my feedback.

glossary.md (1)

low

This line starts with a UTF-8 Byte Order Mark (BOM) character (). This character is invisible in many editors but can cause issues with some Markdown parsers and tools. It's best to remove it for compatibility.

---
References
  1. The style guide emphasizes clarity and readability. Invisible characters like a BOM can lead to unexpected rendering or processing issues, which goes against the principle of clarity. (link)

glossary.md (35)

low

According to the repository style guide, headings should use sentence case (e.g., ## Configure the cluster). This heading and many others in this file are in Title Case. For consistency and to adhere to the style guide, they should be converted to sentence case.

Here are other headings that also need to be changed:

  • ## Baseline Capturing
  • ## Batch Create Table
  • ## Cached Table
  • ## Coalesce Partition
  • ## Column Family (CF)
  • ## Common Table Expression (CTE)
  • ## Continuous Profiling
  • ## Data Definition Language (DDL)
  • ## Data Migration (DM)
  • ## Data Modification Language (DML)
  • ## Development Milestone Release (DMR)
  • ## Disaster Recovery (DR)
  • ## Distributed eXecution Framework (DXF)
  • ## Dynamic Pruning
  • ## Garbage Collection (GC)
  • ## General Availability (GA)
  • ## Global Transaction Identifiers (GTIDs)
  • ## Hybrid Transactional and Analytical Processing (HTAP)
  • ## In-Memory Pessimistic Lock
  • ## Index Merge
  • ## Key Management Service (KMS)
  • ## Key-Value (KV)
  • ## Lightweight Directory Access Protocol (LDAP)
  • ## Lock View
  • ## Long Term Support (LTS)
  • ## Massively Parallel Processing (MPP)
  • ## Online Analytical Processing (OLAP)
  • ## Online Transaction Processing (OLTP)
  • ## Out of Memory (OOM)
  • ## PD Control (pd-ctl)
  • ## Placement Driver (PD)
  • ## Placement Rules
  • ## Point Get
  • ## Point in Time Recovery (PITR)
  • ## Queries Per Second (QPS)
  • ## Quota Limiter
  • ## Raft Engine
  • ## Region Split
  • ## Remote Procedure Call (RPC)
  • ## Request Unit (RU)
  • ## Security Enhanced Mode (SEM)
  • ## Stale Read
  • ## Static Sorted Table / Sorted String Table (SST)
  • ## TiDB Lightning
  • ## TiKV MVCC In-Memory Engine (IME)
  • ## Timestamp Oracle (TSO)
  • ## Top SQL
  • ## Transactions Per Second (TPS)
  • ## Uniform Resource Identifier (URI)
  • ## Universally Unique Identifier (UUID)

Note: Single-word headings, acronyms, and proper names like TiDB or RocksDB do not need to be changed.

## Backup and restore (BR)
References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (205)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (211)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (233)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (246)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (284)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (363)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

glossary.md (415)

low

This heading is in sentence case, which follows the style guide. However, many other headings in this file are in Title Case. To ensure consistency, please apply the same case (preferably sentence case as per the style guide) to all term headings.

References
  1. The style guide specifies that headings should be in sentence case. For example: ## Configure the cluster. (link)

@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 25, 2026
github-actions bot pushed a commit to hfxsd/pingcap-docsite-preview that referenced this pull request Mar 25, 2026
@hfxsd hfxsd added the lgtm label Mar 25, 2026
@hfxsd
Copy link
Collaborator Author

hfxsd commented Mar 25, 2026

/approve

@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 25, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hfxsd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Mar 25, 2026
@ti-chi-bot ti-chi-bot bot merged commit be49bf8 into pingcap:master Mar 25, 2026
12 checks passed
@hfxsd hfxsd removed the needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. label Mar 25, 2026
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #22635.

ti-chi-bot bot pushed a commit that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved contribution This PR is from a community contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants