From ca6cc3c2b26e261281bf4ca2c7025dd303f0946c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Mon, 23 Nov 2026 20:56:40 +0100 Subject: [PATCH] :bug: Open the review from the review-id link of review emails The review-request email links to the workspace with review-id since the rename, while the router read only pr-id, so the link opened the branch without its review. The router now reads either. AI-assisted-by: claude-opus-5-5 --- frontend/src/app/main/ui.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui.cljs b/frontend/src/app/main/ui.cljs index 7e0e98c168..456feff7f3 100644 --- a/frontend/src/app/main/ui.cljs +++ b/frontend/src/app/main/ui.cljs @@ -196,7 +196,9 @@ team-id (some-> params :team-id uuid/parse*) file-id (some-> params :file-id uuid/parse*) page-id (some-> params :page-id uuid/parse*) - pr-id (some-> params :pr-id uuid/parse*) + ;; review-request emails link with review-id; the app's own + ;; navigation still writes pr-id + pr-id (some-> (or (:review-id params) (:pr-id params)) uuid/parse*) task-id (some-> params :task-id uuid/parse*) layout (some-> params :layout keyword)] [:> team-container* {:team-id team-id} @@ -212,7 +214,7 @@ (let [params (get params :query) index (some-> (rt/get-query-param params :index) parse-long) share-id (some-> (:share-id params) uuid/parse*) - pr-id (some-> (:pr-id params) uuid/parse*) + pr-id (some-> (or (:review-id params) (:pr-id params)) uuid/parse*) section (or (some-> (:section params) keyword) :interactions)