-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[5.3] [GSoC 21] Core Enhancement 2 - Incorporation of Modules in Articles-Edit-View #34764
base: 5.3-dev
Are you sure you want to change the base?
Conversation
…yas/gsoc21_core-enhancements into feature-article-module
Co-authored-by: Richard Fath <[email protected]>
…yas/gsoc21_core-enhancements into feature-article-module
I have tested this item 🔴 unsuccessfully on dcad97f
I can create a new module but it is not inserted in the edit form - so this feature seems pointless. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34764. |
This pull request has been automatically rebased to 5.1-dev. |
This pull request has been automatically rebased to 5.2-dev. |
I have tested this item 🔴 unsuccessfully on dcad97f An error has occurred. Function Location1 () JROOT/libraries/src/WebAsset/WebAssetRegistry.php:135 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34764. |
@bascherz NPM is the Node Package Manager which we use to maintain our javascript dependencies and to generate the js and css from the sources. If you haven't used it and haven't used a prebuild package for testing this PR, then your test is not valid as it is not sufficient just to apply the changes e.g. with the patchtester. Please change back your test result to "Not tested". |
@richard67 I do not know how to do that. I don't see a way to edit a previous post. Should I just repost? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34764. |
I have not tested this item. An error has occurred. Function Location1 () JROOT/libraries/src/WebAsset/WebAssetRegistry.php:135 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34764. |
This pull request has been automatically rebased to 5.3-dev. |
Project Repo PR: joomla-projects/gsoc21_core-enhancements#8
Plan Document: https://docs.google.com/document/d/1Pl8JGa2hkYkmJzQOn9_mS8a4imDmqc2a/edit#heading=h.xzcjfqetxfhr
Summary of Changes
Users can add Modules in Articles in Joomla. This is done with the help of the Module xtd-editor Plugin. However, this Plugin opens a Modal that only allows the user to select a pre-existing module, ie. there is no option to add a new module directly in the Article Edit View.
To enhance that, this PR introduces a button to Create Modules directly in the Article Edit View:
Imported Modules Tab
Note: To test this feature, you must enable "Show Imported Modules" in the com_content Global Configuration OR in the Configure Edit Screen Tab. Also, remember that the tab is only visible when you Import a Module and Save it.
Users have no option to ascertain information about the Modules imported in an article (they can only see the module id)
Additionally, these modules cannot be directly edited in the Article Edit View.
There is no user-friendly way to removing these modules. It requires a person to backspace the
{loadmoduleid id}
string from the article text which may not seem very intuitive to someone that is not tech-savvy. So to make this process more smooth, the users can now remove the tab with the click of a button in this tabTesting Instructions
npm ci
to rebuild the assetsDocumentation Changes Required
I'm not sure
Mentors
@chmst @nibra @bembelimen
(and thanks @richard67)