Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-13 Thread Warren Young
On Dec 11, 2017, at 9:19 PM, Warren Young  wrote:
> 
> I’d go as far as #F8F8F8 myself.

One of my Fossil projects’ skins is based on Khaki, which hasn’t yet been 
restyled to override the base styles for the timeline boxes, so I get light 
gray on yellow, not terribly attractive.  The following CSS snippet not only 
fixes that, it’s generic:

td.timelineColumnarCell[id], td.timelineModernCell[id], 
td.timelineDetailCell[id] {
background-color: rgba(0, 0, 0, 0.03);
}

That is, we do an alpha blend to construct the slightly darker color for the 
boxes based on the background color.  I like 3% black, but it can be up to 
about 5% before I start finding it objectionable.

This should work for any skin with a light background color.  Light-on-dark 
skins can use this related formation:

td.timelineColumnarCell[id], td.timelineModernCell[id], 
td.timelineDetailCell[id] {
background-color: rgba(255, 255, 255, 0.03);
}

That is, blend with 3% white instead of black.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-12 Thread Rolf Ade

Warren Young writes:
> On Dec 11, 2017, at 3:09 PM, Rolf Ade  wrote:
>> Florian Balmer writes:
>>> I didn't want to spend my hobby time with CSS
>>> diffing.
>> 
>> ...having own
>> skins and CSS as branch of the main trunk(s) (the build-in skins) and to
>> be able to merge the own skins/CSS from the build-in skins, as they
>> development …
>
> Try:
>
>$ fossil conf export skin foo
>…upgrade Fossil, switch repo to skin you wish to merge…
>$ fossil conf merge foo
>
> I haven’t tested it, but it looks like it should work. See “fossil
> help conf” for more on this.

AFAIS this "merge" fossil configurations in the sense that it replaces
just the areas found in the merge file. It doesn't merge the imported
conf skin in any way in the sense as merging branches in fossil.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-12 Thread Ron W
On Tue, Dec 12, 2017 at 1:16 PM, <fossil-users-requ...@lists.fossil-scm.org>
wrote:
>
> Date: Tue, 12 Dec 2017 14:00:01 +0100
> From: Florian Balmer <florian.bal...@gmail.com>
> Subject: Re: [fossil-users] Metadata in Timeline Verbose View
> Message-ID:
> <CAHgAu9+A-iFu3ipmcKw0jR+xZAfdGgGkxM8ucBBvHviqXWzcqQ@
> mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> > $ fossil conf export skin foo
> > …upgrade Fossil, switch repo to skin you wish to merge…
> > $ fossil conf merge foo
>
> Sounds easy. But on shared web hosting, with limited shell access, and
> a total of 10-15 repositories, this already makes me edgy. I have also
> tried using a shared skin loaded from a directory using the "skin:"
> CGI control line, but then the skin is missing on local machines.
>

$ fossil conf pull skin URL-to-remote-repo
... update skin locally
$fossil conf push skin URL-to-remote-repo
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-12 Thread Martin Gagnon
On Tue, Dec 12, 2017 at 02:00:01PM +0100, Florian Balmer wrote:
  
  

> While talking about the views, please allow me some Compact View bashing:
> 
> Compact View looks plain and elegant, I agree. But whenever I view the
> timeline, I'd either like to SEE THE HASHES (to check-out or merge a
> specific version), or CLICK THE HASHES (to view the check-in details
> and diffs). I never just browse my comments ;-)

If it can helps, since recent timeline web ui refactoring, you can now
click on the "time" link on the left the check-in to access the check-in
details (and diffs). So no needs to expand the small "..." just to click
on the hash link.

Since I discover this, I don't miss the "Verbose view" anymore and
always stay in "Modern View", I don't have the hash on the way in front,
but it is always on a predictable place if I need it.

But I understand it might not be the case for everybody, that's why it's
nice to have 4 different views.


  
> 
> > It's mixing completely different things and levels ...
> 
> I don't think so. Adding the CSS to display the parenthesis means
> maintaining your own custom skin?

You've been heard, since it's now the default ;-)

  


-- 
Martin G.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-12 Thread Florian Balmer
Warren Young:

> Switch to Modern view? :)

Verbose View seems more comfortable to use for me, as the hashes are
more prominent, so easier to read, easier to click, entries as a whole
are easier to copy-paste (only one triple-click to select all, no
mouse move required), and also easier to read when copy-pasted (now
that the parenthesis are back).

While talking about the views, please allow me some Compact View bashing:

Compact View looks plain and elegant, I agree. But whenever I view the
timeline, I'd either like to SEE THE HASHES (to check-out or merge a
specific version), or CLICK THE HASHES (to view the check-in details
and diffs). I never just browse my comments ;-)

With Compact View, I need to do a not-so-intuitive click on the
comment (that has always been plain text to me) to make the hash
appear, move the mouse pointer over the unpredictable position of the
now visible hash, and finally click the hash.

But if I get it right (without building and trying the latest version)
there's a config option to set the default view to Verbose View
(without having to explicitly select it and store the option as a
cookie).

Verbose View definitely works best, for me.

Rolf Ade:

> It's mixing completely different things and levels ...

I don't think so. Adding the CSS to display the parenthesis means
maintaining your own custom skin?

Warren Young:

> $ fossil conf export skin foo
> …upgrade Fossil, switch repo to skin you wish to merge…
> $ fossil conf merge foo

Sounds easy. But on shared web hosting, with limited shell access, and
a total of 10-15 repositories, this already makes me edgy. I have also
tried using a shared skin loaded from a directory using the "skin:"
CGI control line, but then the skin is missing on local machines.

Richard Hipp:

> (2) The details of each entry are shown inside parentheses in the
> Verbose and Compact views.

Thank you very much for this change. With "physical" (as opposed to
"spiritual-CSS") parenthesis, readability is also fine when
copy-pasting timeline entries.

--Florian
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-12 Thread Johan Kuuse
On Tue, Dec 12, 2017 at 5:19 AM, Warren Young  wrote:
> On Dec 11, 2017, at 9:01 PM, Steve Landers 
wrote:
>>
>> The slightly lighter gray has the downside of not being visible by many
folk with diminished contrast perception.
>
> I’d worry more about poor quality monitors that either have poor white
clipping behavior or off-axis brightness problems.
>
> Again, it was just an idea for consideration.  I’ll be redesigning the
skin locally anyway in most cases to match local project color schemes.
>
>> Old geezers in other words :)
>
> Higher contrast between text and background is better, as a rule.
>
> There are standards for this.  The first tool I tried likes the current
scheme, however:
>
>
https://webaim.org/resources/contrastchecker/?fcolor=44=EFEFEF
>
> I’d go as far as #F8F8F8 myself.
>
> I don’t mind the not-quite-black text.


While we're at it, I would like to mention an interesting project:

http://ethanschoonover.com/solarized

It does not (mainly) focus on web accessibility.
Actually, testing its default web page scheme actually fails with the
WebAIM tool:

https://webaim.org/resources/contrastchecker/?fcolor=657B83=FDF6E3

I didn't get used to the Solarized theme immediately (reading the web page
mentioned above), but after a while, it becomes quite relaxing for the eye.
And there is a theory behind this:

"On a sunny summer day I love to read a book outside. Not right in the sun;
that’s too bright. I’ll hunt for a shady spot under a tree.
The shaded paper contrasts with the crisp text nicely.
If you were to actually measure the contrast between the two, you’d find it
is much lower than black text on a white background (or white on black) on
your display device of choice.
Black text on white from a computer display is akin to reading a book in
direct sunlight and tires the eye.
Solarized reduces *brightness contrast* but, unlike many low contrast
colorschemes, retains *contrasting hues* (based on colorwheel relations)
for syntax highlighting readability."

Could be useful for skin creators, web pages with source code, etc.
Just my 2 cents.

