You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2009/01/22 14:37:59 UTC

[jira] Created: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Add a new GeneralizedTime Value Editor
--------------------------------------

                 Key: DIRSTUDIO-449
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
             Project: Directory Studio
          Issue Type: New Feature
          Components: studio-ldapbrowser
            Reporter: Pierre-Arnaud Marcelot
            Priority: Minor
             Fix For: 1.4.0


It would be great to have a value editor for editing values of type GeneralizedTime.

Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.

It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Felix Knecht (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681652#action_12681652 ] 

Felix Knecht commented on DIRSTUDIO-449:
----------------------------------------

Looks nice :-)

The combo with the cities is a very good idea. I'd replace the existing one with the cities one. Otherwise you have 2 comboxes. One showing only 'UTC' and another one showing the cities. Why not having one showing 'UTC Greenich'?

Some questions about the raw time:
- Is this an entry box?
- Is this box synchronized with the time/date above when changing it (and vice versa of course)?

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-449:
---------------------------------------------

    Attachment: screenshot-1.jpg

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Felix Knecht (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679979#action_12679979 ] 

Felix Knecht commented on DIRSTUDIO-449:
----------------------------------------

Looks very nice. Just some questions because I'm not sure what is on purpose and what is by random:
- Start the calendar always on top left and put 1st of month on top left?
- Start the week by Sunday (and the 1st is just by random a Sunday)?
- Does the calendar respects the settings about first day of week you can set in most OS?

Just some thoughts of mine ...
Felix

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-449:
---------------------------------------------

    Attachment: DIRSTUDIO-449_win32.png
                DIRSTUDIO-449_macosx.png
                DIRSTUDIO-449_linux.png

Here are some screenshots of my first implementation.

What I would like to add is another combo where you can select your city (cities will be organized by continents).
This could be handy when you don't know exactly what your timezone is (UTC+/-something).

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681659#action_12681659 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-449:
--------------------------------------------------

Hi Felix,

Yeah, you're right, we'll have two combos. One that would display the UTC+/-something value and another one for the cities.
I wanted to display this second one as an optional combo that would only be available (displayed) if the user clicks on an arrow with a label like "Select time zone by city" (or something like that)...

Or maybe we can combine these two combos into one, 'UTC+/-something' values first and 'Continent/City' values after.

I don't really get what you mean by "Why not having one showing 'UTC Greenich'?". Could you be more precise please ?


About the Raw box, I followed Stefan's advice to allow the user to edit the value by hand.
It's in a standard text field which is linked to a "syntax validator" shown on the right of the field.
The values are completely synchronised with the Data/Time widgets above (and vice versa)

BTW, the widget seems to handle correctly the regional settings of the OS.
On the win32 screenshot, the calendar is in French and the week starts on Monday which matches my French user settings.
Same thing on the macosx and linux were I use US English settings.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681664#action_12681664 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-449:
--------------------------------------------------

I just commited the version shown on the screenshots.

http://svn.apache.org/viewvc?rev=753190&view=rev

I'm now working on the improvement we talked about.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Felix,

On Mon, Mar 9, 2009 at 11:31 AM, Felix Knecht <fe...@apache.org> wrote:
>
> Well, sometimes I'm quite a queer fellow. I hope it wasn't offending
> otherwise I seriously apologize having that strange thoughts.
>

Not at all. ;) Please, don't stop...

Sorry if the sentence sounded like a reproach. It was meant to do so...

Actually, I really enjoy those kinds of remarks/questions and that's exactly
why I posted the screenshot on the JIRA.
I wanted some feedback, to get sure I was going in the right direction.

It really good to have a different overviews of what you're doing from other
people.
The idea is to come to the best solution, and sometimes when you're too
focused on your task, you don't see the other possibilities.



> PS:
> That comes out when trying to find out something more about validating
> server configuration using the generated schema and switching for a quick
> look over to the ML ... ;)
>

Yeah, I saw your other mail. Thanks for helping on that task. The DOM based
server configuration objects will really help maintain the original
structure (including the comments) of the document. This will make our users
happy.

Thanks.

Best regards,
Pierre-Arnaud

Re: [jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by Felix Knecht <fe...@apache.org>.
Hi Pierre-Arnaud

> 
> Hi Felix,
> 
> Let me answer your questions. ;)

Well, sometimes I'm quite a queer fellow. I hope it wasn't offending otherwise I seriously apologize having that strange 
thoughts.

Regards
Felix

PS:
That comes out when trying to find out something more about validating server configuration using the generated schema 
and switching for a quick look over to the ML ... ;)


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680082#action_12680082 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-449:
--------------------------------------------------

Hi Felix,

Let me answer your questions. ;)

#1: This was by random. If you take another month, it will not start on top left.
#2: I configured nothing for that, so I believe that's the default behavior.
#3:  Very good question. I'm going to test it under various OS Date/Time settings to see it it changes the behavior of the widget.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSTUDIO-449.
--------------------------------------------


Apache Directory Studio version 1.4.0 has been released.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679971#action_12679971 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-449:
--------------------------------------------------

Hi all,

I added a screenshot of a first "draft" implementation for this new dialog, just to get your feedback.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSTUDIO-449.
----------------------------------------------

    Resolution: Fixed
      Assignee: Pierre-Arnaud Marcelot

Fixed.

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681703#action_12681703 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-449:
--------------------------------------------------

It's done.

The combo now shows continents and cities time zones underneath UTC ones.

I also externalized the strings and translated them to french.
Is it possible for someone to provide the german translation please ? Thanks!

> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-449) Add a new GeneralizedTime Value Editor

Posted by "Felix Knecht (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681663#action_12681663 ] 

Felix Knecht commented on DIRSTUDIO-449:
----------------------------------------

"Or maybe we can combine these two combos into one, 'UTC+/-something' values first and 'Continent/City' values after."

That's exactly what I meant. My description wasn't very clear and intuitive, sorry.

Greate to have the regional settings already for 'free'.


> Add a new GeneralizedTime Value Editor
> --------------------------------------
>
>                 Key: DIRSTUDIO-449
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-449
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: DIRSTUDIO-449_linux.png, DIRSTUDIO-449_macosx.png, DIRSTUDIO-449_win32.png, screenshot-1.jpg
>
>
> It would be great to have a value editor for editing values of type GeneralizedTime.
> Something with a Calendar (we could use SWT's calendar feature) for the date and a clock (or spinners instead) for the time, and an option to use the local TimeZone or specify it via a combo.
> It could be a great addition for a future release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.