Gergő Tisza
7ecda828fe
Fix Commons tooltip for messages using GRAMMAR such as he
...
Change-Id: I1ec744cda78a5882a089ba0c32eae924559ed4e6
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/553
2014-05-01 00:04:09 +00:00
Mark Holmquist
969c5bfda9
Add preferences link after "help"
...
Reused message from the top-right menu.
Change-Id: Id37712e332bf8fed56edaa9ae8f7e04a2a5a5f42
2014-04-30 22:49:09 +00:00
jenkins-bot
182f1cd6bb
Merge "Fix RTL positioning for repo icon"
2014-04-30 20:56:51 +00:00
Gilles Dubuc
ad6cc656ce
Fix RTL positioning for repo icon
...
Change-Id: Iad6f0002913fb6361f22a467b08e6489a40adeea
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/512
2014-04-30 20:55:12 +00:00
Gilles Dubuc
f09abebbf4
Change the tipsy gravity for the stripe buttons
...
- this avoids an issue where the arrow wouldn't point to what we
want when near the edge of the screen
- this avoids an RTL issue where the bubble would go outside of
the screen
Bug: 64258
Change-Id: I1cc9683af2743b093a45b19d7142fe7e5e66423f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/485
2014-04-30 17:01:17 +02:00
jenkins-bot
8f250b4628
Merge "Enable survey in Dutch"
2014-04-29 20:38:31 +00:00
Gergő Tisza
bbe3429f38
Enable survey in Dutch
...
Related core change: Ic5892e29c6e64d0d015e8b6037c402c42ea1c7d5
Change-Id: I5f939f98f8654c3fd90bcfae1b28fec262da8332
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/545
2014-04-29 19:17:25 +00:00
jenkins-bot
f3ce1b0aa6
Merge "Fix for jsduck 5.x, rearrange categories"
2014-04-29 18:35:22 +00:00
Mark Holmquist
d137689b34
Fix for jsduck 5.x, rearrange categories
...
Should make for a nicer documentation experience.
Change-Id: I935cbab2b06c8cf482d3987905d2257d09bea3a3
2014-04-29 11:32:12 -07:00
jenkins-bot
fa8cf649bf
Merge "Make progress bar less erratic"
2014-04-29 08:00:11 +00:00
jenkins-bot
a63f8b4666
Merge "Enable survey in Spanish"
2014-04-29 07:34:58 +00:00
jenkins-bot
b06020fa26
Merge "Adjust invite animation for Media Viewer"
2014-04-29 07:30:55 +00:00
Gergő Tisza
184067eb39
Enable survey in Spanish
...
Related core change: Ibd1a4b14faa11fd764fe078880355d7184b698bf
Change-Id: If44279fff1aad3fb68a01d167ef5cce69dbb3b34
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/525
2014-04-28 22:38:50 +00:00
Gergő Tisza
a56759d8fe
Handle window.localStorage === null case correctly.
...
Change-Id: I49ddf45093daee4988fb7f3b481fb35bfaceb152
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/521
Bug: 64525
2014-04-28 22:33:02 +00:00
Pau Giner
2ac50f49bf
Adjust invite animation for Media Viewer
...
With latest refactorings, the animatin looked like a glitch.
The position of the panel has been adjusted to (a) make the initial
position the same as shown while the progress bar for better continuity,
and (b) make the move more noticeable by increasing the distance the
panel moves.
To test, clear the local storage variable mmv.hasOpenedMetadata
Change-Id: Ie3ed29826fa15bf4c6b38f0fc8bde4bd84563fb9
2014-04-28 10:28:18 -07:00
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
Gergő Tisza
7ee0cf3fcd
Make progress bar less erratic
...
Solves the bug, and makes the code slightly cleaner, but it
still does not inspire confidence (e.g. use of viewer flags
by a bunch of callbacks that can run for a background image).
Also, the tests seem underspecified.
I'll follow up with some more refactoring.
Change-Id: I2557abcec173691ffce21185bf1a939f1644ba8c
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/489
2014-04-24 23:55:26 +00: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