Mailinglist Archive: yast-devel (59 mails)

< Previous Next >
Re: [yast-devel] Showing state of WebYaST plugins in status plugin.
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Mon, 22 Mar 2010 12:55:42 +0100
  • Message-id: <201003221255.42964.jsuchome@xxxxxxx>
On Monday 22 of March 2010 12:10:33 Stefan Schubert wrote:
currently we have two requests for showing special states of WebYaST
plugins in the
status plugin:

Mail Settings:
When the user has submitted a test mail he will be asked in the status
if he has received the email. This message disappears after he has
confirmed the receive
in the status module.

A warning will be displayed in the status module if the user has skipped
over the registration.
This warning disappears only after the user has successfully finished
the registration.

I believe that we will have more such requests in the future. So we
should think about
a generic solution. One proposal would be:

Webservice side:
The status module checks each installed plugin if it has an interface

registration/registration/status [GET|POST]

[GET| returns:


So each plugin can return more than one message. The "level" will be
displayed in
the status module. "*_description" is a English default description
which will be
displayed if there is no translation on the WebYaST client side available.
"message_id" indicates the translated message in the WebYaST client
status module.
If the user press the "confirm_button" a POST request will be send to
the concerning
service plugin.
Then it is up to the service plugin to reset the state.

Where do you get the translated text, if the status command is purely
rest-based? Or are we going to translate messages from rest services as well?


Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups