Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10739 closed enhancement (fixed)

[patch] Improve note input dialogs

Reported by: ToeBee Owned by: team
Priority: normal Milestone: 14.11
Component: Core notes Version:
Keywords: Cc: ToeBee

Description

The original UI for asking for user input when performing actions on notes was a simple JOptionPane. Note comments are often longer strings of text to convey a complete thought so the JTextField was a bit limiting. I tried doing a custom content pane within the standard JOptionPane and ended up using that for new note submissions. But that annoyed me because the text area did not get focus when the dialog was opened.

But I recently stumbled across the ExtendedDialog class which seems to have solved some of these problems. To reduce duplication of the GUI layout code I created a new class that extends ExtendedDialog and is specific to notes. Then I used that instead of JOptionPane to collect user input.

Attachments (1)

note_input.patch (8.8 KB ) - added by ToeBee 9 years ago.

Download all attachments as: .zip

Change History (3)

by ToeBee, 9 years ago

Attachment: note_input.patch added

comment:1 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 7720/josm:

fix #10739 - Improve note input dialogs (patch by ToeBee)

comment:2 by Klumbumbus, 9 years ago

Component: CoreCore notes
Keywords: notes removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.