cll icon indicating copy to clipboard operation
cll copied to clipboard

Make web version mobile friendly

Open ViktorQvarfordt opened this issue 7 years ago • 8 comments

The web version of CLL is not mobile friendly. Some elements are not scaled, in particular the nav-bar and examples in pre tags. To see this, open https://lojban.github.io/cll/1/3/ on a mobile device (small screen, high DPI).

I could submit a PR for this, but I'm not familiar with the conventions of this project. So I thought I'd better ask first.

Adding this to the head of the html should probably fix most issues:

<meta name="viewport" content="width=device-width, initial-scale=1">

ViktorQvarfordt avatar May 26 '17 10:05 ViktorQvarfordt

You're talking about how the pre and nav-bar are super small font?

rlpowell avatar May 26 '17 18:05 rlpowell

So that lojban.github.io/cll/ thing isn't me; I don't know who did it, or how to update it, or anything. The current version of the CLL HTML is linked from https://mw.lojban.org/papri/The_Complete_Lojban_Language , and if you look at http://lojban.org/publications/cll/cll_v1.1_xhtml-section-chunks/section-conventions.html or http://lojban.org/publications/cll/cll_v1.1_xhtml-section-chunks/section-cmavo-selbri.html you'll see that it's much better.

So as far as I'm concerned, the ask here is to replace or remove the github.io thing. If someone can tell me how to shove the latest version into the github.io space, I'd be happy to do that as part of the release process.

rlpowell avatar May 26 '17 18:05 rlpowell

Oh, I see. Yes, the online version should of course be merged. I can help with the Github pages.

Question: I see the current released version is 1.1, but I suppose small fixes etc. happen more or less continuously. Because of this, it would be nice to have a latest version available online, so that the [errata](would be less important). I thought this was the purpose of the release on Github pages. In this process one can make new pdfs and everything at once. Perhaps one should use semantic versioning for more frequent releases, or just date stamps.

ViktorQvarfordt avatar May 26 '17 19:05 ViktorQvarfordt

I've bumped into this too, because sutysisku uses lojban.github.io/cll. We should update the URLs there.

Wilfred avatar Jun 06 '17 07:06 Wilfred

So that lojban.github.io/cll/ thing isn't me; I don't know who did it, or how to update it, or anything.

This is the gh-pages branch of this repo. On GitHub, foo.github.io/bar shows the HTML (or rendered Jekyll) from the gh-pages branch of the github.com/foo/bar repo.

Wilfred avatar Jun 06 '17 18:06 Wilfred

On Fri, May 26, 2017 at 12:40:40PM -0700, Viktor Qvarfordt wrote:

Oh, I see. Yes, the online version should of course be merged. I can help with the Github pages.

Question: I see the current released version is 1.1,

No, the current released version is:

Version 1.1, Generated 2016-08-26

as it says on the front page of the PDF and the changelog; see http://lojban.org/publications/cll/

but I suppose small fixes etc. happen more or less continuously. Because of this, it would be nice to have a latest version available online, so that the [errata](would be less important).

That would be the things named "cll_v1.1_foo.bar" in the directory I just linked.

I thought this was the purpose of the release on Github pages. In this process one can make new pdfs and everything at once.

Yep, that's what I do.

rlpowell avatar Jun 08 '17 00:06 rlpowell

On Tue, Jun 06, 2017 at 01:28:24AM -0700, Gleki Arxokuna wrote:

2017-05-26 21:06 GMT+03:00 rlpowell [email protected]:

So that lojban.github.io/cll/ thing isn't me; I don't know who did it, or how to update it, or anything. The current version of the CLL HTML is linked from https://mw.lojban.org/papri/The_Complete_Lojban_Language , and if you look at http://lojban.org/publications/cll/cll_v1.1_ xhtml-section-chunks/section-conventions.html or http://lojban.org/ publications/cll/cll_v1.1_xhtml-section-chunks/section-cmavo-selbri.html

So this has section-cmavo-selbri.html suffix, not "5.9" or something suffix. Thus it's incompatible with the version of CLL la sutysisku is using.

I'm not sure what your point is?

rlpowell avatar Jun 08 '17 00:06 rlpowell

@ViktorQvarfordt is this version okay to you? if not please, report which HTML/CSS issues should be fixed https://lojban.pw/cll/uncll-1.2.9/xhtml_section_chunks/index.html

lagleki avatar Jul 14 '20 14:07 lagleki