Re-ordering prompts using drag and drop functionality.
Refactored prompt cards to improve code quality.
-
Why
For an enhanced user experience.
-
How
Implemented collapsible component using Antd's collapse component.
Implemented re-ordering of the prompts using react-dnd library.
-
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
Yes. There are chances of this PR breaking any existing features, since a lot of changes have been made in the prompt card component.
-
Database Migrations
NA
Env Config
NA
Relevant Docs
NA
Related Issues or PRs
NA
Dependencies Versions
NA
Notes on Testing
NA
Screenshots
Expanded Prompt Cards:
Collapsed Prompt Cards:
Re-Ordered Prompt Cards:
Note: test_dnd_5 moved from 3rd position to 2nd position. Check the previous screenshots to campare the order.
Checklist
I have read and understood the [Contribution Guidelines]().
What
-
Why
For an enhanced user experience.
-
How
-
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
Yes. There are chances of this PR breaking any existing features, since a lot of changes have been made in the prompt card component.
-
Database Migrations
NA
Env Config
NA
Relevant Docs
NA
Related Issues or PRs
NA
Dependencies Versions
NA
Notes on Testing
NA
Screenshots
Expanded Prompt Cards:
Collapsed Prompt Cards:
Re-Ordered Prompt Cards:
Note:
test_dnd_5
moved from 3rd position to 2nd position. Check the previous screenshots to campare the order.Checklist
I have read and understood the [Contribution Guidelines]().