Description of problem: Please add/return a "Queue" button to the bottom of the Beaker clone job page, as it was in the previous Beaker version. When cloning a job in Beaker there were previously two "Queue" buttons on the clone page. One atop the clone page and one at the bottom. Beaker Version 0.15.3 has only one a the top right. Version-Release number of selected component (if applicable): Version 0.15.3 Additional info:
I guess this is really just a workaround for the fact that the job XML textarea can be taller than the browser viewport, and so when the page is scrolled down the button is no longer visible. I would rather make the textarea adjust itself to fit the browser viewport, than to keep adding more duplicate buttons all over the page.
I reworded the issue title to make it clear that the goal is to ensure the "Queue" button is always visible on this page. As Dan suggests, resizing the text area to match the browser viewport height is likely a better solution to that than duplicating the button.
Dan/Nick, Sounds good to me. Thank you for the response. Best, -pbunyan
I would suggest to fix the submit button postion when scrolling down the page. Then it will be always visible to users. On Gerrit: http://gerrit.beaker-project.org/#/c/3250/ Cheers, Matt Jia
(In reply to matt jia from comment #6) > I would suggest to fix the submit button postion when scrolling down the > page. Then it will be always visible to users. I would prefer to make the job XML textarea size itself according to the viewport, because that will also avoid the annoying problem of two independent scrollbars (one for the page, the other inside the textarea).
It sounds like you want to make the textare autogrow. https://github.com/jackmoore/autosize Cheers, Matt Jia
(In reply to matt jia from comment #8) > It sounds like you want to make the textare autogrow. > > https://github.com/jackmoore/autosize That plugin is pretty neat. I guess combined with a fixed-position button it would be a good solution. What I actually had in mind was just for the textarea to size itself depending on the browser viewport -- so for example if there is only 500px of vertical space for the textarea (because someone is on a low res laptop) then the textarea would size itself to fit, instead of being hardcoded to 40 rows as it is now. I'm not sure which approach is easier or better. The autosize plugin might be better since it would deal with even pathologically small browser viewports (by relying on the page scroll).
I have added jQuery Autosize plugin into our git submodules. On Gerrit: http://gerrit.beaker-project.org/#/c/3258/ Cheers, Matt Jia
(In reply to matt jia from comment #10) > I have added jQuery Autosize plugin into our git submodules. > > On Gerrit: > > http://gerrit.beaker-project.org/#/c/3258/ > > Cheers, Matt Jia Forget about this since it can be achieved by Boostrap "affix" plugin: On Gerrit: http://gerrit.beaker-project.org/#/c/4467/
Beaker 21.2 has been released.