Making WordPress.org

Opened 9 years ago

Closed 5 years ago

Last modified 5 years ago

#974 closed enhancement (fixed)

Make WordPress.tv theme responsive

Reported by: brashrebel's profile BrashRebel Owned by: iandunn's profile iandunn
Milestone: Priority: normal
Component: WordPress.tv Keywords: good-first-bug has-patch ui-feedback
Cc:

Description

Seems to me there's no reason why this awesome site shouldn't have an awesome mobile experience.

Attachments (7)

974.diff (1.5 MB) - added by BrashRebel 9 years ago.
Theme adjustments to make wordpress.tv responsive
974.2.diff (15.5 KB) - added by iandunn 9 years ago.
974.3.patch (12.2 KB) - added by BrashRebel 8 years ago.
Fixed some CSS issues in the header, sidebar, upload page and featured video section.
974.4.diff (2.4 KB) - added by nvwd 5 years ago.
styles to make wptv responsive
974.5.diff (2.7 KB) - added by nvwd 5 years ago.
here's a second attempt at a patch file
974.6.diff (22.8 KB) - added by nvwd 5 years ago.
this includes all changes not already in master
974.7.diff (14.3 KB) - added by iandunn 5 years ago.

Download all attachments as: .zip

Change History (30)

#1 @iandunn
9 years ago

  • Keywords needs-patch good-first-bug added
  • Owner set to iandunn
  • Status changed from new to accepted

+1

This ticket was mentioned in Slack in #wptv by brashrebel. View the logs.


9 years ago

@BrashRebel
9 years ago

Theme adjustments to make wordpress.tv responsive

#3 @BrashRebel
9 years ago

  • Cc kyle@… added
  • Keywords has-patch dev-feedback added; needs-patch removed

I just uploaded a huge patch. Includes lots of theme changes but all are 100% focused on making the existing theme adapt to smaller screen sizes (other than one deprecated function which I replaced).

I'm not 100% certain that this 974.diff file includes everything and was created properly. Sorry. Still not very experienced at generating diffs. If there are issues with the diff just let me know and I'll try and generate it again some other way.

This ticket was mentioned in Slack in #wptv by brashrebel. View the logs.


9 years ago

#5 @iandunn
9 years ago

It looks like the patch contains full copies of the files, rather than just the deltas, and it has Git style prefixes, so applying it created a second folder, but I was able to get it working by diff'ing that folder against the canonical one.

I think using git-svn to clone the repo, and then generating the diff with --no-prefix would result in a more workable patch. e.g.,

git svn clone https://meta.svn.wordpress.org/sites/trunk/wordpress.tv/public_html/wp-content/
git diff --no-prefix > ticket.diff

http://scribu.net/wordpress/contributing-to-wordpress-using-github.html might have some more tips (although we don't have a Git mirror for meta.svn like we do for core.svn, hence using git-svn to clone the actual SVN repo).

I've already got this one working, though, so no need to do that for this ticket.

#6 @iandunn
9 years ago

In 1556:

WordPress.tv: Replace deprecated like_escape with wpdb::esc_like.

See #974
Props BrashRebel

#7 @iandunn
9 years ago

974.diff is a really good first step, it solves most of the problems, but I think there's some more work to do before it's finished.

I made some changes to get us a little closer:

  • Replaced the accordion menu with the _s equivalent. The accordion wasn't working for me in Firefox, and it duplicates the markup and doesn't have the accessibility features that the _s one does. I also styled the menu a bit, but it could definitely be improved further.
  • Centered the list items at smaller resolutions, to make them easier to read.
  • Made the widgets use more of the empty space at tablet-sized resolutions.

I also left some todo notes with a few things that I noticed aren't working, but didn't have time to fix.

  • The video player is collapsing when the video starts to play, because of messing w/ the container height. I think some of my changes may have made this worse :) It may be better to stick with a fixed width and just center the player, instead of trying to make it grow/shrink w/ the viewport.
  • Secondary videos are overflowing their containers on small screens, because of the janky way they were originally setup w/ absolutely positioned thumbnails and padding to push the title over.
  • I think there'll be a few more things that come up in testing, but nothing major.

I committed a few small things, and then generated a new patch with my changes.

@iandunn
9 years ago

This ticket was mentioned in Slack in #wptv by brashrebel. View the logs.


9 years ago

#9 @iandunn
9 years ago

  • Keywords needs-patch added; has-patch dev-feedback removed

@BrashRebel
8 years ago

Fixed some CSS issues in the header, sidebar, upload page and featured video section.

#10 @melchoyce
7 years ago

  • Keywords has-patch ui-feedback added; needs-patch removed

#11 @iandunn
7 years ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

This ticket was mentioned in Slack in #meta-wordcamp by sergey. View the logs.


7 years ago

This ticket was mentioned in Slack in #meta by obenland. View the logs.


7 years ago

This ticket was mentioned in Slack in #meta by sergey. View the logs.


6 years ago

#15 @obenland
6 years ago

#3980 was marked as a duplicate.

#16 @obenland
6 years ago

Reported by @rmarks
Slack: https://wordpress.slack.com/archives/C037W5MBT/p1544191445096800
The browser is not showing the videos of an event (e.g. https://wordpress.tv/event/wordcamp-europe-2017/) if the screensize is too small (like iPhone), it only shows the latest uploaded videos because of the mobile theme kicking in.

#17 @BrashRebel
5 years ago

As far as I know, here's what else has been going on relative to this ticket:

At some point, I believe in 2017, someone enabled the Jetpack mobile theme. Because of that, the urgency for this ticket's resolution went down a bit because that feature made the mobile theme load for small screens instead of the current theme.

The latest patch, 974.3, I believe, is pretty complete and has not received feedback or been committed. I do believe it is a major improvement and worth committing.

At this time, the Jetpack mobile theme is no longer enabled on WordPress.tv so the current non-responsive theme still loads for mobile.

Also, @obenland I think the problem you reported 6 months ago may have been related to the Jetpack mobile theme and thus, no longer an issue.

This ticket was mentioned in Slack in #meta by sergey. View the logs.


5 years ago

#19 @casiepa
5 years ago

Related: #4304
The theme suddenly got activated again.

Last edited 5 years ago by SergeyBiryukov (previous) (diff)

@nvwd
5 years ago

styles to make wptv responsive

#20 @nvwd
5 years ago

after so many years......

@nvwd
5 years ago

here's a second attempt at a patch file

@nvwd
5 years ago

this includes all changes not already in master

@iandunn
5 years ago

#21 @iandunn
5 years ago

  • Owner set to iandunn
  • Resolution set to fixed
  • Status changed from assigned to closed

In 9262:

WordPress.tv: Add responsive styles to improve UX.

Props nvwd, BrashRebel, iandunn
Fixes #974

#22 follow-up: @iandunn
5 years ago

Phew, this is finally done. Thanks so much for your patience and tireless work @BrashRebel and @nvwd !

#23 in reply to: ↑ 22 @BrashRebel
5 years ago

Replying to iandunn:

Phew, this is finally done. Thanks so much for your patience and tireless work @BrashRebel and @nvwd !

Thanks Ian!! Woohoo!

Note: See TracTickets for help on using tickets.