[Toaster] [PATCH 0/4] Add delete layer and fix layer rev saving

Barros Pena, Belen belen.barros.pena at intel.com
Wed Jul 6 06:22:29 PDT 2016



On 04/07/2016 21:56, "toaster-bounces at yoctoproject.org on behalf of
Michael Wood" <toaster-bounces at yoctoproject.org on behalf of
michael.g.wood at intel.com> wrote:

>
>Michael Wood (4):
>  toaster: layerdetails api Fix saving of git revision of a layer
>  toaster: api Add util function for returning the error response
>  toaster: add Layer delete front end feature to layerdetails
>  toaster: tests Add selenium test for layerdetails page

The fix to the revision changes for imported layers (8952) works like a
charm: I can edit all the layer details now. I can also delete an imported
layer \0/, but when I get redirected to the project configuration page
after clicking the 'delete' button no notification appears, so I am left
wondering if the layer was deleted or not.

I also spotted that the question in the delete confirmation dialog is
missing the question mark.

Thanks!!

Belén

PS: I hate delete confirmation dialogs ... For the record ;)

>
> .../tests/browser/test_layerdetails_page.py        | 190
>+++++++++++++++++++++
> bitbake/lib/toaster/toastergui/api.py              | 121 +++++++++++--
> .../toaster/toastergui/static/js/layerdetails.js   |  20 +++
> .../toaster/toastergui/static/js/projectpage.js    |  18 ++
> .../toaster/toastergui/templates/layerdetails.html |  18 +-
> bitbake/lib/toaster/toastergui/urls.py             |   5 +-
> bitbake/lib/toaster/toastergui/views.py            |  43 -----
> 7 files changed, 360 insertions(+), 55 deletions(-)
> create mode 100644
>bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
>
>-- 
>2.7.4
>
>-- 
>_______________________________________________
>toaster mailing list
>toaster at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster



More information about the toaster mailing list