Commit graph

10 commits

Author SHA1 Message Date
Robert Speicher
89ca4f04f6 Refactor ZenMode
- No longer depends on the "hidden checkbox".
- No longer depends on manually storing/restoring the scroll position.
  Instead, we take advantage of jquery.scrollTo.
- Event-based.
- Simplifies the state-based styling.
2016-01-08 23:36:09 -05:00
Douwe Maan
97842cea74 Fix 'Attach a file' link in new tag form 2015-11-19 15:37:20 +01:00
Yorick Peterse
f3980e230f Don't use link_to/image_tag where not needed
In these particular instances we can just use HAML tags directly. This
can shave off some time spent loading issue pages, though this depends
on the amount of comments being displayed.

When viewing https://gitlab.com/gitlab-org/gitlab-ce/issues/2164 locally
these changes reduce loading time by about 400 ms in total.
2015-10-15 12:05:01 +02:00
Darby
c611b6f623 Comment box/Placeholder text redo 2015-07-01 15:49:31 -07:00
Robert Speicher
82a671704d Show a random Markdown tip in the textarea placeholder 2015-06-23 21:00:10 -04:00
Darby
e2e8e384bb Revert "Changed the placeholder text and modified the css class to make it visible"
This reverts commit c39c823421.
2015-06-18 13:50:33 -07:00
Darby
c39c823421 Changed the placeholder text and modified the css class to make it visible 2015-06-16 14:44:13 -07:00
Dmitriy Zaporozhets
c6ab8d04e8 Fix tabindex for comment form 2015-01-15 10:34:40 -08:00
Dmitriy Zaporozhets
cad685e70b Refactor zen mode. Make it works in diffs 2015-01-15 00:15:12 -08:00
Ciro Santilli
adaec60a50 Factor zen mode. 2014-09-20 15:32:46 +02:00