BR,
/Johan


>
> Enough bikeshedding. :)
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Warren Young
On Dec 11, 2017, at 9:01 PM, Steve Landers  wrote:
> 
> The slightly lighter gray has the downside of not being visible by many folk 
> with diminished contrast perception.

I’d worry more about poor quality monitors that either have poor white clipping 
behavior or off-axis brightness problems.

Again, it was just an idea for consideration.  I’ll be redesigning the skin 
locally anyway in most cases to match local project color schemes.

> Old geezers in other words :)

Higher contrast between text and background is better, as a rule.

There are standards for this.  The first tool I tried likes the current scheme, 
however:

https://webaim.org/resources/contrastchecker/?fcolor=44=EFEFEF

I’d go as far as #F8F8F8 myself.

I don’t mind the not-quite-black text.

Enough bikeshedding. :)
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Steve Landers
The slightly lighter gray has the downside of not being visible by many folk 
with diminished contrast perception.

Old geezers in other words :)

My vote would be to stick with the current color and also to ensure no 
generated branch colors ever come close to matching it.

On 12 Dec 2017, 11:47 AM +0800, Warren Young , wrote:
> On Dec 11, 2017, at 5:03 PM, Richard Hipp  wrote:
> >
> > A new version of Fossil is up with some minor UI tweaks:
> >
> > (1) No more box around comments in the Modern and Columnar views.
> > Instead, the background color is a light gray.
>
> Works for me, though maybe a slightly lighter gray, barely perceptible?
>
> Just a thought.
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread sky5walk
Wow, you are fast. Back to 1 pair ().

On Dec 11, 2017 8:13 PM, "Richard Hipp"  wrote:

> On 12/11/17, sky5w...@gmail.com  wrote:
> > Compact view now has double ((parentheses)) ??
>
> Did you press "Reload"?  Can you send me a link to the page you are
> viewing?
>
> --
> D. Richard Hipp
> d...@sqlite.org
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Richard Hipp
On 12/11/17, sky5w...@gmail.com  wrote:
> Compact view now has double ((parentheses)) ??

Did you press "Reload"?  Can you send me a link to the page you are viewing?

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread sky5walk
Compact view now has double ((parentheses)) ??

On Dec 11, 2017 7:03 PM, "Richard Hipp"  wrote:

> A new version of Fossil is up with some minor UI tweaks:
>
> (1) No more box around comments in the Modern and Columnar views.
> Instead, the background color is a light gray.
>
> (2) The details of each entry are shown inside parentheses in the
> Verbose and Compact views.
>
> Please continue to provide feedback.
> --
> D. Richard Hipp
> d...@sqlite.org
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Richard Hipp
A new version of Fossil is up with some minor UI tweaks:

(1) No more box around comments in the Modern and Columnar views.
Instead, the background color is a light gray.

(2) The details of each entry are shown inside parentheses in the
Verbose and Compact views.

Please continue to provide feedback.
-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Richard Hipp
On 12/11/17, Florian Balmer  wrote:
>
> So my strategy here was to argue for a generally accepted default that
> would be built into Fossil ;-)
>

That is a reasonable argument.  I will take it under consideration.
But no promises!

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Warren Young
On Dec 11, 2017, at 3:09 PM, Rolf Ade  wrote:
> 
> Florian Balmer writes:
>> I didn't want to spend my hobby time with CSS
>> diffing.
> 
> ...having own
> skins and CSS as branch of the main trunk(s) (the build-in skins) and to
> be able to merge the own skins/CSS from the build-in skins, as they
> development …


Try:

   $ fossil conf export skin foo
   …upgrade Fossil, switch repo to skin you wish to merge…
   $ fossil conf merge foo

I haven’t tested it, but it looks like it should work.  See “fossil help conf” 
for more on this.

If it works, it might be nice to have a shortcut:

   $ fossil conf merge skin

