Add signed external office events - #132
Draft
iamlukethedev wants to merge 2 commits into
Draft
Conversation
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.com>
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /api/office/eventsand no-storeGET /api/office/eventsfor recent external office events.effect: "confetti".CLAW3D_OFFICE_EVENTS_SECRETand add route coverage for signatures and validation.Testing
npm run test -- --run tests/unit/officeEventsRoute.test.ts tests/unit/operationsCenterPanel.test.ts tests/unit/stateAnimationMappingsEditor.test.tsx tests/unit/studioSettings.test.ts tests/unit/officeEventTriggers.test.tsnpm run typechecknpm run smoke:dev-serverCLAW3D_OFFICE_EVENTS_SECRET=test-secret: posted a signed HubSpot-styledeal.closedevent and verifiedDeal closed: Automotive account signed.appears in Ops Center with zero captured browser console errors.external_office_event_ops.webm
External office event in Ops Center
To show artifacts inline, enable in settings.