Skip to content

toaster: bring back the correct typeahead behaviour as a modular widget

Ed Bartosh bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12bitbake: toaster: orm Add util function to return the url to layerversionlib/toaster/orm/models.py+4 -00 replies
2/12bitbake: toaster: orm Add util functions to return common querysetslib/toaster/orm/models.py+40 -10 replies
3/12bitbake: toastergui: tables Use util functions for the common querysetslib/toaster/toastergui/tables.py+3 -80 replies
4/12bitbake: toastergui: widgets Add a typeahead widgetlib/toaster/toastergui/widgets.py+52 -00 replies
5/12bitbake: toastergui: Add typeaheads layers, machines, projects, recipeslib/toaster/toastergui/typeaheads.py lib/toaster/toastergui/urls.py+156 -00 replies
6/12bitbake: toastergui: Switch to using the new toaster typeahead widgetlib/toaster/toastergui/static/js/base.js lib/toaster/toastergui/static/js/importlayer.js lib/toaster/toastergui/static/js/layerdetails.js +4 more+37 -260 replies
7/12bitbake: toastergui: libtoaster Throw an exception no url is specifiedlib/toaster/toastergui/static/js/libtoaster.js+2 -00 replies
8/12bitbake: toasterui: views Remove unused xhr_typeahead view definitionlib/toaster/toastergui/static/js/projectpage.js lib/toaster/toastergui/templates/project.html lib/toaster/toastergui/urls.py +1 more+32 -430 replies
9/12bitbake: toastergui: views Standardise the fields project layer responselib/toaster/toastergui/views.py+3 -20 replies
10/12bitbake: toastergui: tests Fix and more comprehensive typeahead unittestlib/toaster/toastergui/tests.py+69 -190 replies
11/12bitbake: toastergui: libtoaster: typeahead resiliency for slow serverlib/toaster/toastergui/static/js/libtoaster.js+17 -10 replies
12/12bitbake: toastergui: libtoaster typeahead Add in results highlighterlib/toaster/toastergui/static/js/libtoaster.js+8 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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