From 5198786d88c0e477c1da0d13cfcf66258882ff29 Mon Sep 17 00:00:00 2001 From: dawn <90008@gaze.systems> Date: Thu, 21 May 2026 12:49:50 +0300 Subject: [PATCH] tighten oauth perms, fix width on login popup --- public/oauth-client-metadata.json | 4 ++-- src/layout.tsx | 2 +- src/pages/repo/code.tsx | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/public/oauth-client-metadata.json b/public/oauth-client-metadata.json index a328ebf..40c4e3f 100644 --- a/public/oauth-client-metadata.json +++ b/public/oauth-client-metadata.json @@ -1,9 +1,9 @@ { "client_id": "https://untangled.wisp.place/oauth-client-metadata.json", - "client_name": "Untangled", + "client_name": "untangled", "client_uri": "https://untangled.wisp.place", "redirect_uris": ["https://untangled.wisp.place/oauth/callback"], - "scope": "atproto transition:generic repo:sh.tangled.repo.issue repo:sh.tangled.repo.issue.comment repo:sh.tangled.repo.issue.state repo:sh.tangled.repo.pull repo:sh.tangled.repo.pull.comment repo:sh.tangled.repo.pull.status blob:*/*", + "scope": "atproto repo:sh.tangled.actor.profile repo:sh.tangled.repo.issue repo:sh.tangled.repo.issue.comment repo:sh.tangled.repo.issue.state repo:sh.tangled.repo.pull repo:sh.tangled.repo.pull.comment repo:sh.tangled.repo.pull.status blob:*/*", "grant_types": ["authorization_code", "refresh_token"], "response_types": ["code"], "token_endpoint_auth_method": "none", diff --git a/src/layout.tsx b/src/layout.tsx index 414b8cc..21797de 100644 --- a/src/layout.tsx +++ b/src/layout.tsx @@ -149,7 +149,7 @@ const LoginMenu: Component = () => { return (
login -
+
); +const FallbackLanguageBar: Component = () => ( +
+ +
+
+
+); + +void FallbackLanguageBar; + const RepoLanguageBar: Component<{ languages: Array<{ name: string; percentage: number; color?: string }>; }> = (props) => ( -- 2.51.2