Skip to contentSkip to conversation

michaelw/table-porting

review-request Michael Wood 3 participants 3 messages May 11, 2015 – May 13, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

commit 2951e0228000ad9bbd40b96e33a46ff0ad53dd45

Author: Michael Wood <[email protected]>
Date:   Mon May 11 18:51:28 2015 +0100

bitbake: toaster: Port All recipes, layers and machines to
ToasterTables

Port of the main tables to the new ToasterTable widget.

commit 5f2ba9929b6d724bbf211c1461c009c4cb5345c3

Author: Michael Wood <[email protected]>
Date:   Fri May 8 17:24:11 2015 +0100

bitbake: toaster: Add toaster table widget

This widget provides a common client and backend widget to support presenting data tables in Toaster.

It provides; data loading, paging, page size, ordering, filtering, column toggling, caching, column defaults, counts and search.

A message that is not in the archive (sent off-list or not yet received): D177922A.5B78D%[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Those tables are working beautifully. The autocomplete suggestions still don't though.

Thanks!

Belén

Quoted 98 lines · Michael Wood
Quoted 24 lines · Michael Wood
Quoted 5 lines · Belen

Hi Michael,

It pretty much works :) apart from a few glitches. There they go:

* Autocomplete is not working in this branch (it does work on master)

Not me this one, I think it's probably the URL refactor which may be fixed somewhere. It's broken in master too.
I've added a patch on this branch to fix it.

I'll find out what's
going on.

Quoted 9 lines

* The tables don't seem to recognise the layers added to the project. If
you create a project, then go to the all layers table, then search for meta-yocto, it shows the 'add layer' button (but the layer is already added to the project). If you add a layer, then refresh the page, the layer you just added shows the 'add layer' button, instead of the 'delete'
button.

Quoted 3 lines

This is the issue you commented on a bug this morning
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7708

Sorry about that, I jumped the gun, the list of current layers wasn't being returned (for some reason the project layers are called "layercommit" in the database and I didn't test it after changing the get layers function, I assumed it would be "layer id" crazy assumption!)

I've pushed this fix to the branch

Quoted 60 lines
Quoted 5 lines

All recipes table:

* This table is missing the 'layer' column

Done

Quoted 3 lines

* Would it be possible to set a span class in the 'Description' column heading. Otherwise it just takes over the whole table.

Done

Quoted 5 lines

* Sorting doesn't seem to be working in this table. The 'recipe' heading
appears sorted when you load the table, but the recipes are not sorted. When you click on the heading, it sorts by z to a.

Done

Quoted 41 lines

Thanks!

Belén

Quoted 32 lines · Michael Wood

commit 2951e0228000ad9bbd40b96e33a46ff0ad53dd45

Author: Michael Wood <[email protected]>
Date:   Mon May 11 18:51:28 2015 +0100

bitbake: toaster: Port All recipes, layers and machines to
ToasterTables

Port of the main tables to the new ToasterTable widget.

commit 5f2ba9929b6d724bbf211c1461c009c4cb5345c3

Author: Michael Wood <[email protected]>
Date:   Fri May 8 17:24:11 2015 +0100

bitbake: toaster: Add toaster table widget

This widget provides a common client and backend widget to
support
presenting data tables in Toaster.

It provides; data loading, paging, page size, ordering,
filtering,
column toggling, caching, column defaults, counts and search.

Signature · 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
#5 lore raw

Taken for submission, as it is.

Any fixes will have to come on top of this patch set.

Cheers,
Alex

Quoted 114 lines · Belen

Those tables are working beautifully. The autocomplete suggestions still don't though.

Thanks!

Belén

Quoted 29 lines · Michael Wood
Quoted 24 lines · Michael Wood
Quoted 5 lines · Belen

Hi Michael,

It pretty much works :) apart from a few glitches. There they go:

* Autocomplete is not working in this branch (it does work on master)

Not me this one, I think it's probably the URL refactor which may be fixed somewhere. It's broken in master too.
I've added a patch on this branch to fix it.

I'll find out what's
going on.

Quoted 9 lines

* The tables don't seem to recognise the layers added to the project. If
you create a project, then go to the all layers table, then search for meta-yocto, it shows the 'add layer' button (but the layer is already added to the project). If you add a layer, then refresh the page, the layer you just added shows the 'add layer' button, instead of the 'delete'
button.

Quoted 3 lines

This is the issue you commented on a bug this morning
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7708

Quoted 69 lines

Sorry about that, I jumped the gun, the list of current layers wasn't being returned (for some reason the project layers are called "layercommit" in the database and I didn't test it after changing the get layers function, I assumed it would be "layer id" crazy assumption!)

I've pushed this fix to the branch

Quoted 60 lines
Quoted 5 lines

All recipes table:

* This table is missing the 'layer' column

Done

Quoted 3 lines

* Would it be possible to set a span class in the 'Description' column heading. Otherwise it just takes over the whole table.

Done

Quoted 5 lines

* Sorting doesn't seem to be working in this table. The 'recipe' heading
appears sorted when you load the table, but the recipes are not sorted. When you click on the heading, it sorts by z to a.

Done

Quoted 41 lines

Thanks!

Belén

Quoted 32 lines · Michael Wood

commit 2951e0228000ad9bbd40b96e33a46ff0ad53dd45

Author: Michael Wood <[email protected]>
Date:   Mon May 11 18:51:28 2015 +0100

bitbake: toaster: Port All recipes, layers and machines to
ToasterTables

Port of the main tables to the new ToasterTable widget.

commit 5f2ba9929b6d724bbf211c1461c009c4cb5345c3

Author: Michael Wood <[email protected]>
Date:   Fri May 8 17:24:11 2015 +0100

bitbake: toaster: Add toaster table widget

This widget provides a common client and backend widget to
support
presenting data tables in Toaster.

It provides; data loading, paging, page size, ordering,
filtering,
column toggling, caching, column defaults, counts and search.

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

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

Signature · 3 lines
Alex Damian
Yocto Project
SSG / OTC