Skip to content

workflow: update#1816

Closed
shinokada wants to merge 2 commits intothemesberg:mainfrom
shinokada:docs/fix
Closed

workflow: update#1816
shinokada wants to merge 2 commits intothemesberg:mainfrom
shinokada:docs/fix

Conversation

@shinokada
Copy link
Copy Markdown
Collaborator

@shinokada shinokada commented Nov 2, 2025

Closes #

📑 Description

  • update: pull_request-template.md
  • update: bug_report.yml
  • fix: kanban-board Default.svelte

Status

  • Not Completed
  • Completed

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation and api-check directory as required
  • All the tests and check have passed by running pnpm check && pnpm test:e2e
  • My pull request is based on the latest commit (not the npm version).
  • I have checked the page with https://validator.unl.edu/

ℹ Additional Information

Summary by CodeRabbit

  • New Features

    • Added SplitPane, Pane and Divider components and exported them for use; examples and changelog updated.
  • Documentation

    • New and updated docs/examples for Split Pane and VirtualList; many type links and component docs corrected.
  • Refactor

    • Reorganized split-pane module paths and internal exports for consistency.
  • Chores

    • Improved issue and PR templates with structured fields to streamline bug reports and contributions.

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 2, 2025

@shinokada is attempting to deploy a commit to the Themesberg Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Nov 2, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The PR adds a SplitPane feature (Pane and Divider components and metadata), renames internal module paths from splitpane to split-pane, updates package exports and changelog/version, enhances issue/PR templates, tightens documentation and component metadata links, and removes a manual reactivity reset in a Kanban example.

Changes

Cohort / File(s) Change Summary
Split-pane feature & exports
src/lib/split-pane/Pane.svelte, src/lib/split-pane/Divider.svelte, src/lib/split-pane/SplitPane.svelte, src/lib/split-pane/*, src/lib/split-pane/index.ts, src/lib/split-pane/theme.ts
Added Pane and Divider components, minor non-functional edits to SplitPane, new theme file/trailing newline; new component wiring to SplitPane context and conditional Divider rendering.
Public re-exports / theme path updates
src/lib/index.ts, src/lib/theme/themes.ts
Changed re-export sources from ./splitpane / $lib/splitpane/theme to ./split-pane / $lib/split-pane/theme.
Package metadata & distribution
package.json, CHANGELOG.md
Bumped version 1.20.1 → 1.21.0; added package exports for ./Divider.svelte, ./Pane.svelte, ./SplitPane.svelte; added CHANGELOG entry.
Component metadata (routes & data)
src/routes/component-data/*, src/routes/component-data/Pane.json, src/routes/component-data/Divider.json, src/routes/component-data/SplitPane.json
Added metadata JSON for Pane/Divider/SplitPane; updated many type link anchors and adjusted Popper/trigger defaults in metadata.
Docs / static LLM content
static/llm/extend/split-pane.md, static/llm/context-full.txt, static/llm/*, src/routes/docs/extend/split-pane.md, static/llm/components/*, static/llm/typography/*, static/llm/*
New SplitPane docs and LLM snippets; updated many documentation anchor links and examples (Popover/Tooltip usage changes).
Templates
.github/ISSUE_TEMPLATE/bug_report.yml, .github/pull_request_template.md
Expanded and rephrased bug report form (new fields, checklist, render hints) and updated PR template text.
Examples / minor logic tweak
src/routes/docs-examples/extend/kanban-board/Default.svelte, src/routes/docs-examples/extend/split-pane/+page.svelte
Removed manual reactivity reset (columns = [...columns]) inside handleMove; minor formatting change to pane content.
Typings / style-only edits
src/lib/types.ts, many src/lib/*/*.svelte, src/lib/utils/debounce.ts, src/lib/utils/Popper.svelte
Small type literal quote changes, documentation anchor updates across many components; Popper gained new props/events/default constant usages; debounce formatting tweaks.

Sequence Diagram(s)

