? Success
Referenced as Related to: # 10927

User tests: Successful: Unsuccessful:

avatar JoomliC
JoomliC
26 Jun 2016

Pull Request for Issue #10911 & PR #10927 (improve it).

Summary of Changes

Download Tracks Modal:

  • Fix and improve HTML rendering (use renderField)
  • No tooltip for File Name, as description is a bit long (and not always easy to use tooltip when long description).
  • New form field type note for File Name description in a alert-info style.
  • Tooltip placement bottom for Compressed label (prevent tooltip cropped at top when in iframe)
  • Buttons in the BS modal footer
  • Using new viewport dimensions
  • HATHOR : modal was broken! This PR fixes it in Hathor Template, and add overrides to adapt rendering.

New Generic Toolbar Button Layout:

  • appendButton using a new toolbar button layout:
$selector = $displayData['selector'];
$class    = isset($displayData['class']) ? $displayData['class'] : 'btn btn-small';
$icon     = isset($displayData['icon']) ? $displayData['icon'] : 'out-3';
$text     = isset($displayData['text']) ? $displayData['text'] : '';
?>
<button class="<?php echo $class; ?>" data-toggle="modal" data-target="#<?php echo $selector; ?>">
    <span class="icon-<?php echo $icon; ?>"></span>
    <?php echo $text; ?>
</button>

Testing Instructions

To be tested on staging or 3.6.0-beta

  • Test on Isis template (api) and Hathor template (overrides)
  • Go to Components > Banners > Tracks
  • Click on Export toolbar button
  • Check tooltip placement
  • Test Cancel and Export buttons now in modal footer

Isis admin template
Before:
capture d ecran 2016-06-26 a 20 42 47

After:
capture d ecran 2016-06-25 a 17 04 16

Hathor admin template
Before:
capture d ecran 2016-06-26 a 20 37 30

After:
capture d ecran 2016-06-26 a 20 38 40

avatar JoomliC JoomliC - open - 26 Jun 2016
avatar JoomliC JoomliC - change - 26 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jun 2016
Labels Added: ?
avatar JoomliC JoomliC - change - 26 Jun 2016
The description was changed
avatar brianteeman brianteeman - change - 26 Jun 2016
Category Administration Language & Strings Templates (admin)
avatar brianteeman brianteeman - change - 26 Jun 2016
Category Administration Language & Strings Templates (admin) Administration Layout Templates (admin)
avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

@JoomliC Thanks for fixing tooptip issue.
One suggestion: I have applied this latest PR and found that we have scroll-bar in our iframe modal.
Checked that .jviewport-height50 { height: 50vh;} applied, Is it possible to set height:60vh or Is it dynamically applied to iframe?
It will remove the scroll-bar and will look nice.

avatar brianteeman brianteeman - test_item - 27 Jun 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 27 Jun 2016

I have tested this item successfully on 215efce


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

avatar JoomliC
JoomliC - comment - 27 Jun 2016

One suggestion: I have applied this latest PR and found that we have scroll-bar in our iframe modal.
Checked that .jviewport-height50 { height: 50vh;} applied, Is it possible to set height:60vh or Is it dynamically applied to iframe?

Thanks @RonakParmar for feedback!
About new modal parameters for modal introduced in 3.6.0, this is set in the view here: https://github.com/joomla/joomla-cms/pull/10934/files#diff-4b21245c193bec415dbe082fd9486de3R96
(viewport dimensions introduced with this PR : #10388)

But, if an issue with scrolling, should be related to this one (dynamically add of scrolling): #9817

So, could you attached a screenshot of issue, as well as some information: screnn size, browser and its version, OS ?
It could help to see where your issue comes from (as scrolling should appear only when modal body content is too high for the rendered modal).

Thanks!

avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

Here is my system information as much as possible:
PHP Built On : Linux 126-UBUNTU 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64
Database Version : 5.5.49-0ubuntu0.12.04.1
PHP Version : 5.4.45-3+donate.sury.org~precise+3
Web Server : Apache/2.2.22 (Ubuntu)

Joomla! Version : Joomla! 3.6.0-beta2 Beta [ Noether ] 16-June-2016 13:54 GMT
Joomla! Platform Version : Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0


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

avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

screen shot 2016-06-27 at 05 29 01


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

avatar JoomliC
JoomliC - comment - 27 Jun 2016

@RonakParmar you screen shot shows no issue in scrolling (i mean it works as expected, and that's good!).
But your screen view is a bit "panoramic".
Is it a resized window or a standard view of your device? (as 50/100 viewport height for standard screen size seems ok...)

@brianteeman does 50vh height was ok for you in Isis test of this PR ? (or a 60vh height could be better: https://github.com/joomla/joomla-cms/pull/10934/files#diff-4b21245c193bec415dbe082fd9486de3R96 ?)

avatar brianteeman
brianteeman - comment - 27 Jun 2016

After applying the PR it looks fine to me

avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

It's a standard view of my device, I do not change my screen size.
Screen resolution: 19"
1366 x 768 (16:9)

avatar joomla-cms-bot
joomla-cms-bot - comment - 27 Jun 2016

This PR has received new commits.

CC: @brianteeman


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

avatar JoomliC
JoomliC - comment - 27 Jun 2016

Thanks @brianteeman ! I have just updated a little the PR by not using viewport height which may not change a bit for you, and then works too for @RonakParmar's screen size ;-)

@RonakParmar Thanks for screen size!
Tested and confirm that's not good with this screen size.
In the same time, as the content is not high, i have removed the viewport height, to use only the ifram height, set now to 370px which seems to be the good value for this content.

Could you test back this PR with this minor adjustment, thanks!

avatar brianteeman brianteeman - test_item - 27 Jun 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 27 Jun 2016

I have tested this item successfully on 5340062


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

avatar RonakParmar RonakParmar - test_item - 27 Jun 2016 - Tested successfully
avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

I have tested this item successfully on 5340062

No scroll-bar now. @JoomliC Thank you to fix this.


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

avatar RonakParmar
RonakParmar - comment - 27 Jun 2016

I have tested this item successfully on 5340062

No scroll-bar now. @JoomliC Thank you to fix this.


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

avatar kalpesh681 kalpesh681 - test_item - 27 Jun 2016 - Tested successfully
avatar kalpesh681
kalpesh681 - comment - 27 Jun 2016

I have tested this item successfully on 5340062


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

avatar JoomliC
JoomliC - comment - 27 Jun 2016

Thanks everybody for testing ?

avatar brianteeman brianteeman - change - 27 Jun 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 27 Jun 2016

rtc


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

avatar joomla-cms-bot joomla-cms-bot - change - 27 Jun 2016
Labels Added: ?
avatar roland-d roland-d - change - 16 Jul 2016
Milestone Added:
avatar roland-d roland-d - reference | af93af4 - 16 Jul 16
avatar roland-d roland-d - merge - 16 Jul 2016
avatar roland-d roland-d - close - 16 Jul 2016
avatar zero-24
zero-24 - comment - 21 Jul 2016

@joomla-cms-bot please let me know if you have holiday too than we can take that tasks ?

Add a Comment

Login with GitHub to post a comment