Commit Graph

1756 Commits

Author SHA1 Message Date
Mark Jaquith
b71197e282 Revisions: Tweak the slider image and alignment.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24675 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 16:49:14 +00:00
Mark Jaquith
059c800243 Revisions: Use all the vendor prefixes for box-sizing.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24673 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 15:10:57 +00:00
bumpbot
60e8683a41 Compress scripts/styles: 3.6-beta4-24672.
git-svn-id: https://develop.svn.wordpress.org/trunk@24672 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 14:58:49 +00:00
Mark Jaquith
3584dd58a9 Revisions: Cleanup, bug fixes, refactoring, polish.
* Hide the tooltip initially.
* Fix a bug with routing.
* Further separate the Slider model and view, refactoring its code.
* More reliance on events than direct calls between areas.
* Smarter background diff loading (single mode). Loads the diffs closest to your position first.
* Removed a bunch of manual templating and `render()` methods. Now relies more on the WP Backbone Views functionality.
* include the requested `id` in `ensure:load`.
* new trigger: `ensure`, for `ensure()` attempts, regardless of whether they are already loaded.
* pass along a promise in both `ensure` and `ensure:load`.
* in `ensure`, remove requests for diffs we aready have

See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24671 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 14:01:39 +00:00
bumpbot
88b8cd8f2f Compress scripts/styles: 3.6-beta4-24669.
git-svn-id: https://develop.svn.wordpress.org/trunk@24669 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 06:19:07 +00:00
Mark Jaquith
d88021e236 Revisions: Loading indicator, cleanup, bug fixes.
* Loading indicator when the user is waiting for a trip to the server.
* Bug fixes for diff priming.
* Fix the date display.
* Forget about local comparator, instead order by `modified` on the server.
* Initialize the frame model before the view (this was the source of a LOT of heartache).

git-svn-id: https://develop.svn.wordpress.org/trunk@24667 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 05:11:56 +00:00
bumpbot
9fe8848e7b Compress scripts/styles: 3.6-beta4-24662.
git-svn-id: https://develop.svn.wordpress.org/trunk@24662 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 18:58:51 +00:00
Mark Jaquith
9c1bac9eba Revisions: Use jQuery animation.
The CSS3 animations caused issues because the element was still there, and there is no standard way to know when a CSS3 animation is done.

See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24660 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 18:43:12 +00:00
bumpbot
7edc21a054 Compress scripts/styles: 3.6-beta4-24659.
git-svn-id: https://develop.svn.wordpress.org/trunk@24659 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 10:58:54 +00:00
Mark Jaquith
c5d53046a9 Revisions: Bunch of refactoring and code cleanup
* Extracted a lot of model-y stuff from the view code.
* Slider now has a proper model, with communication with other models.
* Use of `get( foo )` instead of `findWhere({ id: foo })`.
* Properly set the `from` diff when routing single mode.
* Bind `prev()` and `next()` to their model.
* Tick marks are now percentage based, which means the slider resizes with the browser, without JS resize events.
* When scrubbing, the position of the scrubber is considered a hover, so you can fall off the timeline while still scrubbing and the tooltips will persist.
* Tooltips fade in and out.
* Tooltips hang around for a grace period instead of immediately going away. More forgiving.
* Unused code paths removed.
* Got rid of a bunch of view-to-view communication.
* Use `_.times()` instead of a `for` loop.
* Removed premature `Math.floor()` and `Math.ceil()` calls that were making things not add up to 100%.

See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24658 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 09:14:14 +00:00
bumpbot
792fd2aab9 Compress scripts/styles: 3.6-beta4-24645.
git-svn-id: https://develop.svn.wordpress.org/trunk@24645 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 16:58:55 +00:00
Helen Hou-Sandi
974508b221 Add sliding animations to the accordion. props kovshenin, DrewAPicture, helen. fixes #23890.
git-svn-id: https://develop.svn.wordpress.org/trunk@24644 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 16:32:09 +00:00
bumpbot
707fe97ed8 Compress scripts/styles: 3.6-beta4-24640.
git-svn-id: https://develop.svn.wordpress.org/trunk@24640 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 06:58:52 +00:00
Andrew Nacin
323b54bd13 Some RTL changes for the plugin information box.
props JDTrower, SergeyBiryukov, ocean90, ramiy.
fixes #22897.



git-svn-id: https://develop.svn.wordpress.org/trunk@24633 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 05:01:33 +00:00
bumpbot
d42e1e99ed Compress scripts/styles: 3.6-beta4-24632.
git-svn-id: https://develop.svn.wordpress.org/trunk@24632 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:58:53 +00:00
Andrew Nacin
e0b4a7c7ab Avoid a scrollbar in the iframe used for plugin sandboxing. props kovshenin. see #10840.
git-svn-id: https://develop.svn.wordpress.org/trunk@24631 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:56:28 +00:00
Mark Jaquith
d42c83177b Revisions: Get rid of an unneccessary ID. IDs are a bad idea.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24629 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:37:50 +00:00
bumpbot
f1bf096eab Compress scripts/styles: 3.6-beta4-24596.
git-svn-id: https://develop.svn.wordpress.org/trunk@24596 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 22:35:26 +00:00
Mark Jaquith
4c35743a1a Tick marks are back for revisions
* Simple tick marks
* Tooltips snap to tick marks
* Tooltips arrow reverses side for LTR/RTL
* Fix for routing issue where just the hash is changed in the URL bar relating to compare two mode

see #24425. props adamsilverstein, ocean90.

git-svn-id: https://develop.svn.wordpress.org/trunk@24595 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 21:37:03 +00:00
bumpbot
e16dca6fc9 Compress scripts/styles: 3.6-beta4-24592.
git-svn-id: https://develop.svn.wordpress.org/trunk@24592 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 18:58:16 +00:00
Andrew Nacin
614c954c42 Prevent overflow of the parent term dropdown in the new term form. props desrosj, fixes #23397.
git-svn-id: https://develop.svn.wordpress.org/trunk@24588 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 16:55:59 +00:00
Dominik Schilling (ocean90)
814c36baea Revisions improvements
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles 

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24578 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 10:48:14 +00:00
Mark Jaquith
1b4aa41b4c Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
fixes #24553. props kadamwhite, johnbillion.

git-svn-id: https://develop.svn.wordpress.org/trunk@24576 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 23:17:25 +00:00
Dominik Schilling (ocean90)
b7ebeea685 Revisions: CSS cleanup, see #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24574 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 22:15:37 +00:00
Mark Jaquith
664664d2a1 Push menu settings checkboxes down to a new line to avoid weird overlaps in some languages.
props SergeyBiryukov. see #24546.

git-svn-id: https://develop.svn.wordpress.org/trunk@24566 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:39:21 +00:00
Mark Jaquith
e87e8f608a Revisions improvements
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24565 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:44:47 +00:00
bumpbot
2fd98a828c Compress scripts/styles: 3.6-beta4-24560.
git-svn-id: https://develop.svn.wordpress.org/trunk@24561 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:42:57 +00:00
Dominik Schilling (ocean90)
3690db14f7 Revisions UI update:
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history

props adamsilverstein, see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24549 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:27:19 +00:00
bumpbot
d1d4859b11 Compress scripts/styles: 3.6-beta4-24523.
git-svn-id: https://develop.svn.wordpress.org/trunk@24523 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 18:25:01 +00:00
Mark Jaquith
ac0d0d1dee Cleanup of the revisions screen, both on the PHP API side, and the JS.
* Much simpler PHP API
* Cleaner and more Backbone-y JS API
* Consequently, does batch queries; this now scales up to hundreds of revisions

Currently missing, but much easier considering the cleaned up base:

* Compare two mode
* RTL

