feat(frontend): 增强Synthesis Data Detail页面UX体验 #163
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and fixes to both the Helm chart deployment and frontend UI for the Synthesis Task feature. The main changes include correcting Helm template logic, updating service and persistence configuration, and significantly enhancing the Synthesis Data Detail page with better UX for deletion, navigation, and visual clarity.
Helm Chart Improvements
nameOverrideand chart name references in Helm helper templates to ensure correct naming precedence and compatibility with Helm best practices. (deployment/helm/label-studio/templates/_helpers.tpl) [1] [2] [3]fullnameOverride, changed service type toNodePortwith a fixed port, and updated the PostgreSQL host and dataset PVC claim name for more predictable deployments. (deployment/helm/label-studio/values.yaml) [1] [2] [3] [4]Frontend Synthesis Task Improvements
CreateTask.tsxso that the description field is only sent if it contains real content, avoiding unnecessary empty strings. (frontend/src/pages/SynthesisTask/CreateTask.tsx) [1] [2]Synthesis Data Detail Page UX Enhancements
frontend/src/pages/SynthesisTask/SynthDataDetail.tsx) [1] [2] [3]frontend/src/pages/SynthesisTask/SynthDataDetail.tsx) [1] [2] [3]