sequenceDiagram
  participant App as App (consumer)
  participant Split as SplitPane
  participant PaneA as Pane (index N)
  participant Divider as Divider (index N)

  Note over App,Split: Mount split pane with children panes
  App->>Split: render(children)
  Split-->>PaneA: provide context (register paneIndex, styles)
  PaneA->>Split: request paneStyle / shouldRenderDivider
  Split-->>PaneA: paneStyle, showDivider?

  alt showDivider
    PaneA->>Divider: render Divider(direction, index, currentSize)
    Note right of Divider: user interaction (mouse down / key)
    App->>Divider: onMouseDown / onKeyDown events
    Divider->>Split: emit drag start / resize events
    Split-->>PaneA: update sizes via context
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20–30 minutes

  • Heterogeneous mix: new components and exports, package.json export map updates, many documentation/metadata changes, and a small behavioral tweak in a Kanban example.
  • Pay extra attention to:
    • package.json exports for correct paths and typings for the new Svelte components
    • consistency of re-export path changes (split-pane vs splitpane) across all imports/exports
    • public API changes in Popper (added props/events and default constants)
    • the Kanban example state change (ensure removal of manual reactivity doesn’t regress examples)

Possibly related PRs

  • Popper tweaking never ends #1815 — touches Popper and debounce utilities with overlapping API/default changes (role, events, DEFAULT_* constants).
  • Feat: split pane #1814 — previously introduced split-pane components/exports that this PR adjusts or re-exports; likely directly related.
  • feat: kanban board #1810 — modifies the Kanban example and is related to the example change here (handleMove reactivity).

Poem

🐰 I split the pane with nimble paws,

names adjusted, tidy laws.
Docs expanded, templates bright,
dividers ready, panes take flight —
a tiny hop, then all feels right. 🥕

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The title "workflow: update" is misleading and does not accurately describe the actual changes in this pull request. The raw summary shows that the PR makes changes to GitHub templates (bug_report.yml and pull_request_template.md), updates module export paths (from "splitpane" to "split-pane"), removes a reactivity reset in a component (kanban-board Default.svelte), and updates documentation. None of these changes relate to workflows in the conventional sense, making the title unrelated to the substantive changes in the changeset.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed The pull request description follows the template structure and includes the required sections: a Description section listing three specific changes (pull_request-template.md, bug_report.yml, and kanban-board Default.svelte), a Status section, and a Checks section with multiple items marked. While the description content is brief and lacks detailed explanation of the motivation behind the changes, it provides concrete information about what was modified and mostly adheres to the template format with populated sections rather than being entirely empty or off-topic.

📜 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 52550c2 and adb8728.

📒 Files selected for processing (63)
  • CHANGELOG.md (1 hunks)
  • package.json (2 hunks)
  • src/lib/index.ts (1 hunks)
  • src/lib/kanban/KanbanCard.svelte (1 hunks)
  • src/lib/split-pane/Divider.svelte (3 hunks)
  • src/lib/split-pane/Pane.svelte (1 hunks)
  • src/lib/split-pane/SplitPane.svelte (2 hunks)
  • src/lib/split-pane/index.ts (1 hunks)
  • src/lib/split-pane/theme.ts (1 hunks)
  • src/lib/types.ts (9 hunks)
  • src/lib/typography/a/A.svelte (1 hunks)
  • src/lib/typography/blockquote/Blockquote.svelte (1 hunks)
  • src/lib/typography/descriptionlist/DescriptionList.svelte (1 hunks)
  • src/lib/typography/heading/Heading.svelte (1 hunks)
  • src/lib/typography/img/EnhancedImg.svelte (1 hunks)
  • src/lib/typography/img/Img.svelte (1 hunks)
  • src/lib/typography/layout/Layout.svelte (1 hunks)
  • src/lib/typography/list/Li.svelte (1 hunks)
  • src/lib/typography/list/List.svelte (1 hunks)
  • src/lib/typography/mark/Mark.svelte (1 hunks)
  • src/lib/typography/paragraph/P.svelte (1 hunks)
  • src/lib/typography/secondary/Secondary.svelte (1 hunks)
  • src/lib/typography/span/Span.svelte (1 hunks)
  • src/lib/utils/Arrow.svelte (1 hunks)
  • src/lib/utils/Popper.svelte (1 hunks)
  • src/lib/utils/debounce.ts (1 hunks)
  • src/lib/video/Video.svelte (1 hunks)
  • src/routes/component-data/A.json (1 hunks)
  • src/routes/component-data/Arrow.json (1 hunks)
  • src/routes/component-data/Blockquote.json (1 hunks)
  • src/routes/component-data/DescriptionList.json (1 hunks)
  • src/routes/component-data/Divider.json (1 hunks)
  • src/routes/component-data/EnhancedImg.json (1 hunks)
  • src/routes/component-data/Heading.json (1 hunks)
  • src/routes/component-data/Hr.json (1 hunks)
  • src/routes/component-data/Img.json (1 hunks)
  • src/routes/component-data/KanbanBoard.json (1 hunks)
  • src/routes/component-data/KanbanCard.json (1 hunks)
  • src/routes/component-data/Layout.json (1 hunks)
  • src/routes/component-data/Li.json (1 hunks)
  • src/routes/component-data/List.json (1 hunks)
  • src/routes/component-data/Mark.json (1 hunks)
  • src/routes/component-data/P.json (1 hunks)
  • src/routes/component-data/Pane.json (1 hunks)
  • src/routes/component-data/Popper.json (1 hunks)
  • src/routes/component-data/Secondary.json (1 hunks)
  • src/routes/component-data/Span.json (1 hunks)
  • src/routes/component-data/SplitPane.json (1 hunks)
  • src/routes/component-data/Video.json (1 hunks)
  • src/routes/component-data/VirtualList.json (1 hunks)
  • src/routes/docs-examples/extend/split-pane/+page.svelte (1 hunks)
  • static/llm/components/popover.md (1 hunks)
  • static/llm/components/tooltip.md (2 hunks)
  • static/llm/components/video.md (1 hunks)
  • static/llm/context-full.txt (12 hunks)
  • static/llm/extend/split-pane.md (1 hunks)
  • static/llm/extend/virtual-list.md (1 hunks)
  • static/llm/typography/blockquote.md (1 hunks)
  • static/llm/typography/heading.md (1 hunks)
  • static/llm/typography/hr.md (1 hunks)
  • static/llm/typography/list.md (1 hunks)
  • static/llm/typography/paragraph.md (1 hunks)
  • static/llms.txt (1 hunks)

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
Copy Markdown
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: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3ef0b18 and 52550c2.

