Modify

Opened 8 years ago

Closed 5 months ago

Last modified 5 months 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 8 years ago.

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by Don-vip

Attachment: 8180v1.patch added

comment:1 Changed 8 years ago by Don-vip

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

comment:2 Changed 8 years ago by Don-vip

In 5579/josm:

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

comment:3 Changed 8 years ago by simon04

Description: modified (diff)

comment:4 Changed 7 years ago by skyper

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

comment:5 Changed 7 years ago by Don-vip

Description: modified (diff)

comment:6 Changed 6 years ago by Don-vip

Description: modified (diff)

comment:7 Changed 6 years ago by Aun Johnsen <lists@…>

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 Changed 6 years ago by Don-vip

Cc: stoecker added
Description: modified (diff)

We won't implement radio buttons.

comment:9 Changed 5 months ago by simon04

Description: modified (diff)

comment:10 Changed 5 months ago by simon04

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

comment:11 Changed 5 months ago by skyper

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

comment:12 in reply to:  11 Changed 5 months ago by simon04

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.