posit-dev / publisher

MIT License
3 stars 0 forks source link

Support opening deployed content within embedded window #1817

Open sagerb opened 3 weeks ago

sagerb commented 3 weeks ago

Will need to support a preference for the target (external, internal to the right, internal main window, etc).

May also need to handle some windows still going to external, due to header restrictions. (Like Github pages - do not allow them to be viewed within an iframe.)

Will also need to reference Connect header settings if they use the internal targets, to avoid:

Refused to display 'https://colorado.posit.co/' in a frame because it set 'X-Frame-Options' to 'deny'.

Connect documentation for header settings: https://docs.posit.co/connect/admin/security/index.html#content-embedding

PR before putting this issue back into triage: https://github.com/posit-dev/publisher/pull/1814