#25824 closed task (blessed) (fixed)
Merge dashboard page plugin into core
Reported by: | lessbloat | Owned by: | |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
As a 3.8 feature as a plugin we took a stab at simplifying/improving the dashboard page you land on when you log in. Here's a recap of what we changed: http://make.wordpress.org/core/2013/10/23/dash-3-8-proposal/
This ticket will be used to merge the plugin located at: https://github.com/growthdesigner/wp-dash into core.
Attachments (13)
Change History (55)
#5
@
11 years ago
25824.1.diff refreshes 25824.diff and adds in the missing wp-admin/css/temporary-dash-styles.css file.
#6
@
11 years ago
25824.2.diff:
- Adds RTL CSS
- Adds custom H2's (Hola, Aloha, etc...)
- Adds updated help text
- Removes "Columns" screen option
Remaining TODOS (that I know of)
- Test Browse happy box on dashboard
- Remove newest plugins from "WordPress News"
- Show popular plugins in "WordPress News", unless you already have them installed
- Look at weird column widths (menu bar collapsed, at 1400px)
- New API for the Right Now box? (not sure what this would entail)
- Add any deprecated functions
- @markjaquith's code review
#7
@
11 years ago
25824.3.diff also:
- Removes custom H2's (Hola, Aloha, etc...). Helen made a comment to me about not liking 'It's Go Time', 'Break a Leg', 'Go For Broke'. I agreed, and if felt weird having only a hand full of greetings rotating through there (plus complications around translating those greetings). Decided to pull it. Happy to discuss, if anyone feels passionate about keeping them.
- Fixes formatting for browse happy box on dashboard
- Removes newest plugins from "WordPress News"
- Added visible dashed box lines back at 1400px browser resolution, so it doesn't look as though the 3rd & 4th columns are busted.
Remaining TODOS (that I know of)
- Show popular plugins in "WordPress News", unless you already have them installed
- New API for the Right Now box? (not sure what this would entail)
- Add any deprecated functions
- @markjaquith's code review
#8
@
11 years ago
Now that MP6 is merged in, 25824.4.diff removed the temporary hacked in style sheet (temporary-dash-styles.css).
#11
@
11 years ago
- Cc mdhansen@… added
Currently DASH throws a notice when SCRIPT_DEBUG is not defined
#14
follow-up:
↓ 23
@
11 years ago
I investigated i18n issues in [26144] and found more than I expected. Patch has a few easy ones but since I see this is unfinished code I didn't want to touch others before asking are there any more changes planned.
Listing here for future reference.
wp-admin/includes/dashboard.php:
- Generally texts in printf functions aren't i18n so there is no way to change word order
- L178: no plural forms for post types; this will be tricky to implement because of those that aren't built-in
- L194
- L379
- L576
- L675 (related to L576)
- L921
- L958
wp-admin/post.php:
- L197: I assume these are meant to be changed but still this was poorly done considering that it's related to
<?php _e( $error_msg ); ?>
inwp_dashboard_quick_draft()
#16
@
11 years ago
25824.6.diff includes some padding and margin niggles. Should fix:
- http://s.hyhs.me/SUMf
- http://i.imgur.com/ZoDbqr9.png
- And a bunch of other super minor pixel adjustments
Note: The Jetpack Stats widget still has some minor padding adjustments needed, but I'll make those tweaks in Jetpack.
#19
@
11 years ago
25824.7.diff:
- Refreshes wp-admin.css tweaks in 25824.6.diff.
- Eliminates <div class='rss-title-row'> changes to in default-widgets.php (which was a RTL hack that wasn't even needed).
- Fixes 1 fatal in wp-admin/post.php when submitting a quick draft.
- Fixes auto-populating and highlighting of quick draft ideas upon submit
#22
@
11 years ago
25824.8.diff removes a redundant line. It's already covered by line 2586:
trunk/src/wp-admin/css/wp-admin.css?rev=26230#L2585.
#26
follow-up:
↓ 27
@
11 years ago
At 1440x900 resolution, I'm now getting three columns where I previously had two. And as such, the 2 left columns (the third is empty), are pretty scrunched. Maybe we should consider increasing the breakpoint a little bit.
If I bring down the window width just a bit, it hits the breakpoint and I see what I'd expect:
#27
in reply to:
↑ 26
@
11 years ago
Replying to DrewAPicture:
At 1440x900 resolution, I'm now getting three columns where I previously had two. And as such, the 2 left columns (the third is empty), are pretty scrunched. Maybe we should consider increasing the breakpoint a little bit.
Related: #26074
#32
@
11 years ago
I'd opt for the more explicit "on" syntax for the event handler:
$window.on( 'resize', _.debounce(function() { updateColumnCount( $window, metaboxHolder ); }, 30 ));
Makes it more obvious you're telling the browser to do something ON resize, and not to, in fact, resize the browser (which in my experience most people new to jQuery think ".resize" does by default)
Reviewing the rest now
#33
@
11 years ago
updateColumnCount
should also probably take a $window
argument, not window
, since you're passing in the jQuery object and not the native DOM window object.
@
11 years ago
Altered resize event handler syntax for readability and made spacing changes from 25824.js.diff
#38
@
11 years ago
Had a conversation with some other core team members about "Site Content". It's not just your content; it's also your theme, your version, how much spam you have, and potentially other things. It's also really boring.
The ideas/thoughts we had: "Site Overview", "Overview", "About this Site" (like "About this Mac"). "This Site" sounded like extraneous labeling, kind of like "Site Content". "Summary". But "About" could conflate with "About WordPress."
We settled on "At a Glance," an idiom that is simple and classy. It also suggests to plugin authors what should be put here.
If translators want to use something more straightforward (if the idiom doesn't translate well in their language), they can (and do in other contexts already).
First pass at a merge in 25824.diff:
Remaining Todos: (that I know of)