Skip to content

Conversation

@rusackas
Copy link
Member

@rusackas rusackas commented Jan 28, 2026

SUMMARY

Redesigns the Community page to use a responsive card grid layout instead of a vertical list, and updates the resource links:

  • Card grid layout: Replaces the Ant Design List component with a CSS Grid of styled cards (3 columns on desktop, 2 on tablet, 1 on mobile). Each card has an icon, title, and description with hover effects.
  • Removed outdated resources: Stack Overflow and Meetup Group entries removed.
  • Updated links:
    • Organizations: Now links to /inTheWild page instead of the GitHub markdown file, with a new globe icon.
    • Contributors Guide: Now links to /developer_portal/contributing/overview instead of the old GitHub repo.
    • dev@ Mailing List: Added subscription info ("Subscribe by emailing dev-subscribe@superset.apache.org").
  • New "Follow Us" section: Adds social media cards for X (Twitter), LinkedIn, and Bluesky with brand SVG icons.
  • New SVG icons: Added x-symbol.svg, linkedin-symbol.svg, bluesky-symbol.svg, and globe-symbol.svg to docs/static/img/community/.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

image

TESTING INSTRUCTIONS

  1. Check the Netlify deploy preview for the /community page
  2. Verify the 5 community cards render in a responsive grid
  3. Verify the 3 social media cards appear in the "Follow Us" section
  4. Click each card link to confirm it opens the correct URL
  5. Resize the browser to verify responsive behavior (3→2→1 columns)
  6. Toggle dark mode to verify theming works
  7. Verify the calendar section still works (show/hide toggle)

ADDITIONAL INFORMATION

  • Changes UI
  • Removes existing feature or API

🤖 Generated with Claude Code

Convert the community page from a vertical list to a responsive card
grid, remove outdated resources (Stack Overflow, Meetup), update links
for Organizations and Contributors Guide, add subscription info for the
dev@ mailing list, and add a "Follow Us" section with X, LinkedIn, and
Bluesky social media cards.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added the doc Namespace | Anything related to documentation label Jan 28, 2026
@dosubot dosubot bot added the doc:user User / Superset documentation label Jan 28, 2026
@codeant-ai-for-open-source
Copy link
Contributor

Sequence Diagram

The PR replaces the vertical list with a responsive card grid and adds a "Follow Us" social cards section. The diagram shows the main render flow and the user clicking a card to open an external resource.

sequenceDiagram
    participant Visitor
    participant Browser
    participant DocsSite
    participant ExternalSite

    Visitor->>Browser: Navigate to /community
    Browser->>DocsSite: Request Community page
    DocsSite-->>Browser: Render Community component with Card Grid (communityLinks) and Social Grid (socialLinks)
    Visitor->>Browser: Click community/social card
    Browser->>ExternalSite: Open card.url in new tab (external resource)
Loading

Generated by CodeAnt AI

