Skip to content

feat(ui): show field errors in field tooltips #7782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 14, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

Fields with errors now display the specific field errors in the field tooltip:
image

To enable this without slowing things down, I wrote a hook that replicates useSelector but debounces calling the selector.

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Mar 14, 2025
Hook that replicates `useSelector`, but debounces calling the selector.
Prevent an error when a node is deleted and the hook is being called
@psychedelicious psychedelicious force-pushed the psyche/feat/ui/field-error-tooltips branch from c91b6df to 80d41b0 Compare March 14, 2025 09:50
@psychedelicious psychedelicious enabled auto-merge (rebase) March 14, 2025 09:53
@psychedelicious psychedelicious merged commit 87ea201 into main Mar 14, 2025
15 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/ui/field-error-tooltips branch March 14, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants