Go to file
Gergő Tisza e7f720506f Change text truncation logic to more closely follow panel state
Several related changes to text truncation:
* remove untruncate-on-click so untruncated text is selectable
  (untruncate will happen on click to the canvas are instead,
  to be implemented in a followup patch)
* simplify the truncate/untruncate logic to be wholly based on
  panel open/close state, and fix a bug which made panel state
  and text truncation state inconsistent when prev/next
  navigating while keeping the panel open.
* remove several variations on scrolling the panel in favor of
  using toggle + remove some other unused truncation-related code
* fix a minor unrelated style bug which made truncate/untruncate more
  jarring than it had to be when the title was short by making the title
  higher on panel open even though the text did not use the extra height
* align title ellipsis better
* make sure clicking on the truncated title works even if the click is
  between lines and so misses the inline box of the <span>

Change-Id: Ie0b3afb3833102b6a9812cb7fe2df78ec5eb8396
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/983
2014-11-22 06:22:33 +00:00
docs Update OOjs UI Class Names (549ff9ab7d) 2014-11-20 01:04:32 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-11-19 22:38:57 +01:00
resources Change text truncation logic to more closely follow panel state 2014-11-22 06:22:33 +00:00
tests Rename Performance to PerformanceLogger 2014-11-21 11:07:40 +01:00
.gitignore Adding first pass at jsduck docs 2014-01-21 11:44:58 -08:00
.gitreview Add .gitreview 2013-08-08 11:11:01 +02:00
.jshintignore Fix hash self-reaction 2014-02-24 19:14:45 +01:00
.jshintrc Make JSHint enforce ES3 compatibility 2014-05-28 22:58:33 +00:00
.rubocop.yml Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 15:45:50 +02:00
.rubocop_todo.yml Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 15:45:50 +02:00
AUTHORS Big credits patch 2014-02-13 13:38:19 -08:00
COPYING Initial commit - working demo 2013-09-03 16:52:28 -07:00
Gemfile Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 15:45:50 +02:00
Gemfile.lock Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 15:45:50 +02:00
importml.sh Make importml.sh less Linux-centric, more UNIX-agnostic 2013-12-05 00:19:02 +00:00
MultimediaViewer.i18n.php Update i18n shim 2014-04-22 13:31:20 +00:00
MultimediaViewer.php Rename Performance to PerformanceLogger 2014-11-21 11:07:40 +01:00
MultimediaViewerHooks.php Rename Performance to PerformanceLogger 2014-11-21 11:07:40 +01:00
viewer-ltr.svg Convert Mac line endings to Linux ones for some SVG files 2014-06-17 19:55:34 +00:00
viewer-rtl.svg Fix images and related CSS for RTL wikis 2013-11-26 00:54:18 +02:00