Changes between Version 12 and Version 13 of GROUP_GUI_REDESIGN_R0


Ignore:
Timestamp:
07/23/09 17:24:43 (16 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_GUI_REDESIGN_R0

    v12 v13  
    2929  * UI should become consistent with the new resources, changes and templates (see [wiki:GROUP_RESOURCE_MODEL_REDESIGN_R0], [wiki:HOT_TEXT_REDESIGN_R0], [wiki:GROUP_BOOK_MODEL_REDESIGN_R0]). 
    3030  * For UI parts that need attention define a more suitable design. These include: 
    31    * Layout 
     31   * '''Layout:''' 
    3232    * MyDoggy - the whole "org.sophie2.main.layout.mydoggy" module should be rewritten (Flaps, tabs and palettes part).  
    3333    * The library(mydoggy) itself may also cause problems, so have in mind rewriting some part of it or may be use another library. Since the library is tightly connected with skins (look and feel part of them). 
    34    * Workspace areas (PageWorkArea, book desktop and document windows etc.) should be refactored. 
    35     * Examine the hierarchy of classes. 
    36     * Make it consistent with the "View" concept and the "BaseVisual" concept. Things there as slightle messed up and the desktop book is currently of no use. 
    37     * Current things should be entirely in the Workspace (if there is something left in the model - remove it). 
     34    * "...base.layout" - code should be reviewed for inconsistency. It should be made consistent also with the new model. 
     35   * '''BookView hierarchy:''' 
     36    * Examine the hierarchy of classes (BookView, BookContentView, BookDesktopWindow, ReaderBookDesktopWindow, BookDocumentWindow, ReaderBookDocumentWindow). 
    3837    * Remove old things that are no longer needed. 
    39      * App, AppView for example. 
    40     * All interaction should go through the LogicR3 using EventR3. (This is refactoring of the old Logics). 
    41     * When refactoring the code, have in mind that we need to have a sinle-document-interface for the workarea (preview mode, presentation mode etc.). So when redesigning we should implement such functionality. 
    42    * Along with the Workspace and Layout consider having two separate windows for Author and Reader (one having all flaps and desktop book and one without these). 
    43    * Halos - things there seem to be alright for the time being. A refactoring has already been made (see [wiki:GROUP_BASE_HALOS_AND_FRAME_POSITION_R1] for more details, where the menus were refactored.) 
    44    * Bound controls: 
    45     * Have bugs: 
    46      * Implementations of bound controls using JTextField have a bug connected with the listeners attached to the text field. 
    47      * BoundCheckBox - a problem connected with Boolean.TRUE/Boolean.FALSE - does not update state properly with the pro lib. 
    48      * Fix the layout of the components in the bound control. 
    49      * Change the hierarchy so that the icon of the state can be dropped (controls should be able to chose whether with such an icon or without it). 
    50      * Create new bound controls: 
    51       * The "bound control" looking panel that most huds use for changing colors is not an actual bounds control. Create such a control: 
    52        * The listener should be attached not to the whole panel, but rather to the color rectangle which may become a "ButtonBoundControl". 
    53       * Introduce a "SliderBoundControl" that has a JSlider bound to some model. 
    54    * Dialogs - they are more or less OK. Just review and improve things (optional). 
     38   * '''LogicR3:''' 
     39    * Refactor FrameLogic, PageLogic, BookLogic, AppLogic classes to be LogicR3 classes. 
     40    * JButtons that perform different actions across Sophie2 should also fire their events through the LogicR3. 
     41   * '''Halos:''' - things there seem to be alright for the time being. A refactoring has already been made (see [wiki:GROUP_BASE_HALOS_AND_FRAME_POSITION_R1] for more details, where the menus were refactored.) 
     42   * '''Bound controls:''' 
     43   * '''Dialogs:''' 
     44     * See TLID:510 
     45     * Make the non-cancel button default where needed (OK and Open). 
     46     * Underline and make accessible by alt all buttons. Make sure tab works correctly. 
     47     * Change the order of the dropdown menus. 
     48      * The "All files (*.*)" should be at the bottom of the list. 
     49      * The menus should be implemented in a way that if someone adds support for a new Image file for example, it's menu item should be added before the "All files (*.*)" dropdown item. It's extension should be added to the extension list. 
     50     * See if somewhere Cancel button is not at the right bottom size of the dialog 
     51     * Align buttons in Book Properties dialog 
     52     * Rename dropdown items according to the testcase (all of them) 
     53     * Add dropdown items for each file type - for example for image files, there should be "JPEG Image file (*.jpeg;*.jpg)" "GIF Image file (*.gif)" etc dropdown items.  
     54 
    5555   * Color Picker - the color picker is already a bound to the model. 
    5656    * There is a bug with the gradient dialog - clicking the color button breaks Sophie2. Fix it. Consider redesigning the gradient in a similar way to the color picker. Nevertheless the gradient changing component should be bound to the model as all controls in Sophie2 are. 
     
    6060    * Component titles - Same as tool-tips. 
    6161  * Make all code connected with UI consistent with the new model and resources (this is something that depends on new resources and model). 
     62  * '''Non-categorized things:''' 
     63   * "Current" things (like current frame, page etc) should be entirely in the "view" (if there is something left in the model - remove it). 
     64   * BoundColorPicker is not in the proper model - it should be independent of "...base.halos" (currently it depends on HudDialog and base bound things and cannot be put in the "...base.bound..." module). 
    6265 * Create diagrams of new designs if they appear to be complicated. 
     66 
    6367 
    6468== Task result == 
     
    8488 
    8589= Design = 
    86  * The code for every part of the UI should be reviewed.   
    87    * [wiki:WORKSPACE_AREAS_REDESIGN_R0] Workspace areas (PageWorkArea, book desktop and document windows etc.) should be refactored.  
    88     * Examine the hierarchy of classes. 
    89     * Make it consistent with the "View" concept and the "BaseVisual" concept. Things there as slightle messed up and the desktop book is currently of no use. 
    90     * Current things should be entirely in the Workspace (if there is something left in the model - remove it). 
    91     * Remove old things that are no longer needed. 
    92      * App, AppView for example. 
     90 
     91* Layout 
     92  
     93  
     94* Halos 
     95  
     96* Bound Controls 
     97 * bugs 
     98 * new bound controls 
     99* BookView hierarchy 
     100 
     101* Logics - AppLogic, BookLogic, PageLogic, FrameLogic -> LogicR3 
     102 
     103* Menus 
     104 * divide into modules 
     105 
     106* Dialogs 
     107 
     108* Skins 
     109 
     110 
    93111    * All interaction should go through the LogicR3 using EventR3. (This is refactoring of the old Logics). 
    94112    * When refactoring the code, have in mind that we need to have a sinle-document-interface for the workarea (preview mode, presentation mode etc.). So when redesigning we should implement such functionality.