Pau Giner
b7420ae82a
Images for zoom
...
Images for the Zoom control of Media Viewer.
SVGs for RTL and RTL languages included.
Change-Id: I65cc6d9921a40d26307c294fb08ccfc42b1a9068
2014-04-24 17:43:15 -07:00
jenkins-bot
7ac4b375b6
Merge "Bigger, badder, animated progress bar"
2014-04-22 22:30:31 +00:00
Gilles Dubuc
69e75bcda8
Bigger, badder, animated progress bar
...
Nobody will be able to say it's not prominent enough anymore.
Change-Id: I060dcf2b8f244f7d59f4ed1ef6dfd85a08f3ef88
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/464
2014-04-22 15:16:56 -07:00
Gergő Tisza
d1a6592185
Add more survey languages (fr, de, pt/pr-br)
...
For pt speakers pt-br is shown until we get a pt translation
Related core commit: If2c57846f4dfb05ea58f36b25e3d8185d2a6e70e
Change-Id: I595446dc59c1bca2ea0b977be9d26f17192d3bc4
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/481
2014-04-22 22:03:32 +00:00
jenkins-bot
2b665e6ff0
Merge "Track more user actions"
2014-04-22 18:41:28 +00:00
Gergő Tisza
c304baf0ba
Show metadata panel immediately.
...
Change-Id: Ie71eb1d29e3863b99687a75da69fad9a1ead552c
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/458
2014-04-22 16:10:25 +00:00
jenkins-bot
5007968d4f
Merge "Split the progress bar into a component of its own."
2014-04-22 09:19:41 +00:00
jenkins-bot
a057ee476e
Merge "Open license deed in new tab"
2014-04-22 08:48:12 +00:00
jenkins-bot
2471bbe136
Merge "Display correct file type on download button"
2014-04-22 08:31:27 +00:00
Gilles Dubuc
700df1ecc2
Track more user actions
...
- metadata open/close
- next/prev
- view terms
- author
- source
- hash load
- history navigation
Change-Id: I4ea7e0b008b46577322050d692359d46374a0929
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/290
2014-04-22 10:20:36 +02:00
Gergő Tisza
3bddd3fcb7
Open license deed in new tab
...
Not convinced this is a good thing (file description page still
opens in same window so it is somewhat inconsistent) but suddenly
leaving the lightbox to show the deed feels like a very unintuitive
behavior to me.
Change-Id: I2cca3e4241fd1bb2848c11cf425aa75aad8c4a30
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/472
2014-04-22 00:21:11 +00:00
Gergő Tisza
f04f5984d5
Display correct file type on download button
...
Works, but awkward - the extension name changes a little later than the button
text itself. This is hard to avoid since we don't know beforehand
what the thumbnail type is - we have to wait for the API request.
(We can't do thumbnail URL guessing here since we cannot catch the 404 error.)
In general the whole API handling here is not so good, with a separate API
request going out when we should just get all size options in a single request,
when the user opens the reuse panel.
Change-Id: I502b7cb4e99d8af348d7d1967eb8343ec0f926fe
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/471
2014-04-21 23:51:15 +00:00
Gergő Tisza
c9e92da374
Split the progress bar into a component of its own.
...
Change-Id: I131b0d1b8ec992a7c7ad388021febea5a0303d16
2014-04-21 22:27:59 +00:00
Gergő Tisza
4e081a9559
Use short license name from template if we don't recognize it
...
We have been saying 'view terms' for every non-CC/PD image, which
is not particularly helpful.
Change-Id: Ia5fc6fb3af3802ad8a1f5188226fe4e89ab6d8d9
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/472
2014-04-19 00:46:50 +00:00
Gergő Tisza
c1b2b1bb2c
Show 'view terms' when we can't figure out the license
...
...since there probably still is one, and our failure to parse it
just makes it more important that we direct the user to the file
page.
Change-Id: Id31f95021f059ccf4bf9893b1146f3807dcabdcb
2014-04-19 00:42:47 +00:00
Gergő Tisza
b00eca6ade
Collect license handling code, remove unused data attribute
...
This just shuffles code around, should not change behavior.
Change-Id: Ieb0102300c8444f18444fae38e5ea813d8f682e5
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/472
2014-04-19 00:39:21 +00:00
jenkins-bot
119bdad504
Merge "Show scrollbars in survey window in Firefox"
2014-04-18 21:44:57 +00:00
Mark Holmquist
bfcbf06f80
Show scrollbars in survey window in Firefox
...
Change-Id: I6bf4838df86ad73a2aa4eeca3c9b3a4269ea0eae
2014-04-18 14:27:19 -07:00
Mark Holmquist
a6619cb1ce
Link to creativecommons.org for CC licenses
...
Change-Id: Ifdbb0d835b0eb6950eca3403bb486bbdd34651c6
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/221
2014-04-18 11:27:00 -07:00
jenkins-bot
8217b97462
Merge "Load moment.js on demand"
2014-04-16 20:32:21 +00:00
Gergő Tisza
9b1e756c3b
Replace current URL generation logic with routing classes
...
* deduplicates URL generating/parsing code
* gets rid of spaces in URLs
* fixes error for file names with / in them (in case they exist;
current MediaWiki seems to disallow such names anyway)
Change-Id: I5aad43f6af1b99523c597c39befcc9db1ecab83a
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/371
2014-04-16 12:51:38 +02:00
jenkins-bot
ffdc63aa4c
Merge "Do not load too-big thumbnails for SVGs"
2014-04-16 10:23:40 +00:00
Gergő Tisza
35eb14f837
Choose feedback survey based on user language
...
Change-Id: Ia9d53b6a3caedecd05429e5285765b1c5098342e
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/420
2014-04-16 00:52:40 +00:00
Mark Holmquist
0ed174a306
Do not load too-big thumbnails for SVGs
...
Change-Id: Iae75105151bfcd0e974fc292794802c77eb26ea4
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/448
2014-04-15 11:21:05 -07:00
Gilles Dubuc
7ff5b22873
Load moment.js on demand
...
Change-Id: I881d38ea201f314fcf364766bb589f56c9e6b057
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/444
2014-04-15 14:13:27 +02:00
jenkins-bot
e4e68115f5
Merge "Load oojs-ui on demand when "use this file" is clicked"
2014-04-14 17:29:58 +00:00
Mark Holmquist
244a5e70b0
Miscellaneous fixes to truncatable text fields
...
Should make the e2e tests pass again.
Change-Id: I2a610468837f53d10fd9e7f2fa6d0937407e6f26
2014-04-14 17:19:59 +02:00
Gilles Dubuc
eb6386bb5b
Load oojs-ui on demand when "use this file" is clicked
...
Change-Id: Ia3b6b91c7ff0cb223f5f312eb901726fb6adcf35
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/426
2014-04-14 11:50:05 +02:00
jenkins-bot
5a570186d1
Merge "Adjust OOjs UI TextInputWidget text style"
2014-04-14 09:41:43 +00:00
Gergő Tisza
a6c279042c
Adjust OOjs UI TextInputWidget text style
...
White text shadow looked bad on Chrome/Linux where selected text
color is white.
Change-Id: I6723bc8ee0f6e2f77bb299216d56a844ac17a9f1
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/443
2014-04-11 22:55:50 +00:00
Gergő Tisza
b0fc56f039
Fix icon positioning for secondary repo link
...
The last change did not work so well for small (non-Commons) links,
adjusting.
Change-Id: I50bb25f4311715d93ebb12603b1b2546273efa31
2014-04-11 21:02:12 +00:00
Pau Giner
e250a45eb3
Spacing adjustment for repository link
...
Spacing of the whole element and the Commons logo has been
adjusted to provide visual clarity.
Change-Id: I601a1d5c847199dc734911dc9e90c0fe7931bca8
2014-04-11 15:30:19 +00:00
Gergő Tisza
2bb6c48ee2
Show a fallback repo icon for the "go to file page" button
...
...if the real icon is not available.
Change-Id: I36b79beb1867deb86b0a1d986db672854c3b839e
2014-04-10 19:09:28 +00:00
jenkins-bot
6dae43b0cf
Merge "Fix commons icon to avoid pixelation"
2014-04-10 18:12:34 +00:00
jenkins-bot
228539fc03
Merge "Fix overlap of info box and right sidebar"
2014-04-10 16:32:28 +00:00
jenkins-bot
a433c43556
Merge "Split button line adjustment"
2014-04-10 12:58:30 +00:00
Pau Giner
bb70c70431
Split button line adjustment
...
The download button used a dashed black line to separate options.
It has been changed to a dark green line to better fit the style.
Change-Id: I3224027b69c4c1e5cf2568aed8f4f50ee351c369
2014-04-10 14:35:13 +02:00
jenkins-bot
911e87adde
Merge "Add truncatable text field, use for some fields"
2014-04-10 12:13:46 +00:00
Gilles Dubuc
779b91d405
Fix commons icon to avoid pixelation
...
The CSS to make the favico twice as big was looking horrible in
Firefox and possibly other browsers. Since we're already
special-casing commons, let's apply a proper SVG instead of the
favico.
Change-Id: Ie32302342eba7aa37bd310c013a9f4d7f9ae187e
2014-04-10 13:20:39 +02:00
Pau Giner
808b6cb848
Removed white background from SVG assets
...
Two images contained a white background that was limiting their
use over other background colours.
Change-Id: Ic61e0d223ed927968344b132dbe67952c80bbe28
2014-04-10 11:55:27 +02:00
Gilles Dubuc
ebeaf5cc5d
Fix overlap of info box and right sidebar
...
Seen in Firefox: https://www.dropbox.com/s/a4d2ltanx343kh0/Screenshot%202014-04-10%2009.57.51.png
Change-Id: I8ae755eb1008078a94face60efee53c11d9ce3b9
2014-04-10 09:59:31 +02:00
jenkins-bot
f106af19d0
Merge "Workaround for OOJS ES3 incompatibility"
2014-04-10 06:51:55 +00:00
jenkins-bot
9375c63958
Merge "Clean up issues left c/121064"
2014-04-10 01:32:43 +00:00
jenkins-bot
ea5b135d80
Merge "Fix tipsy bug, part 2"
2014-04-10 01:27:12 +00:00
Gergő Tisza
d8bf56bf89
Fix tipsy bug, part 2
...
Change-Id: Ie3bf54c1f5e550b86bf29151ed14be36ad63bee0
2014-04-10 01:24:21 +00:00
Aaron Arcos
be76d4b5db
Clean up issues left c/121064
...
Change-Id: I5daa3c8f75c93dbbd6a8f748a6c869d73d3959f6
2014-04-09 18:23:42 -07:00
jenkins-bot
02735e3431
Merge "Fix tipsy bug"
2014-04-10 01:13:36 +00:00
Gergő Tisza
005d15568f
Fix tipsy bug
...
maybeDisplayThumbnail is invoked even when the survey is disabled,
which results in calling functions of a null object.
Change-Id: If7a48349e22069f91af20d8c4bb6a82b7339bd66
2014-04-10 01:09:07 +00:00
Gilles Dubuc
a7778cb799
Selects html embed by default for logged-out users
...
Change-Id: Ie472905f0188637157632050ad0571043f04b324
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/379
2014-04-10 00:06:54 +00:00
Mark Holmquist
40feb61dbe
Add truncatable text field, use for some fields
...
Source + author are one such field, title is another.
Loads of the mingle card will be split out.
Change-Id: Ib2937cc55304118f82e5b2e87b822b2b2811ef2b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/243
2014-04-09 15:53:37 -07:00