Comment on lines +101 to +104
${mq[2]} {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.item {
padding: 0;
border: 0;
${mq[1]} {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: The responsive grid uses mq[2], but throughout the codebase mq is only indexed as mq[0] and mq[1], so mq[2] will be undefined and the two-column breakpoint styles will never be applied, breaking the intended 3→2→1 layout; switching to the existing breakpoints restores the correct responsive behavior. [logic error]

Severity Level: Major ⚠️
- ❌ Community page responsive grid shows wrong columns.
- ⚠️ Netlify preview displays layout regression for reviewers.
- ⚠️ Mobile/tablet users see suboptimal card layout.
- ⚠️ Visual inconsistency with other docs pages.
Suggested change
${mq[2]} {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.item {
padding: 0;
border: 0;
${mq[1]} {
${mq[1]} {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
${mq[0]} {
Steps of Reproduction ✅
1. Open the Community page component at docs/src/pages/community.tsx and locate the
StyledCardGrid breakpoints around lines 94-106. The current code uses ${mq[2]} at line 101
to set the two-column breakpoint (file verified via Read of docs/src/pages/community.tsx).

2. Inspect other components for the mq breakpoint indices. Grep results show project-wide
usage of mq[1] and mq[0] (many matches) and a single occurrence of mq[2] only in
docs/src/pages/community.tsx:101. For example, docs/src/pages/index.tsx uses ${mq[1]} and
${mq[0]} (see grep hits and file docs/src/pages/index.tsx:470 uses ${mq[0]}),
demonstrating the established breakpoint indexes are 0 and 1.

3. Build or open the site preview (Netlify preview or local dev server) and load
/community. Because mq[2] is not defined in the codebase's mq array, the CSS block for the
two-column layout never emits; the grid will remain at 3 columns until the mq[1]
breakpoint (which currently collapses directly to 1 column), causing the intended 3 → 2 →
1 responsive behavior to be skipped.

4. Observe the visual regression: resizing the browser from desktop width down to tablet
width does not switch to a 2-column card grid (verified by inspecting the generated CSS in
browser devtools and confirming absence of a media rule for the 2-column breakpoint).
Replacing ${mq[2]} with ${mq[1]} and shifting the single-column rule to ${mq[0]} (as
proposed) restores the 3→2→1 behavior consistent with other pages that use mq[1]/mq[0].

Note: The grep scan across docs components shows mq[1] is the common tablet breakpoint and
mq[0] is the mobile breakpoint; the use of mq[2] here appears to be a typo rather than
intentional (only occurrence).
Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** docs/src/pages/community.tsx
**Line:** 101:104
**Comment:**
	*Logic Error: The responsive grid uses `mq[2]`, but throughout the codebase `mq` is only indexed as `mq[0]` and `mq[1]`, so `mq[2]` will be `undefined` and the two-column breakpoint styles will never be applied, breaking the intended 3→2→1 layout; switching to the existing breakpoints restores the correct responsive behavior.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.

Copy link
Member Author

Choose a reason for hiding this comment

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

mq[2] is valid — mq is defined in docs/src/utils.js as breakpoints.map(bp => ...) over [576, 768, 992, 1200], so mq[2] maps to @media (max-width: 992px). The 3→2→1 responsive layout is intentional:

  • Default: 3 columns
  • mq[2] (≤992px): 2 columns
  • mq[1] (≤768px): 1 column

While the rest of the codebase only uses mq[0] and mq[1], the array has 4 entries and mq[2] is the correct breakpoint for the intermediate 2-column step.

Copy link
Contributor

@bito-code-review bito-code-review 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 Agent Run #4a28e7

Actionable Suggestions - 2
  • docs/src/pages/community.tsx - 2
Review Details
  • Files reviewed - 1 · Commit Range: 26b8634..26b8634
    • docs/src/pages/community.tsx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

target="_blank"
rel="noreferrer"
>
<img className="icon" src={`/img/community/${image}`} alt="" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Accessibility: Empty alt text

The img element here has an empty alt attribute, which reduces accessibility for screen readers. Consider providing a meaningful description, such as the link title.

Code suggestion
Check the AI-generated fix before applying
Suggested change
<img className="icon" src={`/img/community/${image}`} alt="" />
<img className="icon" src={`/img/community/${image}`} alt={title} />

Code Review Run #4a28e7


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in a67daeb — both alt="" occurrences now use alt={title} for proper screen reader support.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, replacing empty alt attributes with alt={title} improves accessibility by providing meaningful descriptions for screen readers, allowing them to announce the link's purpose effectively.

docs/src/pages/community.tsx

<img className="icon" src={`/img/community/${image}`} alt={title} />

target="_blank"
rel="noreferrer"
>
<img className="icon" src={`/img/community/${image}`} alt="" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Accessibility: Empty alt text

Similar to the community links, this img element has an empty alt attribute, impacting accessibility. Using the title provides a clear description.

Code suggestion
Check the AI-generated fix before applying
Suggested change
<img className="icon" src={`/img/community/${image}`} alt="" />
<img className="icon" src={`/img/community/${image}`} alt={title} />

Code Review Run #4a28e7


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in a67daeb — same fix applied to both image elements.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the update. The fix in a67daeb addresses the accessibility issue by adding descriptive alt text to both image elements in the community page.

@netlify
Copy link

netlify bot commented Jan 29, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit a67daeb
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/697ab05943a2ec0008dce446
😎 Deploy Preview https://deploy-preview-37536--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

LGTM

@rusackas rusackas merged commit b3526fc into master Jan 29, 2026
79 checks passed
@rusackas rusackas deleted the docs/community-page-redesign branch January 29, 2026 01:58
@bito-code-review
Copy link
Contributor

Bito Automatic Review Skipped – PR Already Merged

Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.
No action is needed if you didn't intend to review it. To get a review, you can type /review in a comment and save it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc:user User / Superset documentation doc Namespace | Anything related to documentation preset-io size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants