Add build trigger filters#3058
Conversation
Greptile SummaryThis PR adds build trigger filter UI (branch and path patterns) for both Functions and Sites settings pages, and migrates all project-listing and project-creation API calls from the legacy
Confidence Score: 4/5Safe to merge for most users, but the auth/preview project lookup can silently fail for accounts belonging to more than ~25 organizations. The auth/preview page now searches for a project by fanning out one API request per organization sourced from the root layout's organization list. That list is fetched without an explicit limit, so it caps at the API default. For users in more organizations than that cap, the target project's organization won't be included, project resolves to undefined, and the user is silently redirected to an access-denied page instead of being authorized — a regression from the previous single direct lookup by project ID. src/routes/(public)/auth/preview/+page.svelte — the fan-out project search is bounded by the paginated organization list from the root layout. Important Files Changed
Reviews (3): Last reviewed commit: "fix: parallelize org project lookups in ..." | Re-trigger Greptile |
Bumps @appwrite.io/console SDK to 35c3dea which introduces the Organization class. All projects.list/create/update calls are now routed through sdk.forConsole.organization(orgId) so requests carry the X-Appwrite-Organization header required by the new API contract.
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)