Skip to content

refactor: extract desktop shell Blade components#108

Merged
ibourgeois merged 2 commits intomainfrom
codex/feat-101-desktop-blade-components
Mar 21, 2026
Merged

refactor: extract desktop shell Blade components#108
ibourgeois merged 2 commits intomainfrom
codex/feat-101-desktop-blade-components

Conversation

@ibourgeois
Copy link
Contributor

Summary

  • extract the desktop shell into reusable anonymous Blade components for the window frame, feature cards, sidebar blocks, and status panels
  • keep the rendered shell behavior the same while making the page template composition-focused instead of raw repeated markup
  • document the desktop UI component convention in CONTRIBUTING so future shell work stays atomic and reusable

Testing

  • php artisan test --compact tests/Feature/DesktopShellTest.php tests/Feature/DesktopUiFeatureFlagTest.php

Refs #101

Copilot AI review requested due to automatic review settings March 21, 2026 01:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors the desktop shell landing page to be composition-focused by extracting repeated UI markup into reusable anonymous Blade components, while documenting the expected componentization approach for future desktop UI work.

Changes:

  • Replaced repeated desktop shell markup in welcome.blade.php with <x-desktop.*> anonymous Blade components.
  • Added new desktop shell primitive components (window frame, feature cards, sidebar blocks, runtime/workspace status cards).
  • Documented the desktop UI component convention in CONTRIBUTING.md.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
resources/views/welcome.blade.php Switches the desktop shell template to use the new <x-desktop.*> components instead of repeated markup.
resources/views/components/desktop/window-frame.blade.php Introduces a reusable window frame/header component for the desktop shell.
resources/views/components/desktop/feature-card.blade.php Adds a reusable card component for the three “feature” tiles.
resources/views/components/desktop/runtime-status-card.blade.php Extracts the Surreal runtime status panel into a dedicated component.
resources/views/components/desktop/workspace-status-card.blade.php Extracts the preview workspace panel into a dedicated component.
resources/views/components/desktop/sidebar-block.blade.php Adds a reusable sidebar block component for launch kit / notes sections.
CONTRIBUTING.md Adds documented guidance to build desktop UI from small Blade/Livewire components under resources/views/components/desktop/*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ibourgeois ibourgeois merged commit 7a09876 into main Mar 21, 2026
1 check passed
@ibourgeois ibourgeois deleted the codex/feat-101-desktop-blade-components branch March 21, 2026 01:44
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.

2 participants