Modify

Opened 7 years ago

Last modified 5 years ago

#8180 new enhancement

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 Don-vip)

  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"/>
  3. Make groups of input boxes <group><text xxx/></group> and allow for several columns within a group (<group columns="3">)
  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 7 years ago.

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by Don-vip

Attachment: 8180v1.patch added

comment:1 Changed 7 years ago by Don-vip

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

comment:2 Changed 7 years ago by Don-vip

In 5579/josm:

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

comment:3 Changed 7 years ago by simon04

Description: modified (diff)

comment:4 Changed 6 years ago by skyper

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

comment:5 Changed 6 years ago by Don-vip

Description: modified (diff)

comment:6 Changed 5 years ago by Don-vip

Description: modified (diff)

comment:7 Changed 5 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 5 years ago by Don-vip

Cc: stoecker added
Description: modified (diff)

We won't implement radio buttons.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.