Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redpanda-data/docs-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.12.1
Choose a base ref
...
head repository: redpanda-data/docs-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.2
Choose a head ref
  • 3 commits
  • 21 files changed
  • 1 contributor

Commits on Feb 5, 2026

  1. Fix WASM path order to avoid 404 in console (#361)

    * Fix WASM path order to avoid 404 in console
    
    * Remove debug console logging for production
    
    * Remove debug console.log statements from playground autocomplete
    
    * Skip JSON fetch on docs-ui.netlify.app preview
    
    * Use build-time environment detection to eliminate WASM 404 errors
    JakeSCahill authored Feb 5, 2026
    Configuration menu
    Copy the full SHA
    c5c2e90 View commit details
    Browse the repository at this point in the history
  2. Fix Bloblang playground editor alignment (#362)

    * Fix Bloblang playground editor alignment
    
    - Convert playground layout from flexbox to CSS Grid for precise column alignment
    - Add fixed height constraints on editor headers (70px) to ensure Input and Output headers match
    - Constrain header content height (48px) and validation row height (22px) with overflow hidden
    - Add smaller Ask AI button variant (20px) when displayed in header to fit within constraints
    - Restructure Output header HTML to match Input's two-row structure with spacer
    - Add explicit grid placement rules for each editor section
    - Truncate long error messages with text-overflow ellipsis
    - Update mobile responsive styles for grid layout
    
    * Improve Bloblang playground UX layout
    
    - Change layout to Input/Mapping side by side with Output below
    - Add flow arrow indicator between input row and output
    - Move metadata editors to collapsible Advanced Options panel
    - Responsive: stacks vertically on mobile (<1024px)
    
    Based on UX feedback from Blair McKee.
    
    * Fix playground mobile layout - remove fixed header heights
    
    On mobile, editor headers need to grow to accommodate stacked buttons
    and validation indicators. Removing min/max-height constraints allows
    the header to expand naturally without overlapping the editor.
    
    * Fix playground layout issues
    
    - Fix Advanced Options toggle: wrap content in div, hide browser disclosure marker
    - Fix mobile layout: remove fixed header heights, allow content to stack
    - Fix overflow: add max-width and overflow-x constraints to prevent horizontal overflow
    - Set consistent min-height for metadata editors
    - Change editor resize to vertical only
    
    * Simplify flow arrow to subtle grey indicator
    
    - Remove blue circular background that looked like a clickable button
    - Change to grey color with reduced opacity for subtlety
    - Reduce vertical padding from 8px to 4px
    JakeSCahill authored Feb 5, 2026
    Configuration menu
    Copy the full SHA
    cdf838f View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2026

  1. Add Connect Tools section to TOC on Redpanda Connect pages (#363)

    * Add Connect Tools section to TOC on Redpanda Connect pages
    
    * Make TOC tools section configurable via component attributes
    
    - Move component detection from JS to Handlebars templates
    - Components can now define toc-tools-title and toc-tools-links in antora.yml
    - URLs can be Antora resource IDs (resolved automatically), absolute paths, or external URLs
    - External URLs bypass resolution and open in new tab
    - Fix mobile TOC: hide sidebar properly, add indentation for dropdown items
    - Fix mobile nav cutoff when no version dropdown exists
    - Add scrollable TOC with Connect Tools pinned at bottom on desktop
    - Scroll active TOC item into view on page load and navigation
    - Add starts-with helper for URL type detection
    - Update preview to support component version attributes
    
    * Add null check for menu element in FAB code
    
    * Rename TOC tools classes to be component-agnostic
    
    - toc-connect-tools → toc-tools
    - has-connect-tools → has-toc-tools
    - tocConnectTools → tocTools
    
    * Make FAB component-agnostic with documentation
    
    * Apply suggestion from @JakeSCahill
    
    * Fix WASM 404 errors with build-time environment detection
    
    * Fix malformed JSON in ui-model.yml toc-tools-links
    
    Add missing closing quote in URL property that was causing JSON parse error during preview build.
    
    * Improve Lighthouse performance score from 31 to 62
    
    - Defer VWO script loading and remove body-hiding behavior
    - Lazy load Kapa AI widget on first interaction (Cmd+K or click)
    - Lazy load Algolia search scripts on search focus
    - Add passive event listeners to scroll handlers
    - Fix single-click activation for Kapa and Algolia lazy loading
    
    Key improvements:
    - Total Blocking Time: 2,370ms -> 110ms (-95%)
    - JS Execution Time: 4.5s -> 0.6s (-87%)
    - Unused JavaScript: 918 KiB -> 26 KiB (-97%)
    
    * Fix FAB menu item labels not appearing on mobile
    
    Changed FAB template to use 'text' property instead of 'label' to match
    the desktop TOC tools section in toc.hbs. Both templates now consistently
    use the same property names from toc-tools-links configuration.
    
    * Fix TOC scroll gap by moving h3 outside scrollable area
    
    The h3 "On this page" title was being added inside .toc-menu, causing
    a 40px gap at the top of the scrollable area when Connect Tools section
    is visible. Now the h3 is inserted before .toc-menu so it stays fixed
    while the TOC content scrolls.
    
    * Remove WASM from loading message
    JakeSCahill authored Feb 6, 2026
    Configuration menu
    Copy the full SHA
    7f5da5f View commit details
    Browse the repository at this point in the history
Loading