Skip to content

Add Recent Activations widget to Team Create - #422

Merged
OSPFNeighbour merged 1 commit into
master-devfrom
feature/myavailability-team-create-widget
Aug 25, 2026
Merged

Add Recent Activations widget to Team Create#422
OSPFNeighbour merged 1 commit into
master-devfrom
feature/myavailability-team-create-widget

Conversation

@OSPFNeighbour

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a "Recent myAvailability Activation Requests" fieldset to the Beacon Team Create page: expand a recent activation for the assigned-to unit and click a name from its responses to add them straight to the team.
  • On train/dev (where the myAvailability Lambdas have no data), the fieldset still renders but shows a disabled Refresh button and a placeholder message noting it's production-Beacon-only, instead of being hidden entirely.
  • Standardises "responses" over "responders" in myAvailability UI text in jobs/view.js and teams/create.js.

Test plan

  • On production Beacon Team Create, set an Assigned To HQ, click Refresh, expand an activation, and confirm accepted/available/conditional responses list and add-to-team works.
  • On train/dev Team Create, confirm the fieldset renders with a disabled Refresh button and the prod-only placeholder message (no requests sent).
  • Confirm ?lhmembers= / ?lhentityid= prefill still works unaffected.

🤖 Generated with Claude Code

@OSPFNeighbour
OSPFNeighbour changed the base branch from master to master-dev August 25, 2026 01:23
Previously the fieldset was hidden entirely outside production Beacon
since the myAvailability Lambdas have no train/dev data. Now it always
renders so the feature is discoverable, but shows a disabled Refresh
button and an explanatory message on train/dev instead of fetching.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@OSPFNeighbour
OSPFNeighbour force-pushed the feature/myavailability-team-create-widget branch from bab5a74 to 2ca9483 Compare August 25, 2026 01:24
@OSPFNeighbour
OSPFNeighbour merged commit ff66af9 into master-dev Aug 25, 2026
@OSPFNeighbour
OSPFNeighbour deleted the feature/myavailability-team-create-widget branch August 25, 2026 01:28
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.

1 participant