Ticket #84 (closed Enhancement: fixed)
Icon Picker Widget
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.1 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.3 |
Keywords: | Cc: | ||
Complexity: | 5 | Area: | GUI |
Module: | deepamehta-iconpicker |
Description
Form fields of type "Icon Source" should provide a dialog to let the user choose an icon. The dialog should display all icons existing in the DM installation (contributed through different plugins) and provide a facility to let the user "import" a new icon. Import should be possible at least from local file system.
All plugins which make use of the type "Icon Source" should benefit from the icon picker widget.
Change History
comment:2 Changed 13 years ago by Jörg Richter
Iconpicker: layout (#84)
Furthermore in Weblient module: revise and simplify RenderHelper? code.
See ticket 84.
comment:3 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.
comment:4 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.