Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

No description provided.

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

Connected to Huly®: UBERF-13842

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 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 <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@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