generic-poky/bitbake/lib/toaster/toastergui/templates
Elliot Smith 79e0eb9e52 bitbake: toaster: work-around our lack of a synchronous fetch for typeaheads
The Twitter typeahead.js library expects the developer to use
a source which does a local search for matching suggestions, then
falls back to a remote search if that doesn't return enough
results.

However, in Toaster, we don't do any caching of the suggestions
for a typeahead, so our source only works in asynchronous mode.

Consequently, we see fewer than the expected number of suggestions
if the typeahead has already shown suggestions matching a query.
For example, searching for "meta-n" in the layers typeahead will
show the results for this query; but when the query changes to
"meta-ne", a new set of results is fetched, which mostly overlaps
with the results for "meta-n". The typeahead assumes that the
overlapping items are locally cached and have been delivered
synchronously, and just appends the new results which don't
overlap with the previous query. But because we don't provide any
results synchronously, we just end up with the single
non-overlapping result in the drop-down.

This can be fixed by hacking typeahead.js so that instead of
appending asynchronous results, we always overwrite and redraw
the whole typeahead menu.

This is a temporary fix, and should be properly fixed (when we
have time), perhaps by using typeahead.js's associated Bloodhound
library.

Added a note about the hack to the license file as an explanation
of why the unminified JS file is included in Toaster.

