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
[com_templates] template manager modals (improve #9908 & #10071) #10100
[com_templates] template manager modals (improve #9908 & #10071) #10100
Conversation
I have tested this item ✅ successfully on c8cd1f9 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10100. |
Yes, the files were created and merged in 3.5.2-dev ;-)
About tooltip, what is exactly the problem ? In fact, this change is to have exactly the same rendering as the
Indead, this layout In Batch modal, the fields are not rendered the good way, and the span6 was not used for the tooltip on label, but for the fields in 2 columns (another PR i will think to do, to use the renderField layout for each field of batch, as each one are already layout fields). If you mean the fact the tooltip go out the modal (left), unfortunately, we face here the limitation of the tooltip with no auto placement depending on the container. (i think it's improved in last version of bootstrap, and a bit better in BS3, but BS2 is limited) |
I have tested this item ✅ successfully on c8cd1f9 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10100. |
Yes I mean this. I know why the span6 was used in the batch modals. Until we get BS2 or whatever version, adding the span6 for this specific modal looked like the only solution to make this tip readable. But, if one reduces the screen, we get it nice and clear: Would be great to get such a result on a monitor. |
@infograf768 What is missing is But i agree definitely that a top-left placement (top-right on RTL) for tooltip when inside a modal would be the real solution for this, but not related directly to this PR. So, i think this PR, could be RTC if you think everything else is ok (as already 2 successfull tests) and in all cases the result is better than in 3.5.1 (where tooltip was behind the modal!). About a top-left placement when a
This code (to be added for quick test, just before the last But concerning this PR, the goal was a better HTML rendering, and consistency about modal identifiers. Thanks! |
@infograf768 i can create a PR to integrate this tooltip extension for bs2 which works like a charm : https://github.com/andresgutgon/bootstrap-tooltip-extension/blob/master/README.md Now, the question would be if this could be accepted by PLT to add this tooltip extension for additionnal placements... (note: this is full B/C ;-) ) |
Looks good, thank you @JoomliC. I would also like to see your improvement for the tooltips in another PR! :-) |
Great! |
No, just take a tool you prefer and which does the job right! :-) |
@Kubik-Rubik So, in fact, i created a full BS tooltip extended plugin (working both on BS2 and BS3), as the one mentionned above was not updated, with issues, and not maintained since 3 years. @infograf768 i think now, what you whished as tooltip placement in modal would be possible ;-) |
…0237) * Add bootstrap tooltip extension * Revert Tooltip container, not needed anymore since #10100 * Add bootstrap-tooltip-extended.js to bootstrap.js * Add Tooltip placement 'top-left' as default in BS modal * Add tooltip-extended css + run generatecss * Revert "Add tooltip-extended css + run generatecss" This reverts commit 0a0199e. * Revert "Add bootstrap-tooltip-extended.js to bootstrap.js" This reverts commit 8b91262. * Revert "Add bootstrap tooltip extension" This reverts commit b365733. * Create class bootstrap.tooltipExtended This reverts commit b365733. * Edit comment
Improve the PR #9908 (remove modal html from default view, to create body and footer layouts for each modals, and to load each modal with its unique DOM identifier).
Summary of Changes
Layouts change:
Testing Instructions
Copy template (collapseModal)
Rename File (renameModal)
Delete File (deleteModal)
New File (fileModal)
Manage Folders (folderModal)
Resize Image (resizeModal)
Example of "New File" modal with the new scrolling in list of folders and new display for form fields:
Before Patch :
Form fields to create a file disappear from view on scroll.
After Patch :
Form don't move with scrolling (stay at top), inline form for new file name...