fix(gateway): align frontend schema, hide incomplete UI, add TODO shame list - #481
Merged
Conversation
…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.
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.
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 staleaccess_policywith the real admission fields (direct_policy,room_policy,room_sender_policy,mention_required,pairing_ttl_minutes).frontend/src/pages/GatewaysPage.tsx: usedirect_policy, add TODOs, fallback for unimplemented providers.frontend/src/App.tsx/frontend/src/components/app-sidebar.tsx: comment out the/gatewaysroute and sidebar item.huf/huf/doctype/flow_run/flow_run.json: removeGatewayfromtrigger_typeoptions.huf/ai/gateway_service.py: add TODO where the Gateway trigger is used.docs/gateway-todo.mdshame list / restoration checklist.AGENTS.md: links to the gateway TODO list.Refs #473, #441, #442, #443, #446, #447, #448, #449.