Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Ozz
14d1e57e99 Enhance the editor on the Add/Edit Post screens, first run. Props avril, see #28328.
git-svn-id: https://develop.svn.wordpress.org/trunk@29049 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 22:05:06 +00:00
Helen Hou-Sandi
c27492cf26 Don't switch contextual help tabs when tabbing around. props neil_pie. see #28209.
git-svn-id: https://develop.svn.wordpress.org/trunk@28869 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 19:09:17 +00:00
nacin
06603dc6cc Fix flyout menus on most mobile devices.
props ocean90.
fixes #26482.


git-svn-id: https://develop.svn.wordpress.org/trunk@27775 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:29:03 +00:00
Andrew Ozz
9fd8c54ef9 Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854.
git-svn-id: https://develop.svn.wordpress.org/trunk@27080 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 05:30:12 +00:00
Andrew Ozz
92d2f34d4f Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27011 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 20:07:16 +00:00
Andrew Ozz
608cd6de80 Comment moderation shortcuts:
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755.

git-svn-id: https://develop.svn.wordpress.org/trunk@26889 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 00:10:20 +00:00
Andrew Ozz
76d75b7d22 Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458.
git-svn-id: https://develop.svn.wordpress.org/trunk@26785 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 18:45:37 +00:00
Andrew Ozz
98b9246261 Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458.
git-svn-id: https://develop.svn.wordpress.org/trunk@26743 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 20:49:46 +00:00
Andrew Nacin
bda43fd107 Pinking shears. see #26086 props atimmer.
git-svn-id: https://develop.svn.wordpress.org/trunk@26627 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:33:45 +00:00
Andrew Ozz
eb2767a578 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
git-svn-id: https://develop.svn.wordpress.org/trunk@26516 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:18:40 +00:00
Andrew Ozz
4ccea9a8f6 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
git-svn-id: https://develop.svn.wordpress.org/trunk@26421 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:18:14 +00:00
Andrew Ozz
0329fb83e3 Clean up the sticky menu and responsive tweaks JS:
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.

git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:56:11 +00:00
Andrew Nacin
3999d50cea Residual JSHint fixes in common.js and edit-comments.js.
see #25912, #25979.


git-svn-id: https://develop.svn.wordpress.org/trunk@26208 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:36:17 +00:00
Matt Thomas
58f312f95e Bring in the responsive component of MP6. See #25858.
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.

A few changes since MP6:

* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.

A number of areas for improvement remain; we're tracking these issues in the comments of #25858.

Props to tollmanz, tillkruess, helen, dd32, and apeatling.



git-svn-id: https://develop.svn.wordpress.org/trunk@26134 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 17:59:32 +00:00
Helen Hou-Sandi
0074ad2d90 Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26125 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:29:27 +00:00
Andrew Nacin
40f762f894 Free common.js of JSHint errors.
props jorbin.
fixes #25912.


git-svn-id: https://develop.svn.wordpress.org/trunk@26112 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:55:23 +00:00
Andrew Nacin
7a9a26fb84 List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
props c3mdigital, vinod-dalvi.
fixes #25034.


git-svn-id: https://develop.svn.wordpress.org/trunk@25677 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:08:13 +00:00
Helen Hou-Sandi
3eea90937d Allow all non-visible default row actions in the admin to be accessed via keyboard. fixes #21334.
git-svn-id: https://develop.svn.wordpress.org/trunk@25595 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:49:30 +00:00
Andrew Ozz
fdafa8b480 Fix folding/unfolding of the admin menu on new installs, props SergeyBiryukov, fixes #24921 for 3.6.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@25186 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 17:10:11 +00:00
Helen Hou-Sandi
6ce20d366c Make shift-click checkbox range selection work in both directions. props c3mdigital, SergeyBiryukov. fixes #23427.
git-svn-id: https://develop.svn.wordpress.org/trunk@25141 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 20:49:33 +00:00
Andrew Nacin
b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00