Skip to content

fix(frontend): ignored props, doubled page titles, typos - #912

Merged
KelvinTegelaar merged 1 commit into
CyberDrain:devfrom
kris6673:fix/frontend-ui-slips
Oct 15, 2026
Merged

KelvinTegelaar merged 1 commit into
CyberDrain:devfrom
kris6673:fix/frontend-ui-slips

Conversation

@kris6673

Copy link
Copy Markdown
Contributor

Summary

Small frontend fixes found in a bug sweep. Each is a prop the receiving component never reads, a doubled title prefix, or a typo.

  • Props that were silently ignored
    • relatedquerykeys on custom tests (all lowercase)
    • filterlist on business voice: the component has no such prop, so the preset never rendered
    • queryKey and a top-level onSuccess passed to CippApiDialog, which reads neither
    • validation on the alert command field
    • Effect: lists didn't refresh, the filter preset never appeared, and the required-field message never showed.
  • Page titles: CippFormPage renders {formPageType} - {title} and defaults to Add. This gave headings like "Add - Add Team", "Add - Edit Group Template" and "Edit - Edit Retention Tag: x".
  • Add shared mailbox page: it was still the Add Contact page under the hood (component name, contact field defaults, lowercase label).
  • Cleanup: a typo, a leftover debug console.log, and no-op props.

Testing

  • eslint on all changed files: no new errors. The 2 rules-of-hooks errors in CippFormCondition.jsx already exist on dev.
  • CippFormCondition.test.jsx: 15/15 passing.

- custom tests: relatedquerykeys -> relatedQueryKeys so deleting a test refreshes ListAvailableTests
- business voice: filterlist -> filters so the "Unassigned User Numbers" preset shows up
- tenant groups / backup schedule dialogs: pass relatedQueryKeys and onSuccess where CippApiDialog reads them
- alert config: required message moved from the ignored `validation` prop to `validators`
- mailbox locale action: drop stray ProhibitSendQuota copied from the quota action
- drop no-op dynamicColumns / tableProps.keyField props
- CippFormPage titles: fix "Add - Add ...", "Add - Edit ..." and "Edit - Edit ..." headings
- add shared mailbox: rename leftover AddContact component, correct defaults, "Username" label
- typo "chnages", remove debug console.log in CippFormCondition
@kris6673
kris6673 marked this pull request as ready for review October 14, 2026 11:02
@KelvinTegelaar
KelvinTegelaar merged commit a18b17c into CyberDrain:dev Oct 15, 2026
16 checks passed
@kris6673
kris6673 deleted the fix/frontend-ui-slips branch October 16, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants