Ticket #85 (closed Enhancement: fixed)

Opened 9 years ago

Last modified 9 years ago

Topics need a Retype command

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:
Module:

Description


Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to accepted

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

Core/Webclient?: retype topics first try (#85)

Rudimentarily functional.
Missing is configurable facility that maps old topic values to new topic values, e.g. make an "Icon" topic out of a File's "Path".

See ticket 85.

comment:3 Changed 9 years ago by Jörg Richter

Core: fix topic retyping (#85).

When retyped a topic keeps its URI.

See ticket 85.

comment:4 Changed 9 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 9 years ago by Jörg Richter

Core: fix topic retyping (#85).

When retyped a topic keeps its URI.

See ticket 85.

comment:6 Changed 9 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.