If given an AREA argument instead of a FILENAME, it should roll you back to the 
parent skin and then merge the changes using the same mechanism it currently 
allows for diffing your current skin against the parent skin.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Rolf Ade

Florian Balmer writes:
> At first I maintained my own Fossil skins. But after two or three
> updates, even with only simple changes to the default CSS, I gave up
> my own skins, as I didn't want to spend my hobby time with CSS
> diffing.

It's mixing completely different things and levels but -- having own
skins and CSS as branch of the main trunk(s) (the build-in skins) and to
be able to merge the own skins/CSS from the build-in skins, as they
development ...

It would just feel right.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Warren Young
On Dec 11, 2017, at 2:07 PM, Florian Balmer  wrote:
> 
> So my strategy here was to argue for a generally accepted default that
> would be built into Fossil ;-)

Switch to Modern view? :)
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Florian Balmer
Thanks for the instructions and demonstration.

Simple to do, I agree. A minor issue for me is that I have some tasks
where I copy-paste parts of the timeline view to another program, and
some web browsers do not copy the CSS parenthesis, making things
harder to read, again. Picking individual entries from the command
line timeline interface is not so straight forward.

But you got me on the wrong leg:

I'm a computer hobbyist, and I "refused" to use version control
systems for a long time, due to its complexity, and the amount of
hobby time I would have to invest. This has changed only when I
learned about Fossil, and I'm always fascinated by its simplicity.

At first I maintained my own Fossil skins. But after two or three
updates, even with only simple changes to the default CSS, I gave up
my own skins, as I didn't want to spend my hobby time with CSS
diffing.

So my strategy here was to argue for a generally accepted default that
would be built into Fossil ;-)

--Florian
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Richard Hipp
On 12/11/17, Florian Balmer  wrote:
>
> So please allow me to vote for metadata being put in parenthesis,
> again, for the Timeline Verbose View.
>

That is easily done using CSS.  See, for example,
https://www.fossil-scm.org/fossil/draft4/timeline?ss=v

The effect shows above was accomplished by adding following rules to the CSS:

span.timelineVerboseDetail:before { content: "("; }
span.timelineVerboseDetail:after { content: ")"; }
span.timelineCompactDetail:before { content: "("; }
span.timelineCompactDetail:after { content: ")"; }

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Florian Balmer
Yes, Modern View and Columnar View already have a good demarcation due
to spatial distance, borders, and different styles.

--Florian
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Martin Gagnon
On Mon, Dec 11, 2017 at 06:51:17PM +0100, Florian Balmer wrote:
> Thanks for the recent timeline changes.
> 
> Most of my check-in comments do not end with a dot. In the timeline
> web view, it used to look like this:
> 
> [xx] This is the check-in comment (user: username, tags: trunk)
> 
> For the current development version in Verbose View, it looks like this:
> 
> [xx] This is the check-in comment user: username, tags: trunk
> 
> I found it easier to distinguish metadata from comments in the first
> version. Even if check-in comments are terminated with a dot, there's
> not the same clear visual demarcation with lowercase letters.
> 
> So please allow me to vote for metadata being put in parenthesis,
> again, for the Timeline Verbose View.

+1

Just to clarify, you're request apply for the "Compact View" and the
"Verbose View" right ?

"Modern View" and "Columnar View" don't have the same problem and looks
better without the parenthesis I think.

-- 
Martin G.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Metadata in Timeline Verbose View

2017-12-11 Thread Florian Balmer
Thanks for the recent timeline changes.

Most of my check-in comments do not end with a dot. In the timeline
web view, it used to look like this:

[xx] This is the check-in comment (user: username, tags: trunk)

For the current development version in Verbose View, it looks like this:

[xx] This is the check-in comment user: username, tags: trunk

I found it easier to distinguish metadata from comments in the first
version. Even if check-in comments are terminated with a dot, there's
not the same clear visual demarcation with lowercase letters.

So please allow me to vote for metadata being put in parenthesis,
again, for the Timeline Verbose View.

--Florian
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users