jbpm-wb icon indicating copy to clipboard operation
jbpm-wb copied to clipboard

Provide a way to configure which day is first day of the week

Open psiroky opened this issue 11 years ago • 6 comments

Currently the default behavior is that week starts with Monday. We should provide a way for users to configure which day is first day of the week.

The first day could be also (by default) determined from user's locale settings.

psiroky avatar Jun 11 '13 18:06 psiroky

Where do we make that configuration? On the server level - as a servlet param, for example? Or at the user level, in the web app somewhere? My $0.02 would be to just trust the locale.

triceo avatar Jun 11 '13 18:06 triceo

I think the best would be to use the locale by default, but also allow users to override that (in GUI) if they choose to, e.g. the user has en_us locale in browser, but wants to see the week staring with Monday.

psiroky avatar Jun 11 '13 18:06 psiroky

If we trust the locale we will need to show it somewhere, and allow the user to override it. We need to think in a configuration/administration section for all these stuff.

salaboy avatar Jun 11 '13 18:06 salaboy

Persistent, user defined variable configuration should be stored in system.git using the ConfigurationService.

This doesn't rule out use of web.xml for more static configurations.. but no properties files.

On 11 June 2013 19:30, Salaboy [email protected] wrote:

If we trust the locale we will need to show it somewhere, and allow the user to override it. We need to think in a configuration/administration section for all these stuff.

— Reply to this email directly or view it on GitHubhttps://github.com/droolsjbpm/jbpm-console-ng/issues/21#issuecomment-19282727 .

manstis avatar Jun 11 '13 19:06 manstis

Definitely @manstis is there anyone in charge of creating a set of UI to handle that information stored in that ConfigurationService? because it sounds as a good community contribution :)

salaboy avatar Jun 11 '13 20:06 salaboy

Nobody is doing any UI for it at the moment.

On 11 June 2013 21:18, Salaboy [email protected] wrote:

Definitely @manstis https://github.com/manstis is there anyone in charge of creating a set of UI to handle that information stored in that ConfigurationService? because it sounds as a good community contribution :)

— Reply to this email directly or view it on GitHubhttps://github.com/droolsjbpm/jbpm-console-ng/issues/21#issuecomment-19289302 .

manstis avatar Jun 11 '13 20:06 manstis