Skip to content

Conversation

@PotatoZhou
Copy link
Contributor

📝 Pull Request Template

1. Related Issue

Closes #527

2. Type of Change (select one)

Type of Change: New Feature

3. Description

Add Delete Button for Strategy Prompts

4. Testing

  • I have tested this locally.
  • I have updated or added relevant tests.

5. Checklist

@vcfgv
Copy link
Collaborator

vcfgv commented Dec 6, 2025

Thank you for the contribution!

Could you please attach a screenshot or a brief demo showing what the frontend looks like with the new Delete button? It would be helpful to visualize the changes.

@PotatoZhou
Copy link
Contributor Author

sure will do :)

@PotatoZhou
Copy link
Contributor Author

Screen Shot 2025-12-06 at 16 03 33 Screen Shot 2025-12-06 at 16 01 33

As shown in the figure, The delete button will appear on hover, and a confirmation dialog will pop up when clicked. The prompt will only be deleted once the user clicks the 'Confirm Delete' button.

@vcfgv
Copy link
Collaborator

vcfgv commented Dec 6, 2025

Thanks for the feedback! Please confirm whether these two icons are properly aligned.

image

@PotatoZhou
Copy link
Contributor Author

Screen Shot 2025-12-07 at 00 42 12

The delete icon and select icon are now properly aligned as shown in the figure, as they now have matching container sizes

@vcfgv
Copy link
Collaborator

vcfgv commented Dec 7, 2025

@DigHuang Do you have any comments?

@DigHuang
Copy link
Contributor

DigHuang commented Dec 8, 2025

no problem

DigHuang
DigHuang previously approved these changes Dec 8, 2025
Copy link
Contributor

@DigHuang DigHuang left a comment

Choose a reason for hiding this comment

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

LGTM

@DigHuang DigHuang merged commit 3d02f18 into ValueCell-ai:main Dec 8, 2025
6 checks passed
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.

Add Delete Button for Strategy Prompts

3 participants