Skip to content

Conversation

@dwgray
Copy link
Member

@dwgray dwgray commented Aug 22, 2025

Describe the PR

These pages were not formatted in a way that the headings correctly mapped for on this page. I'll think a bit more about getting the OTP code to throw an error (hopefully at build time), but for the moment, this fixes the known issues.

Small replication

Document index and reference page - clicking the OTP links does nothing in some cases.

PR checklist

What kind of change does this PR introduce? (check at least one)

  • Bugfix 🐛 - fix(...)
  • Feature - feat(...)
  • ARIA accessibility - fix(...)
  • Documentation update - docs(...)
  • Other (please describe)

The PR fulfills these requirements:

  • Pull request title and all commits follow the Conventional Commits convention or has an override in this pull request body This is very important, as the CHANGELOG is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be denied

Summary by CodeRabbit

  • Documentation

    • Added anchor links to section headings (Administrators, Contributors, Financial Backers, Inactive Financial Backers, and Table of Contents cards) for easier deep-linking.
    • Simplified Financial Backers display by removing per‑tier header labels.
    • Restructured Inactive Financial Backers popover so its trigger and content use consistent headings and an anchorable ID.
  • Style

    • Standardized heading levels to improve readability and consistency.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 22, 2025

Walkthrough

Demoted several h2 headings to h3 and added anchor IDs in OpenCollectiveMemberDisplay; removed per-tier labels above avatar groups; restructured the Inactive Financial Backers popover trigger to use an h3 with an id. TableOfContentsCard now binds the header h3 id to the route prop.

Changes

Cohort / File(s) Summary of changes
Docs: OpenCollective member display headings & popover
apps/docs/src/components/OpenCollectiveMemberDisplay.vue
Changed section headings from h2 to h3 and added IDs (administrators, contributors, financial-backers); removed per-tier header labels above avatar groups; reworked Inactive Financial Backers popover trigger to use an h3 with id="inactive-financial-backers" inside the popover #target; popover content blocks are direct children.
Docs: Table of Contents card header ID binding
apps/docs/src/components/TableOfContentsCard.vue
Header <h3> now binds its id to the route prop (<h3 :id="route" class="m-0">) instead of a plain <h3 class="m-0">; no new helper introduced and props unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • VividLemon
  • xvaara

Poem

I hop through markup, quick and spry,
I label headings—blink and tie.
Popovers nest where rabbits peep,
IDs set so links can leap.
Thump-thump—docs tidy, snug, and spry! 🐇✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6226ead and e55778b.

📒 Files selected for processing (2)
  • apps/docs/src/components/OpenCollectiveMemberDisplay.vue (3 hunks)
  • apps/docs/src/components/TableOfContentsCard.vue (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • apps/docs/src/components/TableOfContentsCard.vue
  • apps/docs/src/components/OpenCollectiveMemberDisplay.vue
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 22, 2025

bsvn-vite-ts

npm i https://pkg.pr.new/bootstrap-vue-next/bootstrap-vue-next@2819
npm i https://pkg.pr.new/bootstrap-vue-next/bootstrap-vue-next/@bootstrap-vue-next/nuxt@2819

commit: e55778b

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
apps/docs/src/components/TableOfContentsCard.vue (1)

20-24: Harden slugification: preserve digits, strip diacritics, collapse and trim hyphens for stable anchors.

Current regex drops digits, can produce multiple/leading/trailing hyphens, and replaces non‑ASCII letters (e.g., “Café”) with hyphens instead of ASCII equivalents. This yields brittle anchors and increases collision risk.

Apply this diff:

-const toKebabCase = (str = '') =>
-  str
-    .replace(/[^a-z]/gi, '-')
-    .replace(/\B([A-Z])/g, '-$1')
-    .toLowerCase()
+const toKebabCase = (str = '') =>
+  str
+    // Normalize and strip diacritics: "Café" -> "Cafe"
+    .normalize('NFKD')
+    .replace(/[\u0300-\u036f]/g, '')
+    .trim()
+    // Insert hyphen between camelCase boundaries: "BCard" -> "B-Card"
+    .replace(/([a-z0-9])([A-Z])/g, '$1-$2')
+    // Replace any run of non-alphanumerics with a single hyphen
+    .replace(/[^a-z0-9]+/gi, '-')
+    // Collapse multiple hyphens and trim edges
+    .replace(/^-+|-+$/g, '')
+    .toLowerCase()

Additionally, consider centralizing this helper in a small slug utility (e.g., apps/docs/src/utils/slug.ts) to keep ID generation consistent across docs components. I can prep that refactor if you want.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ba90f59 and 6226ead.

📒 Files selected for processing (2)
  • apps/docs/src/components/OpenCollectiveMemberDisplay.vue (3 hunks)
  • apps/docs/src/components/TableOfContentsCard.vue (2 hunks)
🔇 Additional comments (2)
apps/docs/src/components/OpenCollectiveMemberDisplay.vue (2)

5-5: LGTM: explicit h3 IDs align OTP anchors and fix deep-linking.

Demoting headings to h3 with stable IDs (administrators, contributors, financial-backers) is a good fit for index/reference pages and should unblock OTP scrolling.

Also applies to: 15-15, 25-25


99-110: Semantics check: copy matches logic for active vs. inactive windows.

The inactive window (≥ 1 year and < 2 years) matches the explanatory copy below, and > 2 years are omitted as described. No changes needed.

@VividLemon VividLemon merged commit 0a8e73e into bootstrap-vue-next:main Aug 26, 2025
5 checks passed
xvaara added a commit to xvaara/bootstrap-vue-next that referenced this pull request Sep 11, 2025
* upstream/main: (32 commits)
  chore: release main (bootstrap-vue-next#2838)
  feat(BButtonToolbar): Add keyboard navigation support (bootstrap-vue-next#2837)
  fix(BFormSelect): modelValue not being applied during SSR (bootstrap-vue-next#2835)
  feat(BTable): Implement keyboard navigation (bootstrap-vue-next#2834)
  fix: BOffcanvas responsive SSR compatibility - defer breakpoint evaluation to client-side (bootstrap-vue-next#2833)
  chore: release main (bootstrap-vue-next#2831)
  fix(BDropdown): transition broken by inline display styles (bootstrap-vue-next#2832)
  feat: change useColorMode selector from 'body' to 'html' (bootstrap-vue-next#2830)
  chore: release main (bootstrap-vue-next#2817)
  feat: Add headerAttrs prop to BOffcanvas and BModal components
  docs: Add useScrollspy documentation
  fix: Remove lazy-modifier warning on FormInput docs (bootstrap-vue-next#2825)
  feat(BSort)!: Implement initial-sort-direction and move compare from sort-by to fields (bootstrap-vue-next#2777)
  docs(table): fix incorrect list item (bootstrap-vue-next#2823)
  docs: Fix grammar in documentation data files (bootstrap-vue-next#2816)
  doc(BTooltip): Parity pass (bootstrap-vue-next#2762)
  docs(BOverlay): Parity pass (bootstrap-vue-next#2767)
  feat: implement BFormRating disabled state (bootstrap-vue-next#2753) (bootstrap-vue-next#2793)
  docs: fix otp for index and reference pages (bootstrap-vue-next#2819)
  docs(BApp): add some additional details around legacy plugin use (bootstrap-vue-next#2820)
  ...
@coderabbitai coderabbitai bot mentioned this pull request Nov 7, 2025
6 tasks
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.

2 participants