Skip to content

fix(gateway): align frontend schema, hide incomplete UI, add TODO shame list - #481

Merged
esafwan merged 1 commit into
developfrom
fix/gateway-ui-followup
Jul 26, 2026
Merged

fix(gateway): align frontend schema, hide incomplete UI, add TODO shame list#481
esafwan merged 1 commit into
developfrom
fix/gateway-ui-followup

Conversation

@esafwan

@esafwan esafwan commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Fixes the "Could not load gateways" error on the Gateways page and hides the incomplete feature from the UI and execution path until adapters are ready.

Changes:

  • frontend/src/services/gatewayApi.ts: replace stale access_policy with the real admission fields (direct_policy, room_policy, room_sender_policy, mention_required, pairing_ttl_minutes).
  • frontend/src/pages/GatewaysPage.tsx: use direct_policy, add TODOs, fallback for unimplemented providers.
  • frontend/src/App.tsx / frontend/src/components/app-sidebar.tsx: comment out the /gateways route and sidebar item.
  • huf/huf/doctype/flow_run/flow_run.json: remove Gateway from trigger_type options.
  • huf/ai/gateway_service.py: add TODO where the Gateway trigger is used.
  • New docs/gateway-todo.md shame list / restoration checklist.
  • AGENTS.md: links to the gateway TODO list.

Refs #473, #441, #442, #443, #446, #447, #448, #449.

…me list

- gatewayApi.ts: replace stale access_policy with direct_policy/room_policy/
  room_sender_policy/mention_required/pairing_ttl_minutes; expand provider type.
- GatewaysPage.tsx: use direct_policy; add TODO comments; fallback icons/names
  for providers without adapter UIs.
- App.tsx / app-sidebar.tsx: comment out /gateways route and sidebar item while
  the feature is incomplete.
- flow_run.json: remove Gateway from trigger_type options.
- gateway_service.py: add TODO where Gateway trigger_type is used.
- docs/gateway-todo.md: new shame list / restoration checklist.
- AGENTS.md: link to docs/gateway-todo.md.

Refs #473, #441, #442, #443, #446, #447, #448, #449.
@esafwan
esafwan merged commit fb54fe4 into develop Jul 26, 2026
4 checks passed
@esafwan
esafwan deleted the fix/gateway-ui-followup branch July 26, 2026 22:31
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