Closed Bug 900025 Opened 11 years ago Closed 11 years ago

Add a <noscript> block to webmaker.org

Categories

(Webmaker Graveyard :: webmaker.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andrew, Assigned: zak.hassan1010)

Details

Attachments

(1 file)

Right now, the webmaker.org site is broken, superficially at least, without JavaScript. The usual expectation when coming to a page and being presented with a 'loading' graphic (feline or otherwise) is that something is loading. However, without JavaScript, nothing changes, suggesting to the user that something somewhere is either taking a long time to load, or is not going to load at all. This is neither the time nor the place to discuss the decision to pull in all content with JavaScript, but I would suggest that at the very least a <noscript> block be included to let people know that nothing is ever going to load, and they they'll have to enable it to get much further.
Hi, Can someone assign this bug to me. Thanks
Assignee: nobody → zak.hassan1010
I removed the static text and used get text. I'm sure there will be localization done to this error page. Please let me know if there is anything else. Awaiting r+ Ali to review...
Attachment #817584 - Flags: review?(andrew)
Attachment #817584 - Flags: review?(andrew) → review?(jon)
Attachment #817584 - Flags: review?(ali)
Attachment mime type: text/plain → text/x-github-pull-request
is the one nit the new line on line 109 of view/layout.html if it is then I've removed it.
Comment on attachment 817584 [details] [review] https://github.com/mozilla/webmaker.org/pull/428 We've changed the layout of webmaker.org so that the front page is actually pretty functional without Javascript now. https://webmaker.org/starter-makes and https://webmaker.org/teach still need JS though. I'd recommend editing views/gallery.html to add a <noscript> block in place of the animated kitty gif, rather than doing a page redirect. It'll be less intrusive, and more accurate, since many parts of the site work fine without JS
Attachment #817584 - Flags: review?(jon) → review-
Comment on attachment 817584 [details] [review] https://github.com/mozilla/webmaker.org/pull/428 @Jon: Thanks Jon. I've implemented the fix's to the comment you posted. Please see the latest code at the following link. https://github.com/mozilla/webmaker.org/pull/428/files
Attachment #817584 - Flags: review- → review?(jon)
Comment on attachment 817584 [details] [review] https://github.com/mozilla/webmaker.org/pull/428 r+ with nits noted in the PR. This looks good from a code perspective, but I think the design needs some work: https://dl.dropboxusercontent.com/u/4403845/Screenshots/br.png.
Attachment #817584 - Flags: review?(kate)
Attachment #817584 - Flags: review?(jon)
Attachment #817584 - Flags: review+
Comment on attachment 817584 [details] [review] https://github.com/mozilla/webmaker.org/pull/428 Ideally the loading cat should also be hidden, but otherwise this looks OK to me
Attachment #817584 - Flags: review?(kate) → review+
Hi, Can we set this bug to Resolved status since both reviewers have given me a r+. Thanks, Zak
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(andrew)
Resolution: --- → WORKSFORME
Please rebase and merge your commits and I will be happy to land that for you.
Ok thanks I will rebase.
Rebase is complete please land when you get a chance. thank you.
Commit pushed to master at https://github.com/mozilla/webmaker.org https://github.com/mozilla/webmaker.org/commit/a9e1b03f774a91a0f52cb2b8a970c823ce38e149 Bug900025: Add a <noscript> block to webmaker.org only required on /gallery
Flags: needinfo?(andrew)
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: