Re: [Gimp-developer] [Gimp-web] Status Update on Redesign

2015-09-12 Thread Samuel Ricks
I don't believe it would be possible to use server-side detection since
we're using Pelican.

It could be easy to do some auto-OS detection though. I am a JS developer
if you want my help doing that. Jquery makes it easier but I could try to
code a solution by hand to avoid including it if that's important to the
project.

On Tue, Sep 1, 2015 at 9:31 AM, Akkana Peck  wrote:

> Pat David writes:
> Pat> Downloads Page
> Pat> I'm a bit conflicted about this.  I understand that we used to use
> jquery
> Pat> to try and guess the OS the visitor was on, and present them with a
> Pat> sub-section of the downloads page.
> Pat>
> Pat> I am almost thinking that perhaps we can simply present users with
> clearly
> Pat> marked links at the top of the Downloads page to choose which OS they
> would
> Pat> like a download for?  Any objections to going this route?
>
> Andrew Pullins writes:
> Andrew> Please, please, please do this. after seeing other sites do this I
> can't
> Andrew> stand when a site shows me every single OS option out there.
> LibreOffice
> Andrew> has a really nice download page
> Andrew> <
> http://donate.libreoffice.org/home/dl/rpm-x86_64/5.0.1/en-US/LibreOffice_5.0.1_Linux_x86-64_rpm.tar.gz
> >.
> Andrew> Not only does it give you a great big download button for your OS
> but it
> Andrew> but it gives you the option to download it through torent, slect a
> differnt
> Andrew> OS, change the version you are downloading, provides source code,
> [ ... ]
>
> Pat David writes:
> Pat> Do you mean to do the auto-OS detection, or to not?
>
> I wasn't sure either, but it's worth noting that the libreoffice
> download page at
> http://www.libreoffice.org/download/libreoffice-fresh/?version=5.0.1
> (I'm not sure if that's the same page as the one Andrew likes --
> different URL) doesn't need javascript or jquery for OS detection.
> Even with noscript, it correctly shows me a download button for Linux
> x86. Presumably it's doing server-side checking of the browser's
> User-Agent.
>
> Personally, I'd be fine with Pat's suggestion of just having links
> at the top, but server-side user agent detection is a nice touch.
>
> Andrew> There are only two things I could suggest is that this site is not
> Andrew> responsive and that is becoming a big thing right now.  don't know
> how much
> Andrew> more work it would be to do that but it would be nice.
>
> Pat> The site is actually responsive. Try looking at it on a mobile screen,
>
> On the Downloads page, the page content is responsive but the image
> at the top forces the page to 900px wide. Maybe that's what Andrew
> is talking about? The rest of the site is very responsive.
>
> One other issue: the webfonts in the toolbar at the top look awful
> in either Firefox or Chromium on Debian unstable. Debian seems to
> have a problem in general with rendering webfonts -- I've seen it
> on other pages that use them. Screenshot:
> http://shallowsky.com/tmp/gimp-news-screenshot.jpg
>
> ...Akkana
> ___
> gimp-web-list mailing list
> gimp-web-l...@gnome.org
> https://mail.gnome.org/mailman/listinfo/gimp-web-list
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] [Gimp-web] Status Update on Redesign

2015-09-11 Thread Pat David
On Fri, Sep 11, 2015 at 3:17 AM Samuel Ricks  wrote:

> I don't believe it would be possible to use server-side detection since
> we're using Pelican.
>

This is correct.


>
> It could be easy to do some auto-OS detection though. I am a JS developer
> if you want my help doing that. Jquery makes it easier but I could try to
> code a solution by hand to avoid including it if that's important to the
> project.


I have implemented platform.js as an OS detection on the static downloads
page: http://static.gimp.org/downloads/

In the first paragraph is some red text that is an attempt at auto
detection.  If you get a moment to test it against various OS and report
back, that would be great (just trying to capture any edge cases at this
point, it mostly appears to work great).

http://static.gimp.org/about/meta/to-do/#download-page-auto-detect-os

I've been busy these past few days, but intend to get back to work in the
next week or so.  I'll send an update soon to the lists.
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list