Skip to content

Support card drafts#10004

Merged
haiodo merged 4 commits intodevelopfrom
card-draft
Oct 2, 2025
Merged

Support card drafts#10004
haiodo merged 4 commits intodevelopfrom
card-draft

Conversation

@ArtyomSavchenko
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Artem Savchenko <[email protected]>
Signed-off-by: Artem Savchenko <[email protected]>
@huly-github-staging
Copy link
Copy Markdown

Connected to Huly®: UBERF-13842

Copy link
Copy Markdown
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 adds draft support for card creation forms, allowing users to save and restore their progress when creating new cards. The implementation uses a DraftController to persist form state locally.

  • Adds a new draft.ts module with card draft interface and utilities
  • Updates NewCardForm.svelte to integrate draft functionality for automatic save/restore

Reviewed Changes

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

File Description
plugins/card-resources/src/draft.ts Defines CardDraft interface and utilities for generating location-specific draft keys
plugins/card-resources/src/components/NewCardForm.svelte Integrates draft controller to save/restore form state automatically

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

ArtyomSavchenko and others added 2 commits October 2, 2025 18:14
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Artyom Savchenko <[email protected]>
Signed-off-by: Artem Savchenko <[email protected]>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review October 2, 2025 14:25
@haiodo haiodo merged commit 0f7a111 into develop Oct 2, 2025
15 checks passed
@haiodo haiodo deleted the card-draft branch October 2, 2025 15:31
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.

3 participants