gsxdsm
944c03d495
FN-5797: fix usage indicator show hidden button behavior
Prevent hidden-window controls in UsageIndicator from acting as implicit form submitters.
- Set both window-level Hide and provider-level Show hidden buttons to `type="button"`.
- Preserve hidden-window reveal behavior without submitting parent forms.
- Add a regression test covering hide/show persistence and rerender re-sync behavior.
Files changed:
.changeset/fn-5797-show-hidden-fix.md | 8 +++++
packages/dashboard/app/components/UsageIndicator.tsx | 2 ++
packages/dashboard/app/components/__tests__/UsageIndicator.test.tsx | 40 ++++++++++++++++++++++
3 files changed, 50 insertions(+)
Fusion-Task-Id: FN-5797
Fusion-Task-Lineage: 9072bb68-b86b-4ec7-8b1f-0e6b706cbb5f