Skip to contentSkip to conversation

git push - set page title

DISCUSSION Barros Pena, Belen 2 participants 5 messages Jan 16, 2014 – Jan 29, 2014

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Ravi Chintakunta

Hi Alex,

I have pushed a commit to ravi/all-tasks-feature to set the page title if viewName is set in the context.

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ravi/all-
tasks-feature&id=ad93ca464bf50fc798a507532feaeae02f9ba653

Thanks, Ravi. I have a few front-end comments, if that's ok:

* The icon indicating the applied sorting direction should be icon-caret-down and icon-caret-up, instead of icon-circle-arrow-down and icon-circle-arrow-up

* Some of the table headings have inline styles. Those were there in the prototype, but we should probably not use them in the real thing. You can set the right font weight in default.css adding

th > a, th > span { font-weight: normal; }

* The table heading with the applied sorting criteria (Order) should be bold and dark grey. In the prototype I apply a class="sorted" to it, with the class defined in default.css like this

.sorted { color: #333333; font-weight: bold; } .sorted:hover { color: #000000; text-decoration: underline; }

* Headings that are not sortable (Recipe version) should have the .muted class applied

* In the tasks table, all headings should be sortable, except for 'Recipe version¹

* In the table itself, the following should not show:

** For covered tasks, the covering task (it should say just Covered and not Covered by gnu-config-native.do_build). Most tasks will be covered by more than one task, and showing them all in the table will make it hard to read.

** Time when 0. When time is 0, the cell should be empty

** CPU usage and Disk I/O when None. If they are None, the cell should be empty

** Cache attempt when Not applicable. If it is Not applicable, the cell should be empty

Cheers

Belén

Quoted 7 lines

Thanks,
Ravi
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#1 lore raw

Hi Belen,

Comments inline.

Quoted 2 lines

Thanks, Ravi. I have a few front-end comments, if that's ok:

Not a problem, I appreciate your comments.

Quoted 5 lines

* The icon indicating the applied sorting direction should be icon-caret-down and icon-caret-up, instead of icon-circle-arrow-down and
icon-circle-arrow-up

Fixed.

Quoted 8 lines

* Some of the table headings have inline styles. Those were there in the
prototype, but we should probably not use them in the real thing. You can
set the right font weight in default.css adding

th > a, th > span { font-weight: normal; }

Fixed and added style to default.css

Quoted 9 lines

* The table heading with the applied sorting criteria (Order) should be
bold and dark grey. In the prototype I apply a class="sorted" to it, with
the class defined in default.css like this

.sorted { color: #333333; font-weight: bold; } .sorted:hover { color: #000000; text-decoration: underline; }

Done. With this I do not see distinctive difference between sortable header and the actively sorted header.

Quoted 21 lines

* Headings that are not sortable (Recipe version) should have the .muted
class applied

* In the tasks table, all headings should be sortable, except for 'Recipe
version¹

* In the table itself, the following should not show:

** For covered tasks, the covering task (it should say just Covered and
not Covered by gnu-config-native.do_build). Most tasks will be covered by
more than one task, and showing them all in the table will make it hard
to read.

** Time when 0. When time is 0, the cell should be empty

Quoted 8 lines

** CPU usage and Disk I/O when None. If they are None, the cell should be
empty

** Cache attempt when Not applicable. If it is Not applicable, the cell
should be empty

Fixed all the above.

Thanks,
Ravi

#2 lore raw

Thanks for all the work, Ravi. Some comments inline.

Cheers

Belén

Quoted 35 lines · Ravi Chintakunta

Hi Belen,

Comments inline.

Quoted 2 lines

Thanks, Ravi. I have a few front-end comments, if that's ok:

Not a problem, I appreciate your comments.

Quoted 5 lines

* The icon indicating the applied sorting direction should be icon-caret-down and icon-caret-up, instead of icon-circle-arrow-down and
icon-circle-arrow-up

Fixed.

Quoted 8 lines

* Some of the table headings have inline styles. Those were there in the
prototype, but we should probably not use them in the real thing. You can
set the right font weight in default.css adding

th > a, th > span { font-weight: normal; }

Fixed and added style to default.css

Quoted 7 lines

* The table heading with the applied sorting criteria (Order) should be
bold and dark grey. In the prototype I apply a class="sorted" to it, with
the class defined in default.css like this

Quoted 5 lines
Quoted 2 lines

.sorted { color: #333333; font-weight: bold; } .sorted:hover { color: #000000; text-decoration: underline; }

Done. With this I do not see distinctive difference between sortable header and the actively sorted header.

It looks like in default.css the .sorted class is missing the font-weight:bold declaration. Also, in line 178, you are setting the color of th > a, th > span to #333333. This is overridding the default anchor colour (#0088CC). We just need to delete the color:#333333 declaration. Those changes should set the styles right.

Quoted 8 lines
Quoted 8 lines

* Headings that are not sortable (Recipe version) should have the .muted
class applied

* In the tasks table, all headings should be sortable, except for 'Recipe
version¹

From what I can see, there are several headings that are currently not sortable (recipe, recipe version, time, cpu, disk I/o and log). All columns, except recipe version, should be sortable.

Quoted 26 lines
Quoted 13 lines

* In the table itself, the following should not show:

** For covered tasks, the covering task (it should say just Covered and
not Covered by gnu-config-native.do_build). Most tasks will be covered by
more than one task, and showing them all in the table will make it hard
to read.

** Time when 0. When time is 0, the cell should be empty

Quoted 8 lines

** CPU usage and Disk I/O when None. If they are None, the cell should be
empty

** Cache attempt when Not applicable. If it is Not applicable, the cell
should be empty

Fixed all the above.

Thanks,
Ravi

#3 lore raw

Hi Belen,

Quoted 10 lines

It looks like in default.css the .sorted class is missing the font-weight:bold declaration. Also, in line 178, you are setting the color
of th > a, th > span to #333333. This is overridding the default anchor
colour (#0088CC). We just need to delete the color:#333333 declaration.
Those changes should set the styles right.

I believe you fixed this in your changes to default.css

Quoted 5 lines

From what I can see, there are several headings that are currently not sortable (recipe, recipe version, time, cpu, disk I/o and log). All columns, except recipe version, should be sortable.

Good catch. I have fixed this and pushed it to my branch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ravi/all-tasks-feature&id=db06a50711ba5f9239b2e3b64e76d8396f97fcb9

I did not implement this previously, because the columns were being hidden once the sorting was selected. Alex's fix to the column's visibility has made the columns visible and exposed the bug.

Thanks,
Ravi

#4 lore raw

Sorry for the delay Ravi. Comments below.

Cheers

Belén

Quoted 13 lines · Ravi Chintakunta

Hi Belen,

Quoted 10 lines

It looks like in default.css the .sorted class is missing the font-weight:bold declaration. Also, in line 178, you are setting the color
of th > a, th > span to #333333. This is overridding the default anchor
colour (#0088CC). We just need to delete the color:#333333 declaration.
Those changes should set the styles right.

Quoted 1 line

I believe you fixed this in your changes to default.css

Yep, that should be sorted now.

Quoted 10 lines
Quoted 6 lines

From what I can see, there are several headings that are currently not sortable (recipe, recipe version, time, cpu, disk I/o and log). All columns, except recipe version, should be sortable.

Good catch. I have fixed this and pushed it to my branch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ravi/all-
tasks-feature&id=db06a50711ba5f9239b2e3b64e76d8396f97fcb9

This is looking good. Thanks!!

Quoted 7 lines

I did not implement this previously, because the columns were being hidden once the sorting was selected. Alex's fix to the column's visibility has made the columns visible and exposed the bug.

Thanks,
Ravi