Skip to content

feat(AdminSidebar): add sidebar component with Storybook stories#475

Merged
husamettinarabaci merged 2 commits intodevelopfrom
feat/admin-sidebar
Jan 28, 2026
Merged

feat(AdminSidebar): add sidebar component with Storybook stories#475
husamettinarabaci merged 2 commits intodevelopfrom
feat/admin-sidebar

Conversation

@krmlp
Copy link
Copy Markdown
Contributor

@krmlp krmlp commented Jan 27, 2026

📄 Summary

This PR introduces the AdminSidebar component for the admin/layout module.

The component is implemented in Pioneer Strict Mode, serving as a reference sidebar that enforces the project's highest architectural standards: explicit configuration, composition-first design, and full i18n/a11y compliance.

  • Strict configuration: No default values. All visual and behavioral options (variants, sizes, widths, badge variants) are required props.
  • No embedded strings: All user-facing and assistive text (ariaLabel, expandAriaLabel, collapseAriaLabel) is passed explicitly for i18n.
  • Core components only: Built using Button, Link, Badge, Heading, Text, Spinner, and Icon.
  • Collapsible submenu pattern: Uses native details/summary for nested menus (DaisyUI standard pattern).
  • Composition-first design: Header, footer, and children content are injected via snippets to avoid layout-level coupling.
  • Svelte 5 runes: Uses $props, $derived, and $bindable.

🧩 Affected Module(s)

  • Source Code
  • Documentation
  • CI / Infra

✏️ PR Title Format

PR Title: feat(AdminSidebar): add sidebar component with Storybook stories

✅ Checklist

  • My branch name follows format: feat/admin-sidebar
  • My PR title starts with one of the approved types listed above
  • My code is formatted using Prettier (pnpm format)
  • I ran static analysis (pnpm check) and resolved warnings
  • I linked related issues using keywords like Closes #217
  • I ensured this PR has no unrelated changes
  • This PR is ready for review and does not include unfinished work

🔗 Related Issues

Closes #217

krmlp added 2 commits January 27, 2026 18:19
- Add full AdminSidebar implementation with Svelte 5 runes
- Include comprehensive Props interface with no default values
- Add size-responsive styling (sm/md/lg) with derived classes
- Add 11 Storybook stories including Playground
- Follow AGENTS.md rules for raw HTML documentation
- Use core library components (Dropdown, Button, Badge, Icon, etc.)
- Export component and AdminSidebarItem type from index.ts

Closes #217
@krmlp krmlp self-assigned this Jan 27, 2026
@github-actions github-actions Bot added the module:source Source Code label Jan 27, 2026
@github-project-automation github-project-automation Bot moved this to 📥 Inbox / Ideas in hexaTune Project Jan 27, 2026
Copy link
Copy Markdown
Member

@husamettinarabaci husamettinarabaci left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation Bot moved this from 📥 Inbox / Ideas to Done in hexaTune Project Jan 28, 2026
@husamettinarabaci husamettinarabaci merged commit d172638 into develop Jan 28, 2026
8 checks passed
@husamettinarabaci husamettinarabaci deleted the feat/admin-sidebar branch January 28, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:source Source Code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants