[Toaster] [review-request][PATCH 0/6] Hide all projects except command-line builds in analysis mode

Elliot Smith elliot.smith at intel.com
Fri Oct 16 07:32:51 PDT 2015


The UI currently shows all the navigation elements in both analysis
and build modes, even if they are irrelevant or broken.

As a temporary measure (until we merge the two modes), hide most
of the navigation and UI elements when in analysis mode, so the user
only gets to see the command-line builds project.

Changes since a9053ac0829eb01f6f002587854d01e47a78e6f0 (poky master) are in
git://git.yoctoproject.org/poky-contrib, elliot/toaster/hide_new_project_buttons-8514
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/hide_new_project_buttons-8514

Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8514

Elliot Smith (6):
  toaster: Add BUILD_MODE flag to context
  toaster: Show mode-appropriate landing page
  toaster: Hide top bar buttons in analysis mode
  toaster: Hide builds for non-cli projects in analysis mode
  toaster: Run tests in build mode
  toaster: Remove all navigation when not in build mode

 bitbake/lib/toaster/toastergui/templates/base.html |  22 +++--
 .../lib/toaster/toastergui/templates/landing.html  | 103 ++++++++++++---------
 bitbake/lib/toaster/toastergui/tests.py            |   6 ++
 bitbake/lib/toaster/toastergui/views.py            |  36 ++++++-
 bitbake/lib/toaster/toastermain/settings.py        |   6 +-
 bitbake/lib/toaster/toastermain/urls.py            |   2 +-
 6 files changed, 113 insertions(+), 62 deletions(-)

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



More information about the toaster mailing list