Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Oct 21, 2025

About

Sweepingly adjust grid attributes for better rendering on mobile or tablet devices.

Preview

https://cratedb-guide--426.org.readthedocs.build/ ff.

@amotl amotl added the maintenance C'est la vie. label Oct 21, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 21, 2025

Walkthrough

Adjusted layout and presentation across many documentation index pages: grid column definitions, gutters, padding, and some card column specs were changed; a few link labels and small wording tweaks were applied. Changes are presentational only; no behavioral code modifications.

Changes

Cohort / File(s) Summary
Connect & links
docs/connect/index.md, docs/connect/drivers.md, docs/_include/links.md
Reduced gutter/padding and removed per-card padding on driver cards; expanded "Further reading" columns to responsive specs (e.g., 12 6 3 3); renamed link label CrateDB BLOBsCrateDB BLOB support; minor wording change in Python driver description.
Feature & cluster
docs/feature/ccr/index.md, docs/feature/cluster/index.md
Changed grids from 2 2 2 21 2 2 2, added :gutter: 2, removed per-card :padding: 3; replaced some simple headings with richer descriptive card bodies (sharding/replication content).
Handbook & root index
docs/handbook/index.md, docs/index.md
Converted several 4-column grids to more granular distributions, added/adjusted gutters and padding (many :padding: 3 removals), updated several card titles/descriptions and "All features" presentation.
Ingest and telemetry
docs/ingest/index.md, docs/ingest/cdc/index.md, docs/ingest/telemetry/index.md
Adjusted grid column specs (e.g., 31 2 2 2, 1 2 2 21 1 2 2, auto 3 3 31 2 3 3), added/updated gutters and padding, and added new ingest content blocks in docs/ingest/index.md.
Install & start pages
docs/install/index.md, docs/start/index.md, docs/start/application/index.md
Updated grid distributions (e.g., install 2 2 2 42 3 3 4 with :gutter: 3), removed per-item :padding: 3 from many cards, standardized padding reductions on start pages and added :class-title on select cards.
Start/query & tutorials
docs/start/query/ad-hoc.md, docs/start/query/aggregations.md, docs/start/query/ai-integration.md, docs/tutorial/index.md
Replaced fixed grid specs with responsive column sets (e.g., 312 6 3 3, 612 12 6 6), added gutter/padding tweaks, added new integration references (mlflow, pycaret, superset, tableau), and added a "Get started" header in tutorials.
Solutions / ML
docs/solution/machine-learning/index.md
Minor presentational change: gutter reduced from 43 in multiple grid sections; no content changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • kneth
  • bmunkholm
  • karynzv
  • surister

Poem

🐰
A nimble grid I hop and mend,
Gutters trimmed and paddings penned,
Cards now stretch and gracefully prance,
Docs reflow in responsive dance,
Hooray — a tidy layout, hop!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The pull request title "Chore: Improve UI responsiveness, specifically for smaller screen sizes" directly corresponds to the main objective of the changeset. The raw summary confirms that all 16 modified documentation files contain grid layout adjustments—including column configuration changes, gutter modifications, and padding adjustments—specifically designed to enhance rendering on mobile and tablet devices. The title is specific, concise, and clearly conveys the primary change from the developer's perspective, allowing a reviewer scanning the history to immediately understand that this PR focuses on responsive design improvements for smaller screens.
Description Check ✅ Passed The pull request description states "Sweepingly adjust grid attributes for better rendering on mobile or tablet devices," which accurately reflects the changeset's purpose. The raw summary confirms that the modifications are primarily grid attribute adjustments (column distributions, gutter values, padding changes) across multiple documentation files, all aimed at improving layout responsiveness on smaller screens. The description is related to the changeset and correctly represents what the PR accomplishes, meeting the lenient pass criteria for this check.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch responsiveness

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 43f3f47 and ec1b519.

