-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview does not show changes in article, unless the changes were saved before #36901
Comments
I think it's better to save the article before clicking preview button. |
Yes, this is what I see. But what is the purpose of the preview when I
need to save first?
For me "preview" means I can verify the changes *before* saving, so that
the public would not see it yet. This is how preview works on (most)
forums.
If a "save" is required for "preview" to work, "preview" is useless.
Am 31.01.2022 um 15:04 schrieb niharikamahajan02:
…
We need to click on the save button first ,after that by clicking
preview button changes are visible.
—
Reply to this email directly, view it on GitHub
<#36901 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASCXSIKJMHG43YEGY7B5HQTUY2JGPANCNFSM5NGI2BCA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@phunsoft You can save the article with unpublished state so people visiting cannot see it, but in the preview you can. I would not call this useless. |
@richard67 you can only do that if you are also logged in at the front end with permissions set to view unpublished articles |
@brianteeman I see ... not very comfortable, it seems. So this is a valid issue? But technically I have problems to imagine how we could show a preview without the article having been saved. |
Its a valid issue for me. Have the same problem obviously with the accessibility checker. @roland-d did try to resolve this before but it didnt complete |
yes that was a point I was also thinking about. |
Is having a save as copy button going to help? |
Well, that I can't imagine how it can be done doesn't mean it can't be done. Save as copy won't help here. |
Ohkk . If it is a valid issue , I would think of a way to solve it then . |
Well, if I unpublish the article, it becomes invisible to the public. I don't want to unpublish a published article, be it only temporaily. The odds will be a user needs this very information just at this point in time. If it is not possible to implement a real preview with reasonable effort, then the preview button should be removed. Still better than what we have now. IMHO. |
Even more clumsy. I'd need to publish in some category only the editor has access to, look at the article, and if ok, change the category, unpublish the old article, then rename the new one, and finally modify menu entries. |
I understand very well what the OP says, and it's right. Do you ever used the preview tab here in Github? This is what a "preview" has to do. I need a preview BEFORE saving. But in Joomla we can use versioning to obtain this, but semantically and from UX side the "preview" in Joomla is simply wrong. |
No you cant |
Not really comparable |
@brianteeman, I think you didn't understand. It is objective that the Joomla preview is a "fake preview" compared to any other system that includes some preview logic (and the Github example is striking, I see what will be rendered without saving anything). I said that it can be done with versioning, on the user side: it's a fact that users uses the preview as a tool to "evaluate" whether what will be edited (not saved), will be correct or not. I was just providing a workaround for the end user, defending a conceptual error of the Joomla preview. |
it's totally viable:
That should enable previews for non saved forms caveats: The link IS NOT shareable as it's a POST and the data is passed as JSON... BTW if the controller function is in place the versioning could also be done as rendered diffs instead of the funky form diff... |
Am 01.02.2022 um 22:40 schrieb Dimitris Grammatikogiannis:
caveats: The link IS NOT shareable as it's a POST and the data
is passed as JSON...
The current preview opens a "popup" in the current window, and is *not*
showing an address field. So the (temporary) link is not seen, and
cannot be copied.
|
Steps to reproduce the issue
Expected result
The preview should show the changed article, despite the fact the changes haeve not been saved yet.
Actual result
The preview shows the last saved state of the article
System information (as much as possible)
Joomla 4.0.6
Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP
Template: Cassiopeia
Additional comments
The text was updated successfully, but these errors were encountered: