Closed (fixed)
Project:
Canvas Translate Extension
Version:
1.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2026 at 03:43 UTC
Updated:
21 Oct 2026 at 07:45 UTC
Jump to comment: Most recent

Comments
Comment #4
kieran.cottThe Content language settings link was blocked because Canvas page-extension iframes cannot open new tabs. The link now navigates within the extension frame. I've also included an end-to-end regression test, updated the specification and rebuilt the frontend assets.
Comment #5
lauriiiI think we should add
allow-popupsto the iframe in Canvas because I don't think we should navigate within the extension frame. We could manage this temporarily by explaining how they can navigate there without providing a link.Comment #7
pameeela commentedMakes sense, created a new MR that removes the link for now.
Comment #8
kieran.cottSounds good, I'll close MR 10 in lieu of @pameeela's fix above.
Looks like the message already does - I've checked out
3621911-remove-linklocally and LGTM.+1 RTBC
Comment #9
gábor hojtsyIs the settings URL access checked anyway? I think if its not, then its also better this way that its not linked. Canvas itself does a half-done access check for the configure languages link as well as it keeps the separator in the dropdown even if the link is not there. See https://git.drupalcode.org/project/canvas/-/work_items/3591793
Comment #10
f0ns commentedReviewed MR !11. The source change looks right, two things I noticed:
extension/dist/index.global.jswasn't rebuilt, so the shipped bundle still renders the oldtarget="_blank"link. Thebuild-assetsCI job fails on this MR for the same reason (job). Needsnpm run buildinextension/and the dist committed.Is there a Canvas issue for adding
allow-popupsto the page extension iframe? Would be good to link it here so the link can come back.Comment #11
f0ns commentedComment #12
f0ns commentedCanvas issue for
allow-popups(together withallow-forms): #3591911, MR !1714. Once that is in, the link can come back.Comment #14
lauriiiThank you for the MR! I changed from displaying the page label to displaying the URL path which makes is a bit easier if you don't know what you're looking for. Ideally we can fix the upstream issue which will allow us to make the experience here better.