Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

@ArtyomSavchenko ArtyomSavchenko commented Oct 17, 2025

Before:
Screenshot 2025-10-17 at 10 43 27
After:
Screenshot 2025-10-17 at 10 52 14

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13952

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

This PR redesigns the navigation header for cards by replacing the previous NewCardHeader component with a new CardHeaderButton action component and introducing a new Application interface property to render header actions. Key changes streamline header actions and remove now-obsolete header creation logic.

  • Added navHeaderActions property to Application for injecting an actions component.
  • Replaced NewCardHeader with CardHeaderButton and removed the old component.
  • Added CreateSpace and CardHeaderButton resources and updated model to use new create props and header actions.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
plugins/workbench/src/types.ts Adds navHeaderActions property to Application interface to support header action component.
plugins/workbench-resources/src/components/Workbench.svelte Renders navHeaderActions component inside NavHeader slot.
plugins/card-resources/src/plugin.ts Registers new components CreateSpace and CardHeaderButton; removes NewCardHeader.
plugins/card-resources/src/index.ts Exposes new components and removes obsolete NewCardHeader export.
plugins/card-resources/src/components/navigator/NewCardHeader.svelte Removes legacy header component no longer used.
plugins/card-resources/src/components/navigator/CardHeaderButton.svelte Introduces new compact header actions button with popup menu.
models/card/src/index.ts Updates model: adds createComponent/createLabel props and switches to navHeaderActions for header actions.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@haiodo haiodo merged commit 35237b1 into develop Oct 17, 2025
25 of 26 checks passed
@haiodo haiodo deleted the remove-create-space branch October 17, 2025 05: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.

4 participants