clearlinux / clr-installer

Clear Linux* OS Installer
GNU General Public License v3.0
92 stars 42 forks source link

Graphical User Interface #5

Closed mdhorn closed 5 years ago

mdhorn commented 6 years ago

Issue by mdhorn Wednesday Feb 21, 2018 at 01:37 GMT


Implementation of the User Interface using a Graphical library.

The GUI and the planned TUI should allow of the collect of the exact same set of data items. When possible in the design, the GUI and TUI should attempt to implement the same or similar screen types for data collection and follow a comparable workflow.

All public data from the Data Model (#4) should be settable in the GUI; though many items might only be accessible via an Advanced settings screen/menu. Several of the data items may be set by the Automatic Detection of Installation Environment (#5) in which case the use will not be prompted.

Estimated Effort: 8-10 person weeks

mdhorn commented 6 years ago

Comment by mdhorn Wednesday Feb 21, 2018 at 02:35 GMT


Enable Internationalization for the GUI.

mdhorn commented 6 years ago

Comment by mdhorn Friday Mar 02, 2018 at 21:29 GMT


Consulting with UX team. See https://drive.google.com/drive/folders/1WE9Y8E0JcoCyV8OJRmFtzzdDsKZYqF8e?usp=sharing

mdhorn commented 6 years ago

Comment by mdhorn Friday Apr 06, 2018 at 00:31 GMT


Check if the system has a graphics card: if [ -c /dev/dri/card0 ]; then echo GIU ; fi if so, launch GUI, else fall back to launching TUI

mdhorn commented 5 years ago

Best binding to use? https://github.com/gotk3/gotk3

ikeyd commented 5 years ago

Using gotk3 in my local experiments. As we're launching the installer from within a desktop we can trivially rely on gtk_init_check (gtk.InitCheck) in MustRun with the GUI set before the TUI in our cascade, and this will take care of appropriately using the GUI when a desktop environment is available (or rather, display server)

mdhorn commented 5 years ago

Release 2.0.0