[MISC] Enhance Save UX in prompt studio settings components#1761
Merged
chandrasekharan-zipstack merged 1 commit intofeature/remove-success-alertsfrom Jan 28, 2026
Merged
Conversation
Fix useEffect dependency bug that was resetting isSaved state immediately after save, preventing "Saved" text from displaying on Save button. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
vishnuszipstack
approved these changes
Jan 28, 2026
athul-rs
approved these changes
Jan 28, 2026
cf943bc
into
feature/remove-success-alerts
5 checks passed
chandrasekharan-zipstack
added a commit
that referenced
this pull request
Jan 28, 2026
* [FEAT] Remove success alerts from deployments and pipelines Remove success alerts from API deployments, pipelines, and file history operations to reduce notification clutter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * [FEAT] Remove success alerts from custom tools and settings components Remove non-critical success alerts from 11 frontend components: - Document parser, users, list of tools, file history modal - Default triad, LLM profiles, pre/post amble modal - Custom data/synonyms, tool settings, configure data source Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Added alert for Test Connection * [MISC] Enhance Save UX in prompt studio settings components (#1761) [FIX] Fix Save→Saved button text not showing in settings components Fix useEffect dependency bug that was resetting isSaved state immediately after save, preventing "Saved" text from displaying on Save button. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> * [FIX] Add Save button UX to CustomSynonyms and PreAndPostAmbleModal - Add hasChanges/isSaved state to track modifications - Reset state on tool_id change to prevent stale button state - Disable Save button until changes are made - Show "Saved" feedback after successful save Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



What
details?.tool_idWhy
details?.enable_challenge, details?.challenge_llm(and similar field values)isSavedtofalse, preventing "Saved" text from ever displayingHow
details?.tool_idso it only resets on tab/tool switchCan 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)
Related Issues or PRs
Notes on Testing
Screenshots
Checklist
I have read and understood the Contribution Guidelines.
🤖 Generated with Claude Code