Skip to content
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

[RFC][4.0] Full Screen Content edit #27802

Closed
wants to merge 1 commit into from

Conversation

brianteeman
Copy link
Contributor

This is a POC and request for feedback

Introduction

Front end editing is a second class experience in joomla. Depending on your template the available area to edit your content can be very narrow. It is also distracting to have the rest of the site visible when trying to edit the content.

This incredibly simple pull request makes the edit form open full screen with nothing else to distract you.

When you save or cancel the edit you are correctly returned to the previous page.

It's so simple that I am wondering if I missed something obvious

Demo video before this PR

after

Demo video with this PR

after

@brianteeman
Copy link
Contributor Author

@uglyeoin You were asking for something like this before I think

@uglyeoin
Copy link
Contributor

uglyeoin commented Feb 4, 2020

@brianteeman thanks for remembering me. I was more concerned about modules possibly appearing above the editing window making it confusing. I wonder if this solved both problems. Happy to test when Inger a few moments.

@brianteeman
Copy link
Contributor Author

@uglyeoin as it is right now it wont but the same concept can easily be applied there

@brianteeman
Copy link
Contributor Author

@uglyeoin you can now test this for modules as well. - looks ugly but this is still just a draft for review

@uglyeoin
Copy link
Contributor

uglyeoin commented Feb 4, 2020

Sure, happy to test. Thanks for the contribution there is much we can improve.

@200MPHMEDIA
Copy link

"It's so simple that I am wondering if I missed something obvious."

Brian: You are catching along of these things - rightly so. This is/would be an excellent improvement for F/E content editing. Goes right along with my "thing" about Articles being at the bottom of the list - the most used content item type for menu link items, requires a scroll action to get to it vs. having it on top by just naming it with an "A ..." before the name.

You have a sharp eye for this stuff and hope that others will also align with your observations and make the changes you offer.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27802.

@Quy Quy changed the title [4.0] Full Screen Content edit [rfc] [RFC][4.0] Full Screen Content edit Feb 10, 2020
@joomla-cms-bot joomla-cms-bot added the RFC Request for Comment label Feb 10, 2020
@Quy
Copy link
Contributor

Quy commented Feb 10, 2020

It will fix this issue #26944

@brianteeman
Copy link
Contributor Author

@Quy only as a side effect and not as intended behaviour

@brianteeman
Copy link
Contributor Author

@uglyeoin I thought you might have found the time to check this out by now - please

@uglyeoin
Copy link
Contributor

@brianteeman I can't get patchtester to install, I assume it's possible just to overwrite the files?

@uglyeoin
Copy link
Contributor

Ok I tried overwriting the files but my version of J4 doesn't have them in that location. If you can assist me I will try to test this. Looks like a very simple change so it shouldn't be hard to get it tested.

@brianteeman
Copy link
Contributor Author

brianteeman commented Feb 15, 2020

thats a limitation of using patchtester instead of git when files get moved. The file that has moved is now at administrator\components\com_content\src\Service\HTML\Icon.php

@uglyeoin
Copy link
Contributor

But that directory doesn't exist for me when I use the latest nightly build. Patch tester doesn't install. I tried doing it manually.

@brianteeman
Copy link
Contributor Author

then you cannot be using the latest nightly build (or the build is broken) because all the files moves were made 2 days ago
https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_content/src/Service/HTML/Icon.php

@brianteeman
Copy link
Contributor Author

I have updated this PR to use the moved files for you

@uglyeoin
Copy link
Contributor

Ok thanks, I'll just download this Zip and try that

@uglyeoin
Copy link
Contributor

I got it here so maybe worth checking if I'm getting it from the right place or if there's a problem https://developer.joomla.org/nightly-builds.html

@uglyeoin
Copy link
Contributor

@brianteeman sorry to be a pain, I'm really not sure what I'm doing here. Can I just click on "code" and download that Zip or is there something else I need to do?

@brianteeman
Copy link
Contributor Author

since i updated the pr then patchtester will work - I just confirmed it on my install

@uglyeoin
Copy link
Contributor

Oh I see. I can't install patch tester though. Hence me looking for the files manually.

JInstaller: :Install: Can't find Joomla XML setup file.

@brianteeman
Copy link
Contributor Author

that I have no idea about.
there are just two files to edit with one line in each so in this case you can do it manually
https://github.com/joomla/joomla-cms/pull/27802/files

It looks terrible - its just to see if the concept is ok before spending time on the styling

@uglyeoin
Copy link
Contributor

I have tested this item ✅ successfully on 954ccd2

I have tested front end editing for modules and for articles. Both show as full screen. As Brian has alluded this is sometimes a little too wide, but the point of this test if that it works. It also solves issue that I previously brought up as it removes all modules. If I can find that issue I will also close it. Good work Brian, I think this is an improvement and my modal version would have been non-accessible.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27802.

@brianteeman
Copy link
Contributor Author

Thanks for testing it. I will do some more work on it tomorrow so that it doesn't look so ugly and will work with any template.

@joomla joomla deleted a comment from uglyeoin Feb 15, 2020
@astridx
Copy link
Contributor

astridx commented Mar 16, 2020

@brianteeman
Should we test this?

@brianteeman
Copy link
Contributor Author

This is a POC and request for feedback

@brianteeman
Copy link
Contributor Author

Closed due to lack of interest

@brianteeman brianteeman closed this Apr 4, 2020
@brianteeman brianteeman deleted the tuesday branch April 4, 2020 16:32
@uglyeoin
Copy link
Contributor

uglyeoin commented Apr 4, 2020

That's a shame I thought it was a valid improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants