Commit graph

1219 commits

Author SHA1 Message Date
jenkins-bot d4bcb046ba Merge "Make room for arbitrary i18n text length in the options dialogs" 2014-11-12 13:39:22 +00:00
jenkins-bot 57774ce22e Merge "Preserve panel position when content is replaced" 2014-11-12 13:15:05 +00:00
Gilles Dubuc 6da3f6b33e Make room for arbitrary i18n text length in the options dialogs
Change-Id: Id618a92e1502307612f289bfb4d071d88cc5b292
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/979
Bug: 72862
2014-11-12 11:21:32 +00:00
jenkins-bot 8a8b3b0208 Merge "Add the ability to apply a different duration sampling factor to loggedin users" 2014-11-12 08:21:33 +00:00
Gergő Tisza a64a20d2a8 Preserve panel position when content is replaced
Change-Id: I0735f54a8fb4aa743fb529f1dfa3515a9353402b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/982
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/986
2014-11-12 00:15:51 +00:00
Translation updater bot affe308104 Localisation updates from https://translatewiki.net.
Change-Id: I12c1250e56fa0ef13ee18fcf91d303eab7a87486
2014-11-11 22:13:29 +01:00
Gergő Tisza af508f066a Make the ellipsis of truncated texts more prominent
Also fixes popup texts which should have been updated in the parent commit
and the panel opening mechanism which did not work when the below-the-fold
description box was display:none-d.

Change-Id: I5fc37429a7dc7a8f1517fa42375cd140d7d11674
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-11-11 15:37:14 +00:00
Gergő Tisza 3a18515163 Replace filename with caption/description
* when the caption is available, use it as the image title
* otherwise, fall back to description if available
* otherwise, fall back to filename
* if both caption and description are available, show caption as
  title and show description below the fold; otherwise don't show anything
  below the fold.

Change-Id: I9738ca46620d7cf3b30f6e46790a37966d4b9eaf
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-11-11 15:33:15 +00:00
Translation updater bot 7eac05c8a1 Localisation updates from https://translatewiki.net.
Change-Id: I18d9088f2852a488162ea6137e96b60034110802
2014-11-10 22:10:54 +01:00
Translation updater bot 07c7963ab6 Localisation updates from https://translatewiki.net.
Change-Id: I80de29a10d9bef26656bbe46da8f90102bc9731e
2014-11-09 21:52:46 +01:00
Translation updater bot 1c5d81d08a Localisation updates from https://translatewiki.net.
Change-Id: I4a86eac24a6227e2517b4f0fb3b5a5d6ed008ce1
2014-11-07 22:13:01 +01:00
Gilles Dubuc 0e782adf7d Add the ability to apply a different duration sampling factor to loggedin users
Change-Id: I10fc042ddf50f02e1a86711621b66c14fc981311
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/978
2014-11-06 18:51:08 +01:00
Pau Giner 16098d98ce Align text and icons on the grey area
Due to differences in line-height, author and license text were missaligned.
Some adjusment has been done also about icon position.
The end result can be viewed at http://i.imgur.com/x7KEjDE.png

Change-Id: Ie369d7ab6f1230b1b795ce2b63cdba1401d052dd
2014-11-06 17:48:42 +01:00
Translation updater bot 7ef7615188 Localisation updates from https://translatewiki.net.
Change-Id: I31bdba1225035703578e66c1bebe56f31abcb7ae
2014-11-05 21:45:33 +01:00
Translation updater bot 22a1ac4dfd Localisation updates from https://translatewiki.net.
Change-Id: I016df9427e7c5cb69b93338390310843088f0beb
2014-11-04 23:29:53 +01:00
Translation updater bot 8fb5ed9440 Localisation updates from https://translatewiki.net.
Change-Id: Ie92ee684c999f85671681a4019ed31206bb87a5d
2014-11-02 21:59:06 +01:00
Translation updater bot 8933e5b49a Localisation updates from https://translatewiki.net.
Change-Id: If8c3759ecf9e86644555e7c5b216804932b0ba11
2014-11-01 22:39:14 +01:00
Bartosz Dziewoński 9a5b604537 Change OO.ui.InlineMenuWidget → OO.ui.DropdownWidget for OOUI upgrade
Result of I7714116 in OOUI, pulled into MediaWiki in Ifb7ffb1.

Bug: 70968
Change-Id: If039d3706ab653482ce4614c5643ee29ba0766ec
2014-11-01 01:06:38 +01:00
Translation updater bot 411f87683a Localisation updates from https://translatewiki.net.
Change-Id: Iaec34948d2371944884c4b034aac8188b9e478bd
2014-10-31 21:46:29 +01:00
jenkins-bot 6e79ad51f1 Merge "Display a placeholder text when author and source are missing" 2014-10-31 09:41:30 +00:00
Translation updater bot d624808624 Localisation updates from https://translatewiki.net.
Change-Id: I7be0efb30fdb762705836dd35dd3c5c739b49b0a
2014-10-30 23:30:26 +01:00
jenkins-bot 6f2f757c26 Merge "Layout adjustment for right data column" 2014-10-30 08:57:03 +00:00
Translation updater bot 646d8eb39f Localisation updates from https://translatewiki.net.
Change-Id: I0845e99fc931f13126da44e970e2844509414b10
2014-10-29 22:06:35 +01:00
Pau Giner ea244e8c15 Layout adjustment for right data column
The right data column has been adjusted to:
* Make the position of license info consistent when moving through images.
* Make the position of the right list of data consistent when the panel is open.

That is achieved by adjusting the license position in a different way depending on
the status of the panel (open or closed).

Change-Id: Ia1a54d400e9810119d5222a9da732e099d81d9cf
2014-10-29 20:17:08 +01:00
Gergő Tisza b0bac10627 Display a placeholder text when author and source are missing
Change-Id: I38478956c5a0b5f204e5caa43e54db651f297887
2014-10-29 15:38:56 +00:00
Gergő Tisza 392e714cc6 Add icon for PD licenses
Change-Id: I82c56a420d8d529a4a50cb66e64b191bbb36997f
2014-10-29 14:03:36 +01:00
jenkins-bot d096a73b36 Merge "Change above-the-fold layout - step 3" 2014-10-29 11:41:18 +00:00
Pau Giner cecf17319d Fix open panel detection when scrolling
With touch devices, scrolling may get negative values (e.g., when
scrolling beyond the page limits). That kind fo scroll was triggering
the aplication of the "panel-oppen" class producing unintended UI changes.
With this patchset the class is only applied when the panel is really opened.

Change-Id: I183d8c725373ab29802650b53e26fd4820dbf499
2014-10-29 12:21:31 +01:00
Gergő Tisza 8423974c6a Change above-the-fold layout - step 3
* make top of "below-the-fold" be actually above the fold
* put all above-the-fold content except title and more details button
  into that area
* kep below-the-fold area in fullscreen mode when title/credit gets untruncated
* increase title length to 180 (140 before reducing font size) - works nicely on
  my 1600x900 laptop
* remove old styles which were intended to make the button smaller when the
  panel is close but were mostly broken anyway and only caused the button to
  twitch

To avoid redoing all the size calculation logic, we cheat and use a negative
margin to pull the below-the-fold content above the fold.

Change-Id: I18d7bdb7dbbdfb8201c0d66257731febfac31263
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-29 12:05:34 +01:00
Gergő Tisza f792a42f93 Change above-the-fold layout - step 2
* move license and terms link from title area to attribution area
* remove some ineffective styling for elements which have already been removed
  in earlier changes

Change-Id: I5bd41e337a4c8133bfa27e4c4d03162b2d6e35bb
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-28 21:18:53 +00:00
jenkins-bot fb7a04f5a2 Merge "Change above-the-fold layout - step 1" 2014-10-28 21:18:48 +00:00
Gergő Tisza a6adad35ed Change above-the-fold layout - step 1
* remove chevron
* adjust colors

