complete scope "messaging" implementation
Bug #1537147 reported by
Kyle Nitzsche
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Savilerow project |
New
|
Undecided
|
Unassigned | ||
unity-scopes-shell (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Scopes sometimes need to provide a message to a user. Well known cases include:
* Hey, turn your network on!
* Yo, turn on location awareness!
Currently, such "messaging" is up to the scope implementation and the only option for displaying messages is to post them as results in the scope itself.
unity8 and the unity-scopes-shell should provide the ability to message the user such well known messages (and probably others), and those messages should be translated.
Perhaps there should also be the ability for the scope to provide the translated message text so we can also support scope-specific, customized messages.
Changed in unity-scopes-shell (Ubuntu): | |
status: | New → Confirmed |
Changed in unity8 (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
The scope's current "status" is made accessible via "unity: :shell: :scopes: :ScopeInterface ::status( )".
We currently report back on statuses: "Okay", "NoInternet", and "NoLocationData". And of course we could extend the enum to include more as needed.
At this point it would be up to unity8 to take that status and display something useful (with translation) to the user.