This repository was archived by the owner on Mar 5, 2026. It is now read-only.
fix: update trigger type from 'api' to 'http' in HandlersPage and Sidebar components#15
Merged
andersonleal merged 1 commit intomainfrom Feb 16, 2026
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughTwo layout and routing adjustments in the console frontend: the Sidebar navigation is reordered with Functions moved before States and header padding adjusted for responsiveness; the Handlers page now references HTTP triggers instead of API triggers throughout its logic paths and UI rendering. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
Comment |
8 tasks
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
fix: update trigger type from 'api' to 'http' in HandlersPage and Sidebar components
Summary
Aligns the iii-console frontend with the iii engine's trigger type naming. The engine uses
http(notapi) for HTTP-triggered functions. This PR updates all references fromtrigger_type === 'api'totrigger_type === 'http'in the Handlers page and adjusts the Sidebar layout.Type of Change
Changes
handlers.tsx
getApiPath()to check fortrigger_type === 'http'instead of'api'invokeFunction()HTTP trigger branchhandleSelectFunction()path params extraction for HTTP triggersgetFunctionIcon()switch caseSidebar.tsx
p-5→px-5 py-2 md:py-3for more compact mobile layoutChecklist
Additional Context
The iii engine protocol uses
httpas the trigger type for REST API endpoints. The console was still checking forapi, which caused HTTP-triggered functions to not display their API paths, invoke buttons, or endpoint details correctly. This fix ensures full compatibility with the engine's trigger type schema.Summary by CodeRabbit
Style
UI Changes