📒 Files selected for processing (6)
  • .github/ISSUE_TEMPLATE/bug_report.yml (1 hunks)
  • .github/pull_request_template.md (1 hunks)
  • src/lib/index.ts (1 hunks)
  • src/lib/theme/themes.ts (1 hunks)
  • src/routes/docs-examples/extend/kanban-board/Default.svelte (0 hunks)
  • src/routes/docs/extend/split-pane.md (1 hunks)
💤 Files with no reviewable changes (1)
  • src/routes/docs-examples/extend/kanban-board/Default.svelte
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.github/ISSUE_TEMPLATE/bug_report.yml

[error] 25-25: syntax error: expected , but found '-'

(syntax)


[error] 27-27: duplication of key "attributes" in mapping

(key-duplicates)


[error] 42-42: duplication of key "validations" in mapping

(key-duplicates)

🔇 Additional comments (4)
.github/pull_request_template.md (1)

1-71: LGTM! Excellent improvements to PR template structure and guidance.

The revised template provides much clearer guidance with better organization, helpful placeholders, and a more comprehensive checklist. The addition of CoderabbitAI review confirmation and accessibility checks strengthens the review process.

.github/ISSUE_TEMPLATE/bug_report.yml (1)

1-23: Excellent enhancements to bug report template structure.

The revised template significantly improves bug report quality with:

  • Clearer field descriptions and examples
  • Required minimal reproduction with playground link
  • Structured environment information collection
  • New debugging fields (Logs, Screenshots, Additional Context)
  • Quality checklist to ensure complete submissions

These changes will help maintainers triage and resolve issues more efficiently.

Also applies to: 57-108

src/lib/theme/themes.ts (1)

83-83: Theme file verified at new export path.

The export path in src/lib/themes/themes.ts correctly references $lib/split-pane/theme, which resolves to src/lib/split-pane/theme.ts. No issues found.

src/routes/docs/extend/split-pane.md (1)

15-15: Divider component export verified—documentation is accurate.

The script confirms that Divider is properly exported from the split-pane module (export { default as Divider } from "./Divider.svelte"), and DividerHitArea is also available as dividerHitArea from the theme exports. The documentation addition correctly reflects the available components.

Comment on lines +25 to +56
- type: textarea
id: reproduction
attributes:
label: Reproduction
label: Minimal Reproduction
description: |
Please provide a **minimal code example** that demonstrates the problem. This should be self-contained, minimal, and runnable.

Include:
- What you expected to happen
- What actually happens instead
- Complete code example (copy/paste ready)
- Any specific steps to trigger the issue
Provide a ***copy-paste-ready*** minimal example that reproduces the bug.
✅ Preferred: Fork this template and modify it to show the issue:
https://svelte.dev/playground/47df97f4370f43fbb008c708fd5a7b8a?version=5.43.2
✅ OK: Full code sample in the box below
❌ Not accepted: screenshots of code, descriptions without code, full repositories

