Modify

Opened 11 years ago

Closed 4 years ago

Last modified 4 years ago

#8180 closed enhancement (fixed)

More preset enhancement ideas

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: preset group column radio unit Cc: stoecker

Description (last modified by simon04)

  1. Allow length of input box for text: <text key="somekey" text="Something" lenght="5"/> : done in r5579
  2. Label units at end of text input box: <text key="somekey" text="Long" unit="m"/> → #19077
  3. Make groups of input boxes <group><text xxx/></group> and allow for several columns within a group (<group columns="3">) done in #8735
  4. Maybe allow in absurdly huge presets to minimize groups : treated with #9190
  5. Radio buttons for checks that have two or more true values, or even where different choice might alter the key:
    <radio text="Name"><button key="somekey" value="somevalue" text="A choice"/><button key="somekey" value="someothervalue" text="Another choice"/><button key="someotherkey" value="somevalue" text="A third choice"/></radio>
    : no, see #4901

Attachments (1)

8180v1.patch (4.0 KB ) - added by Don-vip 11 years ago.

Download all attachments as: .zip

Change History (13)

by Don-vip, 11 years ago

Attachment: 8180v1.patch added

comment:1 by Don-vip, 11 years ago

Patch for first point (length of input box for text)

comment:2 by Don-vip, 11 years ago

In 5579/josm:

see #8180 - Presets: Allow length of input box for text

comment:3 by simon04, 11 years ago

Description: modified (diff)

comment:4 by skyper, 11 years ago

Component: External presetCore
Keywords: preset group column radio unit added

comment:5 by Don-vip, 10 years ago

Description: modified (diff)

comment:6 by Don-vip, 10 years ago

Description: modified (diff)

comment:7 by Aun Johnsen <lists@…>, 10 years ago

I like the idea that a radio button might switch on or off or even preset several keys, maybe something similar to the way group uses <list_entry/>. Something like this?

<radio text="My group">
   <button text="Choice 1" default="true">
       <set key="bolean" value="true"/>
       <set key="number" value="3"/>
       <unset key="text"/>
   </button>
   <button text="Choice 2">
       <set key="text" value="static text"/>
       <unset key="bolean"/>
       <set key="number" value="4"/>
   </button>
</radio>

The unset will delete that tag as an empty choice.

comment:8 by Don-vip, 10 years ago

Cc: stoecker added
Description: modified (diff)

We won't implement radio buttons.

comment:9 by simon04, 4 years ago

Description: modified (diff)

comment:10 by simon04, 4 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

comment:11 by skyper, 4 years ago

I like the idea of setting several tags with a radio button or <check>.

in reply to:  11 comment:12 by simon04, 4 years ago

Replying to skyper:

I like the idea of setting several tags with a radio button or <check>.

#8177

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.