Problem/Motivation
It turns out #3320802: Add responsive preview functionality was incomplete.
Updated description:
Per #6,
Direct GET requests like you get when you right-click-and-open-in-new-TAB the "preview link", can never work.
This didn't clarify that it was only about 'regular node preview', not 'node layout preview'.
Proposed resolution:
This implies that we should just not have a "preview link" on the 'regular node preview', only on the 'node layout preview'. So, remove it.
Older description:
The 'preview link' which this module adds to the responsive-preview dropdown in the edit screen, does not work properly.
Steps to reproduce
Click said link. (Or rather: select link and "Open in new tab" -- direct clicking doesn't always show the failure.)
Remaining tasks
Review (once MR is added)
Issue fork lupus_decoupled-3408519
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
roderikThe only build failure is a single error in PHPUnit that will be fixed through #3395669: Make the gitlab-ci pipeline pass.
Comment #4
roderikComment #5
roderikComment #6
roderikUse is disputed / I didn't test correctly.
(This /node/preview/UUID link that the MR adds, is only useful when the temporary node state is first stored. Therefore
Comment #7
fagoI see, thanks for clarifying.
Comment #8
roderikReopening, because we should fix regular node preview, per "updated description".
Comment #9
roderikPipeline only failing for the one PHPUnit error that is fixed in #3409409: Respect installations with base paths.
Comment #11
fagoreviewed + tested, all good now! Thank you.