[6.1] Fix workflow graph strings and assets#47248
[6.1] Fix workflow graph strings and assets#47248tecpromotion merged 5 commits intojoomla:6.1-devfrom
Conversation
ef8220e to
6c3b5f7
Compare
Co-authored-by: Richard Fath <[email protected]>
|
@Vikash-Kumar-23 When GitHub shows that the branch is not up to date, it does not need to use the branch update button every time. It is only a problem if there are conflicts shown, which is not the case here. SO no need to use the branch update button all the time. |
|
@Dileepadari can you please check this PR. Thanks. |
|
The workflow graph scripts are required only when workflows are enabled. Tested and confirmed that after this change the scripts and styles are no longer included unnecessarily. Thanks @Vikash-Kumar-23 for the pr. |
|
I have tested this item ✅ successfully on de12316 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248. |
1 similar comment
|
I have tested this item ✅ successfully on de12316 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248. |
|
Thanks @Vikash-Kumar-23 and all testers. |
Pull Request resolves #47224
Summary of Changes
Testing Instructions
Install Joomla 6.1-dev.
Go to Content -> Articles -> Options.
Set Enable Workflows to No.
Open any article for editing.
View the page source (Ctrl+U) and search for workflow-graph.
Result: No assets or strings should be found.
Return to Options and set Enable Workflows to Yes.
Refresh the article edit page and view source again.
Result: workflow-graph-client assets should now be present, confirming the feature still works when enabled.
Actual result BEFORE applying this Pull Request
Even if workflow_enabled is off :


Expected result AFTER applying this Pull Request
if workflow_enabled is off:

if workflow_enabled is on:

Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed