| Summary: | Develop Toaster new project page | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Belen Barros Pena <belen.barros.pena> | ||||||||||||||
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> | ||||||||||||||
| Status: | VERIFIED FIXED | QA Contact: | Mihail Stanciu <stanciux.mihail> | ||||||||||||||
| Severity: | enhancement | ||||||||||||||||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, david.reyna, Yuan.Sun2 | ||||||||||||||
| Version: | unspecified | ||||||||||||||||
| Target Milestone: | 1.8 M2 | ||||||||||||||||
| Hardware: | All | ||||||||||||||||
| OS: | Multiple | ||||||||||||||||
| Whiteboard: | GUI design available | ||||||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||||||||||
| Bug Depends on: | 6893 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Belen Barros Pena
2014-07-29 11:44:38 UTC
Created attachment 2067 [details]
Design - Creating projects
Created attachment 2081 [details]
Design - Creating projects
Add information about how the compatible releases and the default project configuration can be customised via the Django Admin interface.
This is merged. *** Bug 6236 has been marked as a duplicate of this bug. *** Created attachment 2119 [details]
Design - Creating projects
Updated to reflect the latest decisions on the default configuration and to include release descriptions.
Created attachment 2120 [details]
Design - Creating projects
Reopening to track remaining work After some conversations with Alex, we have concluded that we should remove the 'Project Owner' and 'Owner's email' fields from this page. Users are global (a change in the Owner's email will cascade across all projects), and the current design doesn't really communicate this. Since the next release of Toaster does not implement the concept of users and / or permissions, we should be able to remove this information from projects for the time being. We'll reintroduce it when implementing user / accounts / permissions functionality. Should be fixed in toaster/master. Created attachment 2231 [details]
Design - Creating projects
Updating the form fields, the information about releases and adding an additional state for when the releases drop down menu is empty.
Created attachment 2232 [details]
Design - Creating projects
I was asked to review the state of this page on poky/master (0add8abc12b850e38a6ec7dcf2856fab2c0107b6) to provide an idea of how much work is left. Here are the issues I've found: * Layout: we can make this page full width. Right now all content is inside a div with a .span6 class applied: that div can go. * There should be no "new project" button in the top bar in this page: you are already creating a project. * The "Yocto Project version" label should be changed to "Release" * The content of the help bubble next to the Yocto Project version should say: "The version of the build system you want to use" * I tested with the poky/master branch, but using the toasterconf.json file from the latest poky-contrib/toaster/master branch. With this set up, I get 2 releases in the Releases menu: master and dizzy. I am not sure why the Poky release is not showing, although I am not too bothered by this, since I know we are still making changes to that configuration. The final release names and their descriptions are in page 5 of the design document attached to this bug. I rather see those set to the correct values in the toasterconf.json files sooner rather than later, so that we don't forget * The values shown in the Release select menu are currently: release name (release description). We should change that to show just the release name, with the description for the selected option displayed below the select menu. You can see how this behaves at http://www.yoctoproject.org/toaster/newproject.html * If there is only one release configured, the Releases menu should not display. This is not currently in place. * If no releases are configured, the page should show an alert instead of the form (see page 6 of the design document). This is not currently in place * The "Create project" button should be disabled while the project name field is empty, and while disabled should have some help text next to it (see page 4 of the design document). It becomes enabled when you enter one character in the project name field. Issues fixed, pushed for review on toaster/master (In reply to comment #13) > Issues fixed, pushed for review on toaster/master I've made some tiny tweaks, which I've pushed here http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=bbarrosp/new-project Other than those, the only thing that it's a bit strange is that, if you close the project created notification and then refresh the page, the notification shows again. It's a bit annoying. Is there anything we could do about this, so that when I dismiss this notification I don't have to see it ever again? merged in master Verified on master: 876370419a50264a28feb4278f8c465b0019e709 |