Ticket #49 (closed Enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

Add TopicType icon through the GUI

Reported by: JuergeN Owned by: jri
Priority: Major Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.3
Keywords: Cc: Malte, dgf, irau, Christiane, DanielP
Complexity: 8 Area: GUI
Module:

Description

User shall select their own icons for new TopicTypes?

Change History

comment:1 Changed 13 years ago by jri

  • Status changed from new to accepted
  • Summary changed from add TopicType icon through the GUI to Add TopicType icon through the GUI
  • Complexity changed from 1 to 8
  • Version set to 4.0.3
  • Milestone set to Release 4.1
  • Owner set to jri

comment:2 Changed 13 years ago by Jörg Richter

Begin of Icon Picker module (#84)

Currently not working (endless recursion!)

See ticket 49, 82, 84.

comment:3 Changed 13 years ago by jri

  • Cc Malte, dgf, irau, Christiane, DanielP added

comment:4 Changed 13 years ago by Jörg Richter

  • Status changed from accepted to closed
  • Resolution set to fixed

Core/Webclient?: assign user icons to types (#49).

Assign an icon to a topic type (and thus to all of its instances):
1) Reveal the type
2) Navigate to its "View Configuration" topic. You see the currently assigned icon at the top of the content panel.
3) Press "Edit". You enter the view config's form. At the top you see the current icon.
4) Press the "Choose" button besides the icon. You see the iconpicker dialog with a variety of icons.
5) Pick one icon by clicking it. The iconpicker dialog closes. The picked icon appears in the form.
6) Press "Save". Now the picked icon is assigned to the topic type and all instances are rendererd with the new icon.

Add your own icons to the iconpicker:
1) Drag'n'Drop an image file from your OS's file browser to the DM canvas. It appears as a "File" topic.
2) Retype the file topic to "Icon" by choosing "Retype" from its context menu. The "Retype Topic" dialog box appears.
3) Choose "Icon" from the menu and press "Retype". The dialog box closes and the topic is now an "Icon". From that moment it appears in the iconpicker dialog and can be used as described above.

IMPORTANT: to use the file drag'n'drop feature in Firefox see here:
https://trac.deepamehta.de/ticket/78#comment:3

You must reset your DB.

Furthermore in the core (for developers): add hook PRE_UPDATE_TOPIC.

Close #49, #78, #82, #84, #85

comment:5 Changed 13 years ago by Jörg Richter

Core/Webclient?: assign user icons to types (#49).

Assign an icon to a topic type (and thus to all of its instances):
1) Reveal the type
2) Navigate to its "View Configuration" topic. You see the currently assigned icon at the top of the content panel.
3) Press "Edit". You enter the view config's form. At the top you see the current icon.
4) Press the "Choose" button besides the icon. You see the iconpicker dialog with a variety of icons.
5) Pick one icon by clicking it. The iconpicker dialog closes. The picked icon appears in the form.
6) Press "Save". Now the picked icon is assigned to the topic type and all instances are rendererd with the new icon.

Add your own icons to the iconpicker:
1) Drag'n'Drop an image file from your OS's file browser to the DM canvas. It appears as a "File" topic.
2) Retype the file topic to "Icon" by choosing "Retype" from its context menu. The "Retype Topic" dialog box appears.
3) Choose "Icon" from the menu and press "Retype". The dialog box closes and the topic is now an "Icon". From that moment it appears in the iconpicker dialog and can be used as described above.

IMPORTANT: to use the file drag'n'drop feature in Firefox see here:
https://trac.deepamehta.de/ticket/78#comment:3

You must reset your DB.

Furthermore in the core (for developers): add hook PRE_UPDATE_TOPIC.

Close #49, #78, #82, #84, #85

Note: See TracTickets for help on using tickets.