feat: add x oauth provider to console#2966
Conversation
Greptile SummaryThis PR adds X (formerly Twitter) as a new OAuth2 provider in the console by registering a new Confidence Score: 4/5Safe to merge; changes are additive and self-contained. The only external dependency is that the Appwrite backend exposes an OAuth provider with key All code changes are minimal and low-risk: a new record in a static map, four SVG icon swaps, and a one-line reactivity fix. No logic paths are removed or altered in a breaking way. Score is 4 rather than 5 because the feature's end-to-end correctness depends on the backend returning No files require special attention; cross-repo backend alignment is the only remaining concern.
|
| Filename | Overview |
|---|---|
| src/lib/stores/oauth-providers.ts | Adds new x provider entry between wordpress and yahoo with correct icon, docs URL, and Main component; alphabetical order is preserved. |
| src/routes/(console)/project-[region]-[project]/auth/settings/+page.svelte | Changes const { project } = data to $derived(data.project) so the variable stays reactive after invalidate(Dependencies.PROJECT) calls — a correct Svelte 5 runes fix. |
| static/icons/dark/color/x.svg | New X logo SVG (20×20, white fill #F7F8F8) replacing the deleted Twitter bird SVG; size matches the img element's height="20" width="20" in the page template. |
| static/icons/light/color/x.svg | New X logo SVG (20×20, dark fill #0F1419) replacing the deleted Twitter bird SVG for the light theme. |
| static/icons/dark/grayscale/x.svg | New X logo grayscale SVG (20×20) for dark theme, replacing deleted Twitter grayscale SVG. |
| static/icons/light/grayscale/x.svg | New X logo grayscale SVG (20×20) for light theme, replacing deleted Twitter grayscale SVG. |
Reviews (1): Last reviewed commit: "feat: add x oauth provider to console" | Re-trigger Greptile
What does this PR do?
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.)