Skip to contentSkip to conversation

michaelw/porting-layerdetails-tables

review-request Michael Wood 3 participants 7 messages May 18, 2015 – May 21, 2015

lore
Share & tools
lore
#0 lore raw

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing layerdetails js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile compared to the "main" tables.

#1 lore raw

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Thanks!

Belén

Quoted 35 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

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

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Is that feature wanted for both kinds of the table?

And that's if a search or filter is not currently applied right?

Quoted 41 lines

Thanks!

Belén

Quoted 35 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

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

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Is that feature wanted for both kinds of the table?

No, only the ones in the 'details' pages (recipe details, package details, layer details kind of thing). So this is not needed in the higher level tables (all layers, all packages, all recipes, all tasks, all compatible layers, all compatible recipes, all compatible machines and so on). Although the higher level tables pretty much always have more than 10 entries, so I guess if you implement the logic in both the practical implications are negligible. If that's easier, go for it.

Quoted 2 lines

And that's if a search or filter is not currently applied right?

Yes, indeed.

Quoted 44 lines
Quoted 43 lines

Thanks!

Belén

Quoted 35 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

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

v2 pushed

Note I've fixed a caching issue I spotted

Full list of commits for review:

commit 096423c4375b6d628b4eb408bbdab6411bd16715

Author: Michael Wood <[email protected]>
Date:   Tue May 19 16:10:19 2015 +0100

bitbake: toaster: Add an invalidate cache method on data update signal

Instead of relying on the cache expiring over an amount of time we can listen to the changed notification on the models to invalidate the cache. Also fixes overlapping cache names.

commit 17d07ac77e411de5c8dd4e6b216330d766bde34a

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing layerdetails js and html template.

commit 34a6159e14da621e356ccd6ec56059ef6a685583

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile compared to the "main" tables.

commit 48931980173e4f69ec24c246b6b8b6a9ee9b0ed8

Author: Michael Wood <[email protected]>
Date:   Mon May 18 13:44:53 2015 +0100

bitbake: toaster: Fix toastertable header

Fixes regression introduced by 'tables updates for HTML5 compliance'

Quoted 60 lines · Belen
Quoted 4 lines · Michael Wood
Quoted 2 lines · Belen

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Is that feature wanted for both kinds of the table?

No, only the ones in the 'details' pages (recipe details, package details, layer details kind of thing). So this is not needed in the higher level tables (all layers, all packages, all recipes, all tasks, all compatible layers, all compatible recipes, all compatible machines and so on). Although the higher level tables pretty much always have more than 10 entries, so I guess if you implement the logic in both the practical implications are negligible. If that's easier, go for it.

Quoted 1 line

And that's if a search or filter is not currently applied right?

Yes, indeed.

Quoted 42 lines
Quoted 42 lines

Thanks!

Belén

Quoted 35 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

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

v2 pushed

This looks good to me. Thanks!

Belén

Quoted 123 lines

Note I've fixed a caching issue I spotted

Full list of commits for review:

commit 096423c4375b6d628b4eb408bbdab6411bd16715

Author: Michael Wood <[email protected]>
Date:   Tue May 19 16:10:19 2015 +0100

bitbake: toaster: Add an invalidate cache method on data update
signal

Instead of relying on the cache expiring over an amount of time we
can
listen to the changed notification on the models to invalidate the cache. Also fixes overlapping cache names.

commit 17d07ac77e411de5c8dd4e6b216330d766bde34a

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit 34a6159e14da621e356ccd6ec56059ef6a685583

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

commit 48931980173e4f69ec24c246b6b8b6a9ee9b0ed8

Author: Michael Wood <[email protected]>
Date:   Mon May 18 13:44:53 2015 +0100

bitbake: toaster: Fix toastertable header

Fixes regression introduced by 'tables updates for HTML5 compliance'

Quoted 62 lines · Belen
Quoted 4 lines · Michael Wood
Quoted 2 lines · Belen

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Is that feature wanted for both kinds of the table?

No, only the ones in the 'details' pages (recipe details, package details,
layer details kind of thing). So this is not needed in the higher level tables (all layers, all packages, all recipes, all tasks, all compatible layers, all compatible recipes, all compatible machines and so on). Although the higher level tables pretty much always have more than 10 entries, so I guess if you implement the logic in both the practical implications are negligible. If that's easier, go for it.

Quoted 1 line

And that's if a search or filter is not currently applied right?

Yes, indeed.

Quoted 43 lines
Quoted 43 lines

Thanks!

Belén

Quoted 36 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a
number of
features removed such as edit columns and has a lower profile
compared
to the "main" tables.

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

All taken for submission,

Thank you,
Alex

Quoted 140 lines · Belen
Quoted 1 line · Michael Wood

v2 pushed

This looks good to me. Thanks!

Belén

Quoted 53 lines

Note I've fixed a caching issue I spotted

Full list of commits for review:

commit 096423c4375b6d628b4eb408bbdab6411bd16715

Author: Michael Wood <[email protected]>
Date:   Tue May 19 16:10:19 2015 +0100

bitbake: toaster: Add an invalidate cache method on data update
signal

Instead of relying on the cache expiring over an amount of time we
can
listen to the changed notification on the models to invalidate the cache. Also fixes overlapping cache names.

commit 17d07ac77e411de5c8dd4e6b216330d766bde34a

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit 34a6159e14da621e356ccd6ec56059ef6a685583

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile
compared
to the "main" tables.

commit 48931980173e4f69ec24c246b6b8b6a9ee9b0ed8

Author: Michael Wood <[email protected]>
Date:   Mon May 18 13:44:53 2015 +0100

bitbake: toaster: Fix toastertable header

Fixes regression introduced by 'tables updates for HTML5 compliance'

Quoted 70 lines
Quoted 62 lines · Belen
Quoted 4 lines · Michael Wood
Quoted 2 lines · Belen

Looking pretty good. Only one comment: these tables should only show search and show rows menu if they have more than 10 entries.

Is that feature wanted for both kinds of the table?

No, only the ones in the 'details' pages (recipe details, package details,
layer details kind of thing). So this is not needed in the higher level tables (all layers, all packages, all recipes, all tasks, all compatible layers, all compatible recipes, all compatible machines and so on). Although the higher level tables pretty much always have more than 10 entries, so I guess if you implement the logic in both the practical implications are negligible. If that's easier, go for it.

Quoted 1 line

And that's if a search or filter is not currently applied right?

Yes, indeed.

Quoted 43 lines
Quoted 43 lines

Thanks!

Belén

Quoted 36 lines · Michael Wood

Squeezed in a few clean ups into this as well.

commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47

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

bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing
layerdetails
js and html template.

commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1

Author: Michael Wood <[email protected]>
Date:   Mon May 18 20:01:44 2015 +0100

bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a
number of
features removed such as edit columns and has a lower profile
compared
to the "main" tables.

--
_______________________________________________
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