Skip to content

Hide all projects except command-line builds in analysis mode

Elliot Smith yocto-toaster 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6toaster: Add BUILD_MODE flag to contextbitbake/lib/toaster/toastergui/views.py bitbake/lib/toaster/toastermain/settings.py bitbake/lib/toaster/toastermain/urls.py+7 -50 replies
2/6toaster: Show mode-appropriate landing pagebitbake/lib/toaster/toastergui/templates/landing.html+58 -450 replies
3/6toaster: Hide top bar buttons in analysis modebitbake/lib/toaster/toastergui/templates/base.html+13 -50 replies
4/6toaster: Hide builds for non-cli projects in analysis modebitbake/lib/toaster/toastergui/views.py+15 -30 replies
5/6toaster: Run tests in build modebitbake/lib/toaster/toastergui/tests.py+6 -00 replies
6/6toaster: Remove all navigation when not in build modebitbake/lib/toaster/toastergui/templates/base.html bitbake/lib/toaster/toastergui/views.py+14 -40 replies

Reviews trailers per patch

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

Read the v1 thread

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

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.