Skip to content

#4645 edit competition performance hook - #4718

Open
vijayab2029 wants to merge 5 commits into
feature/executive-summary-phase2from
#4645-edit-competition-performance-hook
Open

vijayab2029 wants to merge 5 commits into
feature/executive-summary-phase2from
#4645-edit-competition-performance-hook

Conversation

@vijayab2029

@vijayab2029 vijayab2029 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Adds the frontend plumbing for editing a competition performance. This includes a URL builder, an API function, and a useEditCompetitionPerformance hook, all modeled on the existing executive summary edit pattern. The hook invalidates the executive summaries query on success so the page reflects the update right after an edit.

Notes

This is frontend only. It calls the editCompetitionPerformance backend endpoint from #4606, which is already merged to develop.

Test Cases

  • Edit with all fields populated, values persist and the summary refetches
  • Omitting a field clears it on the server, confirming the full replace behavior
  • Edit from a non-admin, non-ops user is rejected

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4645

@staysgt
staysgt force-pushed the #4645-edit-competition-performance-hook branch from 44422b1 to 9fb77cf Compare November 14, 2026 15:15

@staysgt staysgt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@staysgt
staysgt requested a review from wavehassman November 14, 2026 15:18
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a29f9c42-474d-45aa-9914-29bd3f2daec1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@staysgt
staysgt force-pushed the #4645-edit-competition-performance-hook branch from 32ea524 to 2884ba4 Compare November 21, 2026 14:33
@staysgt
staysgt requested a review from wavehassman November 25, 2026 15:07

This branch has not been deployed

No deployments
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.

3 participants