📒 Files selected for processing (3)
  • docs/_include/links.md (1 hunks)
  • docs/connect/drivers.md (1 hunks)
  • docs/connect/index.md (3 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/connect/drivers.md
🧰 Additional context used
🧠 Learnings (5)
📚 Learning: 2025-10-10T17:58:26.545Z
Learnt from: amotl
PR: crate/cratedb-guide#395
File: docs/install/cloud/azure/terraform.md:108-127
Timestamp: 2025-10-10T17:58:26.545Z
Learning: In the crate/cratedb-guide repository, during documentation format conversions (e.g., from reStructuredText to MyST/Markdown), markdownlint warnings such as MD053 (unused reference-style links) should be ignored and not flagged as issues.

Applied to files:

  • docs/connect/index.md
📚 Learning: 2025-09-25T19:31:54.320Z
Learnt from: bmunkholm
PR: crate/cratedb-guide#340
File: docs/home/index.md:84-97
Timestamp: 2025-09-25T19:31:54.320Z
Learning: In the CrateDB Guide docs (MyST), the CrateDB Cloud card on the homepage should link to `getting-started` using `:link-type: ref` instead of the previous `cloud:index` intersphinx target. This change was implemented in PR #340 to direct users to the getting started section rather than directly to the Cloud documentation.

Applied to files:

  • docs/connect/index.md
📚 Learning: 2025-08-09T11:00:03.578Z
Learnt from: amotl
PR: crate/cratedb-guide#236
File: docs/index.md:312-316
Timestamp: 2025-08-09T11:00:03.578Z
Learning: In the CrateDB Guide documentation, locally stale references (such as `(reference-architectures)=`, `(domain)=`, and similar anchor labels) should be retained even when they appear unused within the repository, as external projects might still reference them. This ensures backward compatibility for external documentation and projects.

Applied to files:

  • docs/connect/index.md
📚 Learning: 2025-05-18T13:25:11.786Z
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:6-8
Timestamp: 2025-05-18T13:25:11.786Z
Learning: In the CrateDB Guide documentation, particularly for MCP-related pages, the author prefers a 1-column grid layout for multiple cards to stack them vertically rather than side by side, as this is an intentional design choice.

Applied to files:

  • docs/connect/index.md
📚 Learning: 2025-10-06T16:40:16.322Z
Learnt from: amotl
PR: crate/cratedb-guide#0
File: :0-0
Timestamp: 2025-10-06T16:40:16.322Z
Learning: In the crate/cratedb-guide repository, documentation is organized by content type: files in `docs/feature/`, `docs/integrate/`, and `docs/ingest/` are reference material designed for quick access, while `docs/start/` contains learning path content. Reference material sections use top-right reference layouts for efficient navigation.

Applied to files:

  • docs/connect/index.md
⏰ 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 docs
🔇 Additional comments (5)
docs/_include/links.md (1)

17-17: ✓ Link label consistency fix resolved.

The reference definition has been updated to match the new phrasing used throughout the docs. This resolves the previous reference mismatch issue flagged in the PR.

docs/connect/index.md (4)

22-24: ✓ Grid layout improvements for mobile responsiveness.

The gutter and padding adjustments to the "Get started" section enhance layout on smaller screens.


48-50: ✓ Consistent grid adjustments for language drivers section.

Gutter and padding settings align with the "Get started" section, ensuring uniform responsive behavior across driver cards.


138-164: ✓ "Further reading" section restructured with responsive layout.

The grid-item-card blocks now include responsive :columns: attributes (12 6 3 3 and 12 12 6 6) that properly scale across breakpoints:

  • Mobile (12 cols): Cards stack full-width
  • Tablet (6 cols): Cards display at 50% width (or full-width for "Read more")
  • Desktop (3–6 cols): Cards display at 25–50% width

The narrower gutter (2 vs. 3) and zero padding create a more compact layout for this reference section, which is appropriate for "Further reading" content.


153-153: ✓ Link label consistency applied.

The inline link reference has been updated from [CrateDB BLOBs] to [CrateDB BLOB support], matching the central definition in docs/_include/links.md:17. This resolves the reference mismatch flagged in the previous review.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2721f4 and 43f3f47.

📒 Files selected for processing (16)
  • docs/connect/index.md (3 hunks)
  • docs/feature/ccr/index.md (1 hunks)
  • docs/feature/cluster/index.md (1 hunks)
  • docs/handbook/index.md (5 hunks)
  • docs/index.md (8 hunks)
  • docs/ingest/cdc/index.md (2 hunks)
  • docs/ingest/index.md (1 hunks)
  • docs/ingest/telemetry/index.md (1 hunks)
  • docs/install/index.md (1 hunks)
  • docs/solution/machine-learning/index.md (4 hunks)
  • docs/start/application/index.md (2 hunks)
  • docs/start/index.md (4 hunks)
  • docs/start/query/ad-hoc.md (1 hunks)
  • docs/start/query/aggregations.md (2 hunks)
  • docs/start/query/ai-integration.md (2 hunks)
  • docs/tutorial/index.md (1 hunks)
🧰 Additional context used
🧠 Learnings (5)
📚 Learning: 2025-05-18T13:25:11.786Z
Learnt from: amotl
PR: crate/cratedb-guide#204
File: docs/integrate/mcp/community.md:6-8
Timestamp: 2025-05-18T13:25:11.786Z
Learning: In the CrateDB Guide documentation, particularly for MCP-related pages, the author prefers a 1-column grid layout for multiple cards to stack them vertically rather than side by side, as this is an intentional design choice.

Applied to files:

  • docs/index.md
  • docs/connect/index.md
  • docs/feature/cluster/index.md
  • docs/start/query/ad-hoc.md
  • docs/feature/ccr/index.md
  • docs/start/query/aggregations.md
  • docs/start/index.md
  • docs/handbook/index.md
📚 Learning: 2025-10-06T16:40:16.322Z
Learnt from: amotl
PR: crate/cratedb-guide#0
File: :0-0
Timestamp: 2025-10-06T16:40:16.322Z
Learning: In the crate/cratedb-guide repository, documentation is organized by content type: files in `docs/feature/`, `docs/integrate/`, and `docs/ingest/` are reference material designed for quick access, while `docs/start/` contains learning path content. Reference material sections use top-right reference layouts for efficient navigation.

Applied to files:

  • docs/index.md
  • docs/handbook/index.md
📚 Learning: 2025-08-23T04:22:52.597Z
Learnt from: amotl
PR: crate/cratedb-guide#235
File: docs/start/going-further.md:20-38
Timestamp: 2025-08-23T04:22:52.597Z
Learning: In the CrateDB Guide repository, the prefix `crate-reference:` in documentation links (like `crate-reference:index`) is an intersphinx reference that points to external content in the CrateDB Reference Manual documentation. These references are intentionally not pointing to local files within the repository.

Applied to files:

  • docs/index.md
📚 Learning: 2025-09-22T22:05:05.734Z
Learnt from: amotl
PR: crate/cratedb-guide#279
File: docs/integrate/airflow/data-retention-hot-cold.md:14-14
Timestamp: 2025-09-22T22:05:05.734Z
Learning: When searching for labels in the CrateDB Guide documentation, remember that reStructuredText files (.rst) use the syntax `.. _label:` while MyST Markdown files (.md) use the syntax `(label)=`. Cross-references work between formats, so {ref}`label` in MyST can reference an RST label defined with `.. _label:`.

Applied to files:

  • docs/index.md
📚 Learning: 2025-09-25T19:31:54.320Z
Learnt from: bmunkholm
PR: crate/cratedb-guide#340
File: docs/home/index.md:84-97
Timestamp: 2025-09-25T19:31:54.320Z
Learning: In the CrateDB Guide docs (MyST), the CrateDB Cloud card on the homepage should link to `getting-started` using `:link-type: ref` instead of the previous `cloud:index` intersphinx target. This change was implemented in PR #340 to direct users to the getting started section rather than directly to the Cloud documentation.

Applied to files:

  • docs/index.md
🪛 markdownlint-cli2 (0.18.1)
docs/connect/index.md

153-153: Reference links and images should use a label that is defined
Missing link or image reference definition: "cratedb blobs"

(MD052, reference-links-images)

⏰ 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 docs
🔇 Additional comments (23)
docs/solution/machine-learning/index.md (1)

31-32: Layout improvements for responsive design are consistent.

Gutter reduction from 4 to 3 across all four grid sections improves spacing for smaller viewports while maintaining visual hierarchy. The changes maintain grid symmetry and are aligned with the PR's responsiveness objectives.

Also applies to: 77-78, 110-111, 162-163

docs/tutorial/index.md (1)

11-18: Minor spacing refinements for better section separation.

The added blank line before the "Get started" section improves visual hierarchy, and the gutter reduction from 4 to 3 aligns with responsive design adjustments across the documentation.

docs/index.md (3)

119-135: Refactored grid spacing strategy with explicit card-level padding.

The "Learn" section now uses gutter: 0 at grid level and applies :padding: 2 to individual cards. This provides precise control over spacing and improves consistency. However, verify that gutter: 0 doesn't create undesired horizontal compression on small viewports—you may want to consider a small non-zero gutter (e.g., 1) for breathing room.


187-202: Grid padding centralization improves maintainability.

Moving padding from grid level to individual cards (lines 194, 208) follows a consistent pattern with the "Learn" section and provides better control over spacing hierarchy. Layout restructuring supports responsive design well.


293-322: "Examples" section maintains responsive layout consistency.

Grid and card-level padding changes align with adjustments in other sections. The padding: 0 at grid level and padding: 2 at card level are consistent with the emerging pattern in this file.

docs/install/index.md (1)

39-42: Improved responsive grid distribution for installation methods.

The grid layout change from 2 2 2 4 to 2 3 3 4 optimizes screen utilization across breakpoints: 2-column mobile, 3-column tablet, and up to 4-column desktop. With gutter: 3 and padding: 0, the card grid scales well for different viewport sizes.

docs/start/query/ai-integration.md (1)

200-227: Mobile-first responsive column specifications.

The "Further reading" section now uses explicit responsive column specs (12 6 3 3 and 12 12 6 6), implementing mobile-first breakpoints where cards span full width on mobile, half-width on tablet, and are narrower on desktop. With gutter: 2 and padding: 0, this provides excellent responsiveness and clean presentation across all screen sizes.

docs/feature/ccr/index.md (1)

91-108: Grid layout optimizes mobile stacking with responsive design.

The grid change from 2 2 2 2 to 1 2 2 2 implements a mobile-first approach where cards stack vertically (1 column) on small screens, then shift to 2-column layout on tablets and desktops. This aligns with responsive design best practices and your documented preference for vertical stacking on mobile. Based on learnings

docs/feature/cluster/index.md (1)

134-153: Consistent mobile-first grid with enriched card content.

The grid change to 1 2 2 2 with gutter: 2 matches the pattern in docs/feature/ccr/index.md, implementing mobile-friendly vertical stacking. The enriched card descriptions (with icons and expanded content blocks) improve information hierarchy and make the learning resources more discoverable.

docs/connect/index.md (2)

22-23: Consistent gutter adjustments for responsive driver layout.

Gutter changes to 3 in both "Get started" and "Drivers by language" sections provide moderate horizontal spacing. These adjustments align with the responsive design strategy across the documentation.

Also applies to: 48-49


138-164: Mobile-first responsive cards in "Further reading" section.

The grid uses responsive column specs (12 6 3 3 and 12 12 6 6) with gutter: 2 and padding: 0, implementing mobile-first design for information cards. The new reference connect-natural (line 161) extends the "Read more" section with additional connectivity guidance.

docs/handbook/index.md (1)

10-12: Responsive grid patterns applied consistently.

Grid directives across all sections follow a mobile-first approach with 2-column mobile layouts (patterns 2 2 4 4 and 2 2 3 3) that scale appropriately for tablets and desktop. Gutter spacing of 2 and zero padding on grid containers provide a cohesive, tightened visual rhythm throughout.

Also applies to: 54-56, 110-112, 167-169

docs/ingest/cdc/index.md (1)

25-26: Mobile-first 1-2-2 grid pattern improves narrow-screen usability.

Both sections now use 1 2 2 2 grids, ensuring single-column stack on mobile devices while providing 2-column layouts for tablets and desktops. This pattern is particularly effective for integration/connector content where detailed descriptions are displayed. Gutter consistency is maintained across the file.

Also applies to: 58-59

docs/start/application/index.md (1)

8-9: Responsive grid pattern with progressive expansion fits sample application browsing.

The 1 2 2 3 pattern scales from single column on mobile to three columns on large desktops, providing a progressive browsing experience. This differs from more constrained patterns (e.g., CDC's 1 2 2 2) and is justified by the nature of application listings being more compact and scannable on larger screens.

Also applies to: 34-35

docs/ingest/telemetry/index.md (1)

52-54: Explicit 1-column mobile layout replaces ambiguous auto pattern.

The grid change from auto 3 3 3 to 1 2 3 3 removes mobile layout ambiguity and ensures 1-column rendering on small screens. This is a clear responsiveness improvement; the auto value left mobile rendering to browser defaults, which often resulted in poor narrow-screen layouts.

docs/ingest/index.md (2)

8-11: Intentional grid pattern balances mobile-first design with content substance.

The 1 1 2 2 pattern keeps a single column through tablet screens, only expanding to 2 columns on small desktops. This conservative approach is well-suited to the three substantive data ingestion method categories, which benefit from the full width on smaller devices.


28-29: Content clarifications enhance user navigation.

The added descriptive footers ("Data import methods supported by CrateDB natively," etc.) under each ingestion method category provide helpful context without cluttering the main card titles. This improves scannability and helps users quickly identify the right ingestion path for their use case.

Also applies to: 45-46, 64-65

docs/start/query/ad-hoc.md (1)

211-216: Responsive column specifications provide fine-grained mobile-to-desktop scaling.

The use of explicit :columns: values (e.g., 12 6 3 3) offers responsive control at the grid-item level, ensuring full-width on mobile, half-width on tablets, and quarter-width on desktops. The "Read more" section appropriately uses 12 12 6 6 to keep items larger. This approach differs from grid-pattern syntax but is equally valid for detailed responsive tuning.

Also applies to: 222-223, 230-231

docs/start/query/aggregations.md (2)

187-198: Consistent responsive column pattern with ad-hoc.md enhances maintainability.

The identical column specifications (12 6 3 3 and 12 12 6 6) applied here create a predictable pattern across query-related documentation, improving maintainability. Mobile-to-desktop scaling remains consistent.

Also applies to: 206-207


197-203: Integration list expansion (Superset, Tableau) enhances BI tool coverage.

The added integrations for Superset and Tableau are valuable, well-known BI tools that legitimately belong in the aggregation/analytics documentation context. This content addition complements the responsive layout improvements.

docs/start/index.md (3)

13-14: 2-column mobile layout suits icon-based navigation cards.

The 2 2 4 4 grid pattern expands from 2 columns on mobile (suitable for these simple icon+title navigation cards) to 4 columns on large desktops. This is notably wider on mobile than other files in the PR, reflecting the intentional design that simple icon cards benefit from a 2-column mobile layout.


21-21: Consistent padding reduction tightens card spacing throughout.

Applying :padding: 2 uniformly across all grid-item-cards creates tighter internal spacing, which pairs well with the 2 2 4 4 grid to create a compact, scannable index. This padding reduction is consistent with the gutter/padding adjustments across the PR.

Also applies to: 34-34, 47-47, 60-60


25-25: Font size adjustments maintain visual hierarchy at tighter spacing.

Adding :class-title: sd-fs-6 to these navigation cards ensures titles remain appropriately sized despite the tighter padding, preserving readability and visual balance.

Also applies to: 38-38, 51-51, 64-64

@amotl amotl added reorganize Moving content around, inside and between other systems. sanding-1200 Fine sanding. labels Oct 21, 2025
@amotl amotl merged commit 11e5ea1 into main Oct 21, 2025
3 checks passed
@amotl amotl deleted the responsiveness branch October 21, 2025 18:10
This was referenced Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance C'est la vie. reorganize Moving content around, inside and between other systems. sanding-1200 Fine sanding.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants