发布

  • [OPIK-3260] [BE/FE] Enable dataset renaming functionality (#4303)

    frostbyte_neo 发布于 2025-12-04 15:11:57 +00:00

    • [OPIK-3260] [BE/FE] Enable dataset renaming functionality

    • Revision 2: Add frontend validation for duplicate dataset names

    • Revision 3: Improve validation - keep dialog open on 409 errors instead of prefetching datasets

    • Revision 4: Remove inline error display to prevent modal jumping

    • Revision 5: Remove unused nameError state, use toast for all error feedback

    • Revision 6: Update test assertions to match improved error message format

    • Revision 7: Extract duplicate error message formatting to utility method

    • Remove http-status-codes dependency from package.json and package-lock.json

    • Revision 3: Refactor error handling to use AxiosError and DRY principle

    • Revision 4: Reorder error message format for better log searchability

    • Revision 5: Show name error inline and support Enter key to submit

    • Revision 6: Skip hook toast on 409 to allow inline error display

    • Refactor error handling in dataset creation to simplify message retrieval and improve user feedback

    • Revision 7: Add red border to name input on error

    • Update error message for dataset saving and refine name input border styling on error

    • Revision 8: Fix overlay shown before name validation completes

    下载附件