Change-Id: I443fd757f5df18d099e42a81f1f323fadea77987
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-28 20:02:22 +00:00
jenkins-bot eb21f30631 Merge "Fetch image title from CommonsMetadata" 2014-10-28 19:18:00 +00:00
Translation updater bot 32a4d457b8 Localisation updates from https://translatewiki.net.
Change-Id: I6a8f9c9c69f92564b51887e26a0d6d64b92a8bbf
2014-10-28 15:17:37 +01:00
Gergő Tisza a44be28c4e Fetch image title from CommonsMetadata
Change-Id: Id7d256150aedb4351778f6ad60fd7d85399b58c5
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-10-28 10:46:31 +00:00
Translation updater bot 7dd6979fe1 Localisation updates from https://translatewiki.net.
Change-Id: Ib8d30d7540d2136e4fbbf7e3678f489b6bb367c2
2014-10-27 20:14:48 +01:00
Pau Giner 4d415c330c Cog icon adjustment
Border was added for the cog icon so that it can be visible on white

Change-Id: I1bdd73e2e8be571d3d0e3ab49e5d005812e2d090
2014-10-27 17:34:09 +01:00
jenkins-bot 9e3f438654 Merge "Add about link to disable/enable dialog" 2014-10-27 03:08:28 +00:00
Translation updater bot dd08ca299b Localisation updates from https://translatewiki.net.
Change-Id: Icf4c27c662d040915a933e96e6a4433c6539e483
2014-10-26 21:10:19 +01:00
Translation updater bot de876dfbf8 Localisation updates from https://translatewiki.net.
Change-Id: I50fe1db5783cd16729dd4f6696e5dfe9d053228d
2014-10-25 22:47:59 +02:00
Translation updater bot 1722b576fe Localisation updates from https://translatewiki.net.
Change-Id: I90367a2ec168ebe113eb3df604c66cf778571c69
2014-10-24 22:21:02 +02:00
Mark Holmquist ff7a8b23c2 Add about link to disable/enable dialog
This was the last issue with the dialogs. Tests included.

Change-Id: Ic08af400893950a04489af4b166827d059561974
2014-10-24 13:51:32 -05:00
Translation updater bot efc40f3ac8 Localisation updates from https://translatewiki.net.
Change-Id: Ieacc22090e5652a614ccab6176adaa2f307195e4
2014-10-23 23:25:40 +02:00
jenkins-bot 5b4af66668 Merge "Fix issue with options dialog when media viewer has been reopened" 2014-10-23 14:58:54 +00:00
Gilles Dubuc 0d743977dd Fix issue with options dialog when media viewer has been reopened
- Fixes the bug where the options menu wouldn't open if media
viewer was reopened
- Adds human-readable console messages for the options actions
- Makes the tooltip a tipsy one like all the other buttons
- Fixes the tooltip copy, it was referring to "previews", which we
said we wouldn't do anymore, in favour of "Media Viewer"

Change-Id: I1590f9501cc6c406cc1f466b414062d4d6435c1b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/963
2014-10-23 15:29:44 +02:00
Pau Giner cea4a105a9 Adjust style of the Disable panel
Spacing, color, and typography adjustments to the disable/enable panels

Change-Id: I86cfa04353fb500ebe027576a61301e8ef2f0f3b
2014-10-23 12:21:02 +00:00
Translation updater bot 8d1648f203 Localisation updates from https://translatewiki.net.
Change-Id: I25daeb459c7b40941974b9557c5b7df74f4bcf9f
2014-10-22 22:03:23 +02:00
Gergő Tisza 62133bab3c Update URLs of renamed pages
Change-Id: I6547855881a86616a9df52ad38e97136ee16eae0
2014-10-22 15:44:23 +00:00
Mark Holmquist a7693d2fcd Add new version of actionlogging schema
Adds in option dialog events.

Change-Id: I3e58fc86f00f276c3ff6c0efb8eb813f81d82198
2014-10-21 16:22:49 -05:00
Translation updater bot 83018b9e4f Localisation updates from https://translatewiki.net.
Change-Id: I5f928dde88132eb30e7482d49d22f8d20ddc84ea
2014-10-21 23:01:44 +02:00