Issues with vague descriptions and no reproduction code will receive a "needs reproduction" label and may be closed if not provided within a reasonable timeframe.
placeholder: "Provide your minimal code example here..."
Issues without a working reproduction may be closed.
placeholder: |
// Your minimal code example here...
// or paste your modified REPL link:
// https://svelte.dev/playground/...
render: typescript
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: "List the exact actions needed to trigger the bug."
placeholder: |
1. Install flowbite-svelte@latest
2. Use Button inside Modal
3. Click button → nothing happens
validations:
required: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Fix YAML syntax error: incorrect indentation.

The YAML has a critical syntax error at line 25. The list item - type: textarea should be indented with 2 spaces before the dash to align with line 12, not 4 spaces. This will cause the GitHub issue template to fail parsing.

Apply this diff to fix the indentation:

-    - type: textarea
+  - type: textarea
     id: reproduction

Also verify the indentation for the "Steps to Reproduce" section (lines 45-55) is correct after fixing line 25.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- type: textarea
id: reproduction
attributes:
label: Reproduction
label: Minimal Reproduction
description: |
Please provide a **minimal code example** that demonstrates the problem. This should be self-contained, minimal, and runnable.
Include:
- What you expected to happen
- What actually happens instead
- Complete code example (copy/paste ready)
- Any specific steps to trigger the issue
Provide a ***copy-paste-ready*** minimal example that reproduces the bug.
✅ Preferred: Fork this template and modify it to show the issue:
https://svelte.dev/playground/47df97f4370f43fbb008c708fd5a7b8a?version=5.43.2
✅ OK: Full code sample in the box below
❌ Not accepted: screenshots of code, descriptions without code, full repositories
Issues with vague descriptions and no reproduction code will receive a "needs reproduction" label and may be closed if not provided within a reasonable timeframe.
placeholder: "Provide your minimal code example here..."
Issues without a working reproduction may be closed.
placeholder: |
// Your minimal code example here...
// or paste your modified REPL link:
// https://svelte.dev/playground/...
render: typescript
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: "List the exact actions needed to trigger the bug."
placeholder: |
1. Install flowbite-svelte@latest
2. Use Button inside Modal
3. Click button → nothing happens
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Minimal Reproduction
description: |
Provide a ***copy-paste-ready*** minimal example that reproduces the bug.
✅ Preferred: Fork this template and modify it to show the issue:
https://svelte.dev/playground/47df97f4370f43fbb008c708fd5a7b8a?version=5.43.2
✅ OK: Full code sample in the box below
❌ Not accepted: screenshots of code, descriptions without code, full repositories
Issues without a working reproduction may be closed.
placeholder: |
// Your minimal code example here...
// or paste your modified REPL link:
// https://svelte.dev/playground/...
render: typescript
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: "List the exact actions needed to trigger the bug."
placeholder: |
1. Install flowbite-svelte@latest
2. Use Button inside Modal
3. Click button → nothing happens
validations:
required: true
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 25-25: syntax error: expected , but found '-'

(syntax)


[error] 27-27: duplication of key "attributes" in mapping

(key-duplicates)


[error] 42-42: duplication of key "validations" in mapping

(key-duplicates)

🤖 Prompt for AI Agents
.github/ISSUE_TEMPLATE/bug_report.yml around lines 25 to 56: the YAML list item
starting at line 25 is misindented (uses 4 spaces before the dash) which breaks
the template parsing; fix by reducing indentation so the dash aligns with the
other top-level list items (use 2 spaces before the dash), then ensure the
nested keys (type, id, attributes, validations) remain properly indented
relative to that dash; after adjusting line 25 re-check and correct indentation
for the "Steps to Reproduce" block (lines ~45-55) so its leading dash and nested
fields follow the same top-level alignment.

src/lib/index.ts Outdated
export * from "./virtuallist";
export * from "./kanban";
export * from "./splitpane"; No newline at end of file
export * from "./split-pane"; No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify this breaking change and document migration path.

Renaming the module path from ./splitpane to ./split-pane is a breaking change for external consumers. Ensure:

  1. The directory src/lib/split-pane/ exists with all expected exports
  2. All internal imports have been updated consistently
  3. This breaking change is documented in the PR description with migration guidance

