SugarShellRefactoring: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{OLPC}}

= Introduction =

For Update.2, we intend to reorganize parts of the UI of the home view and the frame.

See [[Designs/Activity_Management]] and [[Designs/Frame]] for explanation of these changes.

Below is a very loose brainstorm of the action items to perform for Update.2. We need to devote more thinking and discussion so the list "solidifies" a bit.

= Action items =
= Action items =


Line 8: Line 18:
* Switch to matchbox-2 (if it works well enough).
* Switch to matchbox-2 (if it works well enough).
* Move to goocanvas (?)
* Move to goocanvas (?)
* Make the shell model a singleton accessible from anywhere inside the shell. (?)
* HTray and VTray inherit from gtk.Box, but store its children in a different structure so many methods in the base class doesn't work. Not sure what we can do here.


== Frame ==
== Frame ==
Line 14: Line 26:
* Add devices to the bottom frame.
* Add devices to the bottom frame.
* Add running activities to the top frame.
* Add running activities to the top frame.
* Add clipboard to the left frame.
* Add zoom levels to the top frame.
* Add zoom levels to the top frame.
* Add buddies to the right frame.
* Implement notifications.
* Implement notifications.
* Implement buddies palette.
* Implement devices palette.
* Implement clipboard palette.
* Implement activity palette.
* Implement journal palette.
* Show the frame during activity switching.


== Home view ==
== Home view ==
Line 23: Line 43:
* Implement activity palettes.
* Implement activity palettes.
* Implement xo palette.
* Implement xo palette.
* Add toolbar.


== Activity list ==
== Activity list ==

* Use goocanvas?
* Generic list "widget"?


== Journal ==
== Journal ==
Line 33: Line 57:


* Make the activity registry private to the shell.
* Make the activity registry private to the shell.
* Get rid of the custom X properties to facilitate porting (startup-notification? icon set by the activity?)

Latest revision as of 19:29, 28 February 2008

  This page is monitored by the OLPC team.

Introduction

For Update.2, we intend to reorganize parts of the UI of the home view and the frame.

See Designs/Activity_Management and Designs/Frame for explanation of these changes.

Below is a very loose brainstorm of the action items to perform for Update.2. We need to devote more thinking and discussion so the list "solidifies" a bit.

Action items

Infrastructure

  • Split the library into separate modules. sugar-base, sugar-graphics, sugar-activity.
  • Create personal git repositories.
  • Add sugar.modules to jhbuild upstream and build from there. Document how to setup jhbuild.
  • Switch to matchbox-2 (if it works well enough).
  • Move to goocanvas (?)
  • Make the shell model a singleton accessible from anywhere inside the shell. (?)
  • HTray and VTray inherit from gtk.Box, but store its children in a different structure so many methods in the base class doesn't work. Not sure what we can do here.

Frame

  • Move to gtk only.
  • Add devices to the bottom frame.
  • Add running activities to the top frame.
  • Add clipboard to the left frame.
  • Add zoom levels to the top frame.
  • Add buddies to the right frame.
  • Implement notifications.
  • Implement buddies palette.
  • Implement devices palette.
  • Implement clipboard palette.
  • Implement activity palette.
  • Implement journal palette.
  • Show the frame during activity switching.

Home view

  • Investigate using goocanvas.
  • Implement dynamic activity ring.
  • Implement activity palettes.
  • Implement xo palette.
  • Add toolbar.

Activity list

  • Use goocanvas?
  • Generic list "widget"?

Journal

  • Move the journal into the shell process.

Misc

  • Make the activity registry private to the shell.
  • Get rid of the custom X properties to facilitate porting (startup-notification? icon set by the activity?)