toaster: bring back the correct typeahead behaviour as a modular widget
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | bitbake: toaster: orm Add util function to return the url to layerversionlib/ | +4 | 0 replies | |
| 2/12 | bitbake: toaster: orm Add util functions to return common querysetslib/ | +40 | 0 replies | |
| 3/12 | bitbake: toastergui: tables Use util functions for the common querysetslib/ | +3 | 0 replies | |
| 4/12 | bitbake: toastergui: widgets Add a typeahead widgetlib/ | +52 | 0 replies | |
| 5/12 | bitbake: toastergui: Add typeaheads layers, machines, projects, recipeslib/ lib/ | +156 | 0 replies | |
| 6/12 | bitbake: toastergui: Switch to using the new toaster typeahead widgetlib/ lib/ lib/ +4 more | +37 | 0 replies | |
| 7/12 | bitbake: toastergui: libtoaster Throw an exception no url is specifiedlib/ | +2 | 0 replies | |
| 8/12 | bitbake: toasterui: views Remove unused xhr_typeahead view definitionlib/ lib/ lib/ +1 more | +32 | 0 replies | |
| 9/12 | bitbake: toastergui: views Standardise the fields project layer responselib/ | +3 | 0 replies | |
| 10/12 | bitbake: toastergui: tests Fix and more comprehensive typeahead unittestlib/ | +69 | 0 replies | |
| 11/12 | bitbake: toastergui: libtoaster: typeahead resiliency for slow serverlib/ | +17 | 0 replies | |
| 12/12 | bitbake: toastergui: libtoaster typeahead Add in results highlighterlib/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] toaster: bring back the correct typeahead behaviour as a modular widget
Hi,
This is a set of patches from Michael reviewed by me.
List of changes in this patchset:
- New typeahead widget
- Switch to Implementation of widget in frontend
- Utility functions in the models so that the querysets which are used for the ToasterTables are the same queries that are used for the typeaheads.
- Added/Fixed typeahead widget unit tests
Please, review.
The following changes since commit a8b723498c9a7106210db140452886894494b4d6:
bitbake: cooker: Resolve file monitoring race issues when using memres bitbake (2015-08-03 07:36:25 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/toaster/submit/michaelw/toaster/fix-typeahead-behaviour
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/submit/michaelw/toaster/fix-typeahead-behaviour
Michael Wood (12):
bitbake: toaster: orm Add util function to return the url to layerversion
bitbake: toaster: orm Add util functions to return common querysets
bitbake: toastergui: tables Use util functions for the common querysets
bitbake: toastergui: widgets Add a typeahead widget
bitbake: toastergui: Add typeaheads layers, machines, projects, recipes
bitbake: toastergui: Switch to using the new toaster typeahead widget
bitbake: toastergui: libtoaster Throw an exception no url is specified
bitbake: toasterui: views Remove unused xhr_typeahead view definition
bitbake: toastergui: views Standardise the fields project layer response
bitbake: toastergui: tests Fix and more comprehensive typeahead unittest
bitbake: toastergui: libtoaster: typeahead resiliency for slow server
bitbake: toastergui: libtoaster typeahead Add in results highlighter
lib/toaster/orm/models.py | 45 ++++++- lib/toaster/toastergui/static/js/base.js | 26 ++-- lib/toaster/toastergui/static/js/importlayer.js | 12 +- lib/toaster/toastergui/static/js/layerdetails.js | 2 +- lib/toaster/toastergui/static/js/libtoaster.js | 37 ++++-- lib/toaster/toastergui/static/js/projectpage.js | 8 +- lib/toaster/toastergui/tables.py | 11 +- lib/toaster/toastergui/templates/base.html | 8 +- lib/toaster/toastergui/templates/project.html | 3 +- lib/toaster/toastergui/tests.py | 88 +++++++++++--- lib/toaster/toastergui/typeaheads.py | 145 +++++++++++++++++++++++ lib/toaster/toastergui/urls.py | 19 ++- lib/toaster/toastergui/views.py | 71 +++++------ lib/toaster/toastergui/widgets.py | 52 ++++++++ 14 files changed, 423 insertions(+), 104 deletions(-) create mode 100644 bitbake/lib/toaster/toastergui/typeaheads.py
--
Regards,
Ed