Run the following script to verify the directory structure and check for any remaining references to the old path:


🏁 Script executed:

#!/bin/bash
# Verify the new split-pane directory exists and check for old path references

# Check if new directory exists
if [ -d "src/lib/split-pane" ]; then
  echo "✓ New directory src/lib/split-pane/ exists"
  echo "Files in directory:"
  fd . src/lib/split-pane --type f
else
  echo "✗ ERROR: Directory src/lib/split-pane/ not found"
fi

echo ""
echo "Checking for any remaining references to old 'splitpane' path:"
# Search for imports/requires of the old path (exclude this change)
rg -n "from ['\"].*splitpane['\"]" --type ts --type js --type svelte -g '!src/lib/index.ts' -g '!src/lib/theme/themes.ts'
rg -n "import.*splitpane" --type ts --type js --type svelte -g '!src/lib/index.ts' -g '!src/lib/theme/themes.ts'

Length of output: 345


🏁 Script executed:

#!/bin/bash
# Search for any remaining references to the old 'splitpane' path
# Using pattern search without file type filters to catch all occurrences

echo "Searching for old 'splitpane' path references in the codebase:"
rg -n "splitpane" --type ts --type js -g '!node_modules' -g '!dist' -g '!.svelte-kit' 2>/dev/null || echo "No matches found with TS/JS filter"

echo ""
echo "Alternative search without type restriction:"
rg -rn "splitpane" --glob '!node_modules' --glob '!dist' --glob '!.svelte-kit' 2>/dev/null | head -20 || echo "No matches found"

echo ""
echo "Verifying split-pane exports are correct in index.ts:"
cat src/lib/split-pane/index.ts

Length of output: 1285


🏁 Script executed:

#!/bin/bash
# Verify the main index.ts file exports from the correct path
echo "Checking src/lib/index.ts for split-pane export:"
rg -n "export.*split-pane" src/lib/index.ts 2>/dev/null || echo "Direct export check"

# Also check if old path still exists anywhere
echo ""
echo "Checking if old splitpane directory exists:"
ls -la src/lib/ 2>/dev/null | grep -i split || echo "No split directory found"

# Verify the actual line 92 content
echo ""
echo "Content around line 92 of src/lib/index.ts:"
rg -n "." src/lib/index.ts | grep -E "^(9[0-2]|9[1-3]):" | tail -5

Length of output: 329


🏁 Script executed:

#!/bin/bash
# Look for CHANGELOG, PR description, or migration documentation
echo "Looking for documentation of breaking changes:"
find . -maxdepth 2 -type f \( -name "CHANGELOG*" -o -name "MIGRATION*" -o -name "BREAKING*" -o -name "CHANGES*" \) ! -path "./node_modules/*" ! -path "./.git/*" 2>/dev/null

echo ""
echo "Checking if PR body or description file exists:"
ls -la .github/ 2>/dev/null | head -10 || echo "No .github directory"

Length of output: 423


🏁 Script executed:

#!/bin/bash
# Check CHANGELOG for documentation of the splitpane breaking change
echo "Searching CHANGELOG.md for split-pane or splitpane references:"
rg -n "split-pane|splitpane" CHANGELOG.md -A 2 -B 2

echo ""
echo "Also checking recent entries in CHANGELOG for any breaking changes:"
head -50 CHANGELOG.md

Length of output: 1171


Update CHANGELOG.md to document the breaking change and provide migration guidance.

The module path renaming from ./splitpane to ./split-pane is properly implemented—the directory exists with all expected files, internal imports are consistent, and no old path references remain. However, this breaking change is not documented in CHANGELOG.md. Add an entry documenting the rename with a migration note for external consumers upgrading to this version (e.g., "Update imports from 'package/splitpane' to 'package/split-pane'").

🤖 Prompt for AI Agents
In src/lib/index.ts around line 92, the export was changed from "./splitpane" to
"./split-pane" but the breaking change is not documented; update CHANGELOG.md by
adding a breaking-change entry (under Unreleased or the current release heading)
that states the module was renamed from 'splitpane' to 'split-pane' and include
a short migration note showing the import update (e.g., "Update imports from
'package/splitpane' to 'package/split-pane'") and any version or compatibility
notes consumers need when upgrading.

@shinokada shinokada closed this Nov 2, 2025
@shinokada shinokada deleted the docs/fix branch November 7, 2025 08:23
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.

1 participant