feat(schedule-actions): add action types, config, and menu#1419
Conversation
cc05155 to
7ff39fa
Compare
381a55a to
e72e21e
Compare
Add resolver, types, constants, and disabled-values config for the SCHEDULE_ACTIONS_ENABLED feature flag. Wire it into dynamicConfigs and the resolver schema registry. Co-authored-by: Cursor <cursoragent@cursor.com>
e72e21e to
baeec07
Compare
Code Review
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
bba54e7 to
e044172
Compare
Introduce schedule-actions types (including optional modal banner config), pause/resume action config, disabled-reason helpers, and popover menu. Disable menu actions while schedule data is loading. Modal rendering and page wiring follow in stacked PRs. Co-authored-by: Cursor <cursoragent@cursor.com>
e044172 to
259e2e7
Compare
Code Review ✅ Approved 2 resolved / 2 findingsIntroduces the base infrastructure for schedule actions including types, configuration, and a popover menu. The previously identified issues where actions remained enabled during load states have been resolved. ✅ 2 resolved✅ Edge Case: Both actions appear enabled while schedule is still loading
✅ Bug: Config-disabled action appears enabled while schedule loads
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Code Review ✅ Approved 2 resolved / 2 findingsIntroduces the base infrastructure for schedule actions including types, configuration, and a popover menu. The previously identified issues where actions remained enabled during load states have been resolved. ✅ 2 resolved✅ Edge Case: Both actions appear enabled while schedule is still loading
✅ Bug: Config-disabled action appears enabled while schedule loads
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Summary
First PR in a stacked series that adds the schedule-actions UI (mirroring
workflow-actions). Introduces the generic action contract, pause/resume config (including the pause warning banner config), disabled-reason helpers, and the popover menu.Stack (merge in order):
feat/schedule-actions-pause-resume-uifeat/schedule-actions-modalfeat/schedule-actions-mountNothing is mounted on the schedule page until PR3. Banner config is defined here; modal rendering lands in PR2.
Changes
schedule-actions.types.ts— genericScheduleActioncontract, optionalmodal.bannerconfig/— pause/resume config, banner message/constants, non-runnable status/reason mapsschedule-actions-menu/— popover menu; actions disabled while schedule is loading__fixtures__/schedule-actions-config.tsx— test fixturesTesting
npm run typechecknpm run test:unit:browser schedule-actions-menu get-action-disabled-reason