props koopersmith, nacin, adamsilverstein, ocean90. see #24425

git-svn-id: https://develop.svn.wordpress.org/trunk@24520 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 21:06:50 +00:00
bumpbot
324f088c27 Compress scripts/styles: 3.6-beta3-24430.
git-svn-id: https://develop.svn.wordpress.org/trunk@24430 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 18:58:57 +00:00
Helen Hou-Sandi
714da2b9e0 Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: https://develop.svn.wordpress.org/trunk@24429 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 17:15:53 +00:00
bumpbot
9c0bf86c47 Compress scripts/styles: 3.6-beta3-24427.
git-svn-id: https://develop.svn.wordpress.org/trunk@24427 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 16:58:58 +00:00
Helen Hou-Sandi
bb4dbd9c4c Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.
git-svn-id: https://develop.svn.wordpress.org/trunk@24426 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 15:11:42 +00:00
bumpbot
cd69621b0a Compress scripts/styles: 3.6-beta3-24420.
git-svn-id: https://develop.svn.wordpress.org/trunk@24420 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:58:53 +00:00
Helen Hou-Sandi
c526380e47 Remove obsolete CSS related to post formats UI. See #24452, #24502.
git-svn-id: https://develop.svn.wordpress.org/trunk@24418 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 15:40:17 +00:00
bumpbot
d63f067277 Compress scripts/styles: 3.6-beta3-24357.
git-svn-id: https://develop.svn.wordpress.org/trunk@24357 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:59:00 +00:00
Daryl Koopersmith
21bcd96e6e Improve contrast of revision diffs. Fixes #24422.
git-svn-id: https://develop.svn.wordpress.org/trunk@24355 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:48:37 +00:00
Daryl Koopersmith
5d5bf06ad5 Remove strikethrough from revisions UI. See #24422.
git-svn-id: https://develop.svn.wordpress.org/trunk@24354 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:25:22 +00:00
bumpbot
a999bc364f Compress scripts/styles: 3.6-beta3-24349.
git-svn-id: https://develop.svn.wordpress.org/trunk@24349 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:58:56 +00:00
Sergey Biryukov
9405a37284 Auto-expand the menus accordion if JavaScript is disabled. fixes #24402.
git-svn-id: https://develop.svn.wordpress.org/trunk@24348 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:50:10 +00:00
bumpbot
7306e41902 Compress scripts/styles: 3.6-beta3-24318.
git-svn-id: https://develop.svn.wordpress.org/trunk@24318 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:58:57 +00:00
Dominik Schilling (ocean90)
790b2a5a41 Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834.
git-svn-id: https://develop.svn.wordpress.org/trunk@24315 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 17:58:10 +00:00
bumpbot
b3a97f3700 Compress scripts/styles: 3.6-beta3-24306.
git-svn-id: https://develop.svn.wordpress.org/trunk@24306 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:58:55 +00:00
Andrew Ozz
2700b71b35 Post locks:
- Change from IDs to classes for the notification-dialog divs so they can be reused.
- Do not check post locks if the dialog's html is not present.
- Do not check post locks if there is only one user on a single site install.
See #23697.

git-svn-id: https://develop.svn.wordpress.org/trunk@24304 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 19:36:29 +00:00
Ryan Boren
687d1a2ce9 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@24303 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:10:58 +00:00
bumpbot
0892fe10b9 Compress scripts/styles: 3.6-beta3-24298.
git-svn-id: https://develop.svn.wordpress.org/trunk@24298 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:59:00 +00:00
Andrew Ozz
336851f453 Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24297 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:25:24 +00:00
bumpbot
753eb290be Compress scripts/styles: 3.6-beta3-24295.
git-svn-id: https://develop.svn.wordpress.org/trunk@24295 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:58:57 +00:00
Andrew Ozz
582a2143e2 Post format retina icons for both color themes, props melchoyce, aaroncampbell. See #24290, see #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24294 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:05:52 +00:00