Bug 7449 - Split GUI applications for build and analysis modes
Summary: Split GUI applications for build and analysis modes
Status: VERIFIED OBSOLETE
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9 M1
Assignee: Michael Wood
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard: GUI design pending
Depends on:
Blocks: 7452
  Show dependency tree
 
Reported: 2015-03-12 11:04 UTC by Alexandru Damian
Modified: 2015-11-12 12:15 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Damian 2015-03-12 11:04:42 UTC
The analysis pages are starting to develop significant differences between analysis and building modes. This fact brings some challenges: the code grow complex depending on the mode, and changes may break functionality already known to work.

As such, we need to separate the analysis pages in two copies, in separate applications, that will be enabled differently depending on the mode toaster starts.

This enhancement has several parts:

1). dump the unused "bldviewer" application
2). clone the current "toastergui" application in "gui_build_mode" and "gui_analysis_mode" applications; select which application to enable based on the startup mode (see settings.MANAGED setting)
3). clean up the "gui_analysis_mode" application of all build-functionality code.
4). clean up the "gui_build_mode" application of all legacy code (e.g. fixing https://bugzilla.yoctoproject.org/show_bug.cgi?id=7318)
Comment 1 Dave Lerner 2015-04-08 16:14:30 UTC
By 'cloning the current "toastergui" application' do you mean splitting lib/toaster/toastergui into the two you suggest: gui_build_mode and gui_analysis_mode? 
Will there be a set of 'common' locations in the repo for sharing python, js, template html between the gui_build_mode and gui_analysis_mode so that duplication is minimized?
Comment 2 Belen Barros Pena 2015-04-30 13:29:50 UTC
This is a requirement to implement navigation changes that:

* will fix some usability issues uncovered during user testing

* will allow us to make the required additions to the project page to accommodate the image customisation functionality

Should be done sooner rather than later, so aiming for 1.9M1 and assigning to Michael.
Comment 3 Belen Barros Pena 2015-05-14 16:20:00 UTC
We are doing bug 7711 instead
Comment 4 Bogdan Alexandru Voiculescu 2015-08-27 15:17:50 UTC
obsolete; 7711 was implemented