Skip to contentSkip to conversation

bbarrosp/front-end-fixes

review-request Barros Pena, Belen 2 participants 5 messages Sep 29, 2014 – Sep 30, 2014

lore
Share & tools
lore
#0 lore raw

This branch fixes a few small problems in Toaster 1.6:

* Fix the no reverse dependencies notification
* Clean up the mark up of the table controls
* Fix the blue highlight animation for failed tasks when you click the task order number
* Remove the sorting from the size over total column, which cropped in again somehow
* Remove some extra white space from the build dashboard
* Change the help text of the task covered by information
* Show failed task in the build dashboard when they exist

Thanks!

Belén

#1 lore raw

Hi,

This patchset is queued for submission, with the exception of:

1d0d2fefe8b85795c9a8ab15c5f397cd02308b38 Clean up the mark up of the table controls

This doesn't apply cleanly on toaster/master.

Additionally, I am not sure about changing the markup from <div> to <form> in certain sections - the <form> tag implies an action made by the browser upon changing the form data, which doesn't happen in this page; why was the form necessary here ?

Cheers,
Alex

Quoted 22 lines · Belen

This branch fixes a few small problems in Toaster 1.6:

* Fix the no reverse dependencies notification
* Clean up the mark up of the table controls
* Fix the blue highlight animation for failed tasks when you click the task order number
* Remove the sorting from the size over total column, which cropped in again somehow
* Remove some extra white space from the build dashboard
* Change the help text of the task covered by information
* Show failed task in the build dashboard when they exist

Thanks!

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Signature · 3 lines
Alex Damian
Yocto Project
SSG / OTC
#2 lore raw
Quoted 11 lines · Alexandru

Hi,

This patchset is queued for submission, with the exception of:

1d0d2fefe8b85795c9a8ab15c5f397cd02308b38 Clean up the mark up of the table controls

Quoted 6 lines

This doesn't apply cleanly on toaster/master.

Additionally, I am not sure about changing the markup from <div> to <form> in certain sections - the <form> tag implies an action made by the browser upon changing the form data, which doesn't happen in this page; why was the form necessary here ?

Well, because it is a form. There is an action performed by the browser upon changing the form data, as you say: the number of rows displayed changes.

Cheers

Belén

Quoted 44 lines

Cheers,
Alex

On Mon, Sep 29, 2014 at 5:51 PM, Barros Pena, Belen <[email protected]> wrote:

This branch fixes a few small problems in Toaster 1.6:

* Fix the no reverse dependencies notification
* Clean up the mark up of the table controls
* Fix the blue highlight animation for failed tasks when you click the task order number
* Remove the sorting from the size over total column, which cropped in again somehow
* Remove some extra white space from the build dashboard
* Change the help text of the task covered by information
* Show failed task in the build dashboard when they exist

Thanks!

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Signature · 4 lines
Alex Damian
Yocto Project

SSG / OTC 
#3 lore raw

Hi,

I mis-expressed myself when I said "it implies an action" - what I meant is that the <form> tag has special semantics - i.e. it triggers a call to the backend according to "method" (GET or POST - in fact, an HTTP verb) and "action" (as an URL, absolute or relative) parameters on the <form> tag.

When "method" and "action" are not defined, they take implicit values of "GET" (for method) and current URL for "action". Some browsers also imply special semantics for the <form> tag, e.g. it may trigger an action if there is only one input in the form, and the input changes (because it lacks the "submit"-type input, it has to infer it).

In our case, we use an input element (a <select>), but we track changes to it via javascript and not via implied browser code. The reason we do this is because we emulate sessions using cookies and we need to keep the page size in a cookie - modifying the browser default behaviour.

Surrounding this element with a <form> tag may create a conflict between built-in browser behaviour and the javascript we use to actually effect action on that specific select change, at least in some browsers.

Hope this helps,
Alex

Quoted 77 lines · Belen
Quoted 11 lines · Alexandru

Hi,

This patchset is queued for submission, with the exception of:

1d0d2fefe8b85795c9a8ab15c5f397cd02308b38 Clean up the mark up of the table controls

Quoted 6 lines

This doesn't apply cleanly on toaster/master.

Additionally, I am not sure about changing the markup from <div> to <form> in certain sections - the <form> tag implies an action made by the browser upon changing the form data, which doesn't happen in this page; why was the form necessary here ?

Well, because it is a form. There is an action performed by the browser upon changing the form data, as you say: the number of rows displayed changes.

Cheers

Belén

Quoted 44 lines

Cheers,
Alex

On Mon, Sep 29, 2014 at 5:51 PM, Barros Pena, Belen <[email protected]> wrote:

This branch fixes a few small problems in Toaster 1.6:

* Fix the no reverse dependencies notification
* Clean up the mark up of the table controls
* Fix the blue highlight animation for failed tasks when you click the task order number
* Remove the sorting from the size over total column, which cropped in again somehow
* Remove some extra white space from the build dashboard
* Change the help text of the task covered by information
* Show failed task in the build dashboard when they exist

Thanks!

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

--
Alex Damian
Yocto Project

SSG / OTC

Signature · 3 lines
Alex Damian
Yocto Project
SSG / OTC
#4 lore raw

I'll change that back to a div and resubmit.

Thanks!

Belén

Quoted 128 lines · Alexandru

Hi,

I mis-expressed myself when I said "it implies an action" - what I meant is that the <form> tag has special semantics - i.e. it triggers a call to the backend according to "method" (GET or POST - in fact, an HTTP verb) and "action" (as an URL, absolute or relative)
parameters on the <form> tag.

When "method" and "action" are not defined, they take implicit values of "GET" (for method) and current URL for "action". Some browsers also imply special semantics for the <form> tag, e.g. it may trigger an action if there is only one input in the form, and
the input changes (because it lacks the "submit"-type input, it has to infer it).

In our case, we use an input element (a <select>), but we track changes to it via javascript and not via implied browser code. The reason we do this is because we emulate sessions using cookies
and we need to keep the page size in a cookie - modifying the browser default behaviour.

Surrounding this element with a <form> tag may create a conflict between built-in browser behaviour and the javascript we use to actually effect action on that specific select change, at least in some browsers.

Hope this helps,
Alex

On Tue, Sep 30, 2014 at 10:03 AM, Barros Pena, Belen <[email protected]> wrote:

Quoted 11 lines · Alexandru

Hi,

This patchset is queued for submission, with the exception of:

1d0d2fefe8b85795c9a8ab15c5f397cd02308b38 Clean up the mark up of the table controls

Quoted 6 lines

This doesn't apply cleanly on toaster/master.

Additionally, I am not sure about changing the markup from <div> to <form> in certain sections - the <form> tag implies an action made by the browser upon changing the form data, which doesn't happen in this page; why was the form necessary here ?

Well, because it is a form. There is an action performed by the browser upon changing the form data, as you say: the number of rows displayed changes.

Cheers

Belén

Quoted 44 lines

Cheers,
Alex

On Mon, Sep 29, 2014 at 5:51 PM, Barros Pena, Belen <[email protected]> wrote:

This branch fixes a few small problems in Toaster 1.6:

* Fix the no reverse dependencies notification
* Clean up the mark up of the table controls
* Fix the blue highlight animation for failed tasks when you click the task order number
* Remove the sorting from the size over total column, which cropped in again somehow
* Remove some extra white space from the build dashboard
* Change the help text of the task covered by information
* Show failed task in the build dashboard when they exist

Thanks!

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

--
Alex Damian
Yocto Project

SSG / OTC

Signature · 4 lines
Alex Damian
Yocto Project

SSG / OTC