Ticket #82 (closed Enhancement: fixed)
Make "View Configuration" user editable
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.1 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.1 |
Keywords: | Cc: | ||
Complexity: | 5 | Area: | GUI |
Module: | deepamehta-webclient |
Description (last modified by jri) (diff)
Topic types are connected to "View Configuration" topics which configure various presentation aspects of the webclient, e.g. icons, colors.
These View Configuration topics should be user editable. This would provide the basis e.g. for an icon picker to let the user setup custom icons.
Change History
comment:3 Changed 13 years ago by Jörg Richter
Webclient: support for boolean fields (#82)
See ticket 82.
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.
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.