Convert builds/, projects/ and projectbuilds/ to ToasterTable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | toaster: toastergui Use ToasterTable for projects pagebitbake/ bitbake/ bitbake/ | +265 | 0 replies | |
| 2/17 | toaster: Move image file suffix list to modelbitbake/ bitbake/ | +10 | 0 replies | |
| 3/17 | toaster: Check inferred file suffixes against list of known typesbitbake/ bitbake/ bitbake/ | +75 | 0 replies | |
| 4/17 | toaster: toastergui Switch projects/ view to ToasterTablebitbake/ bitbake/ | +22 | 0 replies | |
| 5/17 | toaster: toastergui Use event delegates for hover help elementsbitbake/ | +4 | 0 replies | |
| 6/17 | toaster: toastergui Convert all builds page to ToasterTablebitbake/ bitbake/ bitbake/ +2 more | +407 | 0 replies | |
| 7/17 | toaster: toastergui Add QuerysetFilter classbitbake/ bitbake/ bitbake/ | +65 | 0 replies | |
| 8/17 | toaster: toastergui Refactor ToasterTable filteringbitbake/ bitbake/ bitbake/ +2 more | +289 | 0 replies | |
| 9/17 | toaster: toastergui Switch off filter highlights when inactivebitbake/ | +7 | 0 replies | |
| 10/17 | toaster: toastergui Show recent builds on all builds pagebitbake/ bitbake/ bitbake/ | +23 | 0 replies | |
| 11/17 | toaster: toastergui Implement date range filters for buildsbitbake/ bitbake/ bitbake/ +3 more | +329 | 0 replies | |
| 12/17 | toaster: toastergui Implement "today" and "yesterday" filtersbitbake/ bitbake/ bitbake/ +3 more | +211 | 0 replies | |
| 13/17 | toaster: toastergui Convert project builds page to ToasterTablebitbake/ bitbake/ bitbake/ +5 more | +223 | 0 replies | |
| 14/17 | toaster: tests Fix Django tests for new ToasterTable pagesbitbake/ | +170 | 0 replies | |
| 15/17 | toaster: toastergui Don't hide all elements with .col classbitbake/ | +4 | 0 replies | |
| 16/17 | toaster: toastergui Ensure filter_value updatesbitbake/ | +18 | 0 replies | |
| 17/17 | toaster: toastergui Streamline construction of filter objectsbitbake/ bitbake/ bitbake/ +1 more | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [review-request][PATCH 00/17] Convert builds/, projects/ and projectbuilds/ to ToasterTable
Convert some of the most important Toaster pages to ToasterTable rather than individual templates.
This involved a rewrite of the ToasterTable filter system (see tablefilter.py) to cope with date range filtering for the builds tables.
I also moved a lot of code out of the views into the model, where it seems better placed.
I also fixed a few JS issues which arose while testing, such as filters not de-selecting when there are multiple filters on a table; event handlers being lost when repopulating a table; and incorrect hiding of page elements due to table classes being used for the page title element.
Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8738
Also incidentally fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=8792,
as this functionality works correctly in ToasterTable.
Changes since 6d35574 (toaster-next) are ingit://git.yoctoproject.org/poky-contrib, elliot/toaster/tables-8738
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/tables-8738
Elliot Smith (17):
toaster: toastergui Use ToasterTable for projects page
toaster: Move image file suffix list to model
toaster: Check inferred file suffixes against list of known types
toaster: toastergui Switch projects/ view to ToasterTable
toaster: toastergui Use event delegates for hover help elements
toaster: toastergui Convert all builds page to ToasterTable
toaster: toastergui Add QuerysetFilter class
toaster: toastergui Refactor ToasterTable filtering
toaster: toastergui Switch off filter highlights when inactive
toaster: toastergui Show recent builds on all builds page
toaster: toastergui Implement date range filters for builds
toaster: toastergui Implement "today" and "yesterday" filters
toaster: toastergui Convert project builds page to ToasterTable
toaster: tests Fix Django tests for new ToasterTable pages
toaster: toastergui Don't hide all elements with .col class
toaster: toastergui Ensure filter_value updates
toaster: toastergui Streamline construction of filter objects
bitbake/lib/toaster/orm/models.py | 109 ++- .../lib/toaster/toastergui/static/js/libtoaster.js | 6 +- .../toaster/toastergui/static/js/projecttopbar.js | 9 + bitbake/lib/toaster/toastergui/static/js/table.js | 272 +++++-- bitbake/lib/toaster/toastergui/tablefilter.py | 271 +++++++ bitbake/lib/toaster/toastergui/tables.py | 826 +++++++++++++++++++-- .../toastergui/templates/baseprojectpage.html | 1 + .../toastergui/templates/builds-toastertable.html | 48 ++ .../toaster/toastergui/templates/mrb_section.html | 4 +- .../templates/projectbuilds-toastertable.html | 56 ++ .../templates/projects-toastertable.html | 36 + .../toaster/toastergui/templates/toastertable.html | 7 +- bitbake/lib/toaster/toastergui/tests.py | 255 ++++--- bitbake/lib/toaster/toastergui/urls.py | 14 +- bitbake/lib/toaster/toastergui/views.py | 79 +- bitbake/lib/toaster/toastergui/widgets.py | 94 ++- 16 files changed, 1781 insertions(+), 306 deletions(-) create mode 100644 bitbake/lib/toaster/toastergui/tablefilter.py create mode 100644 bitbake/lib/toaster/toastergui/templates/builds-toastertable.html create mode 100644 bitbake/lib/toaster/toastergui/templates/projectbuilds-toastertable.html create mode 100644 bitbake/lib/toaster/toastergui/templates/projects-toastertable.html
--
Elliot Smith
Software Engineer
Intel OTC
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.