Luna Next

From WebOS-Ports
Jump to: navigation, search

Overview

In short Luna Next is a approach to recreate the webOS user interface based on future ready technologies like Qt5 and Wayland. The Luna UI as part of the Open webOS project caused us a lot of problems in porting it to other devices without a lot of rework so we decided to recreate the UI completely. Recreation doesn't mean we're dropping all the code. We will reuse code as wherever possible to reduce the amount of work.

Luna Next will allow you to write the entire user interface in QML. We're implementing a reusable core with a shell on top of it. The shell itself will be replacable so the community has a very easy way to adjust the UI to their needs based on a stable core. However the card UI is going to be implemented as the default shell and will be installed in all offical supported webOS ports distributions. If things don't suit the default shell implementation a new shell can be easily created and distributed through preware by the community.

We're doing the work in a agile mine and have a board at https://trello.com/board/luna-next/51d856a66054b8c353008a10#

If you want to help us with the vision please contact us!

Development

Features

Required:

  • card-style window management
  • notifications
  • gesture area
  • system menu
  • launcher bar
  • (new) device menu
New Device Menu Screenshot 1
New Device Menu Screenshot 2
New Device Menu Screenshot 3
New Device Menu Screenshot 4
New Device Menu Screenshot 5

Optional:

  • card stacking
Card Stacking
  • (stacked/multi-layer) wave launcher video
Stacked Wave Launcher
Multi Layer Wave Launcher
  • WidgetDeck
Widget Deck
  • Minimize
Minimize

Components

The following components are part of the Luna Next stack:

Supported web API's

Overal application framework is cordova (https://cordova.apache.org/).

webOS specific

  • Luna Service 2 API
  • PalmSystem DOM node
    • properties:
      • launchParams (string)
      • locale (string)
      • localeRegion (string)
      • timeFormat (string)
      • timeZone (string)
      • identifier (string)
      • version (string)
    • methods:
      • paste()
      • copiedToClipboard()
      • pastedFromClipboard()
      • shutdown()
      • activate()
      • deactivate()
      • stagePreparing()
      • stageReady()
      • show()
      • hide()
      • keyboardShow()
      • keyboardHide()

Standard web API's

Development on a desktop machine

Requirements

A standard Qt 5.1 SDK installation is sufficient, as long as QtCreator and the QML toolchain are present.

Working with the QML description of Luna Next card UI

First, get a copy of the luna-next-cardshell repository: git clone https://github.com/webOS-ports/luna-next-cardshell

Then, simply open the qmlproject file in the qml subdirectory. You should be able to run the QML description of luna-next out of the box.

Expect results

The QML description of luna-next does not include the C++ module which lets it communicate with other components of WebOS. Do not expect any realistic result for the answers provided by the "LunaNext" QML module, as this desktop environment actually uses a fake stub LunaNext module for testing purposes.