(Bitbake rev: afbaf326e1123c92952fa71e0e820a4ff83488ca)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:03 +01:00
..
snippets bitbake: toaster: add rev dep column to image detail pages 2016-04-06 23:10:31 +01:00
base.html bitbake: toaster: work-around our lack of a synchronous fetch for typeaheads 2016-06-15 08:35:03 +01:00
basebuilddetailpage.html bitbake: toaster: custom breadcrumb for the default project 2016-02-26 17:20:33 +00:00
basebuildpage.html bitbake: toaster: add modal to select custom image for editing 2016-04-19 21:11:26 +01:00
baseprojectbuildspage.html bitbake: toaster: adjust spacing in project pages 2015-08-29 14:03:52 +01:00
baseprojectpage.html bitbake: toaster: Enable Image Customisation feature 2016-02-10 13:29:22 +00:00
basetable_bottom.html bitbake: toaster: move project data typeahead to the REST API 2015-06-12 00:01:47 +01:00
basetable_top.html bitbake: toaster: adjust the search field width 2016-02-26 17:20:24 +00:00
basetable_top_layers.html bitbake: toasterui: URL refactoring 2015-05-12 12:14:13 +01:00
bfile.html bitbake: toaster: clone Simple UI as base for Toaster GUI 2014-01-10 15:20:24 +00:00
bpackage.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
brtargets.html bitbake: toaster-gui: Show task name for the builds in /builds 2015-05-29 11:59:45 +01:00
builddashboard.html bitbake: toaster: show suffix for image files and basename for artifact files 2016-02-26 17:20:28 +00:00
buildrequestdetails.html bitbake: toastergui: Implement new project navigation 2015-08-01 11:26:11 +01:00
builds-toastertable.html bitbake: toastergui: implement "today" and "yesterday" filters 2016-01-15 16:30:00 +00:00
buildtime.html bitbake: toaster: Create the base page navigation structure 2014-01-10 15:20:25 +00:00
configuration.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
configvars.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
cpuusage.html bitbake: toaster: Create the base page navigation structure 2014-01-10 15:20:25 +00:00
customise_btn.html bitbake: toaster: tables Check layer presence in project for customise_btn 2016-02-10 13:29:19 +00:00
customrecipe.html bitbake: toaster: tweaks to recipe file downloads 2016-06-15 08:35:03 +01:00
detail_pagination_bottom.html bitbake: toaster: move project data typeahead to the REST API 2015-06-12 00:01:47 +01:00
detail_search_header.html bitbake: toasterui: fixes after html5 compliance testing 2015-06-26 09:27:32 +01:00
detail_sorted_header.html bitbake: toasterui: fixes after html5 compliance testing 2015-06-26 09:27:32 +01:00
dirinfo.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
diskio.html bitbake: toaster: Create the base page navigation structure 2014-01-10 15:20:25 +00:00
editcustomimage_modal.html bitbake: toaster: add modal to select custom image for editing 2016-04-19 21:11:26 +01:00
filtersnippet.html bitbake: toaster: refactor build model 2015-06-26 09:27:32 +01:00
generic-toastertable-page.html bitbake: toastergui: layerBtn use libtoaster for change notification 2015-08-01 11:26:12 +01:00
importlayer.html bitbake: toaster: change 'revision' to 'Git revision' 2016-03-07 17:23:03 +00:00
js-unit-tests.html bitbake: toaster: Add quint to project so that it can be used offline 2016-04-06 23:10:31 +01:00
landing.html bitbake: toaster: remove usage of BUILD_MODE variable 2015-12-07 17:37:10 +00:00
landing_not_managed.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
layer_btn.html bitbake: toaster: change 'delete layer' to 'remove layer' 2016-02-26 17:20:38 +00:00
layerdetails.html bitbake: toaster: change 'revision' to 'Git revision' 2016-03-07 17:23:03 +00:00
machine_btn.html bitbake: toaster: machines table Fix missing layers information needed for filter 2015-12-07 17:01:20 +00:00
mrb_section.html bitbake: toaster: don't use mru.count in the template 2016-06-02 08:24:05 +01:00
newcustomimage.html bitbake: toaster: newcustomimage Move modal dialog out of newcustomimage template 2016-02-10 13:29:17 +00:00
newcustomimage_modal.html bitbake: toaster: add build dashboard buttons to edit/create custom images 2016-04-19 21:11:26 +01:00
newproject.html bitbake: toaster: ui handles duplicate project name in new project page 2016-05-11 11:32:58 +01:00
package_built_dependencies.html bitbake: toaster: Make sure layer branch only shows when not empty 2014-05-08 16:18:12 +01:00
package_built_detail.html bitbake: toaster: Make sure layer branch only shows when not empty 2014-05-08 16:18:12 +01:00
package_detail_base.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
package_included_dependencies.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
package_included_detail.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
package_included_reverse_dependencies.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
package_included_tabs.html bitbake: toaster: Make sure layer branch only shows when not empty 2014-05-08 16:18:12 +01:00
pkg_add_rm_btn.html bitbake: toaster: customrecipe Add dependency tracking to package selection 2016-02-10 13:29:21 +00:00
project.html bitbake: toaster: comment out project release change 2016-02-26 17:20:11 +00:00
projectbuilds-toastertable.html bitbake: toastergui: convert project builds page to ToasterTable 2016-01-15 16:30:00 +00:00
projectbuilds.html bitbake: toaster: builds pages Fix the download cooker log link 2015-11-16 11:55:08 +00:00
projectconf.html bitbake: toaster: projectconf Small tweaks to IMAGE_FSTYPES form 2016-05-20 10:09:02 +01:00
projects-toastertable.html bitbake: toastergui: use ToasterTable for projects page 2016-01-15 16:29:59 +00:00
projecttopbar.html bitbake: toaster: ui handles duplicate project name in project page 2016-05-11 11:32:58 +01:00
recipe.html bitbake: toaster: show 'satisfied via' text for reverse deps 2016-01-11 23:26:33 +00:00
recipe_btn.html bitbake: toaster: Fix stale layer state buttons 2015-10-11 08:11:29 +01:00
recipe_packages.html bitbake: toaster: add sort, search, paging to recipe package page 2015-03-09 14:33:47 +00:00
recipedetails.html bitbake: toaster: link to configuration in all breadcrumbs 2016-02-26 17:20:21 +00:00
recipes.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
tablesort.html bitbake: toaster: fix invalid fields in the package details page 2015-08-17 08:48:27 +01:00
target.html bitbake: toaster: templates Add meaningful title tags 2015-10-29 07:32:10 +00:00
task.html bitbake: toaster: rework task buildstats storage and display 2016-03-09 22:45:16 +00:00
tasks.html bitbake: toaster: fix sorting after hiding a column in build tables 2016-04-19 21:11:25 +01:00
toastertable-filter.html bitbake: toastergui: make "Apply" button state depend on filter range 2016-01-15 16:30:00 +00:00
toastertable-simple.html bitbake: toasterui: fixes after html5 compliance testing 2015-06-26 09:27:32 +01:00
toastertable.html bitbake: toaster: adjust the search field width 2016-02-26 17:20:24 +00:00
unavailable_artifact.html bitbake: toastergui: make artifact download more robust 2016-01-18 22:06:46 +00:00