As a user I want to edit my topic's metadata through a dialog so that I know my metadata is formatted correctly and has the right values.
As a user I don't want to see the metadata in my topic so that content in my topic that is non-editable by hand is not exposed in the editor.
As a user I want to have an auto-complete dropdown available for control name so that I don't have to guess the proper values for the metadata.
Comments
Values for control names need to be cached from the customer guidance database into a config file in order to provide metadata values for controlName. (See @damyanpetev for info on how to do this).
Here is an example of how the metadata is written out at the top of a topic:
The controlName value is the only thing that needs to be editable. (The file name can be read from the file system, flags are managed by the new TOC tool and guid and createdOn values are read-only)
Implementation Pointers
Note: Here are a few pointers to help you get going in the right direction. This is for guidance only - don't consider this a spec.
Create a new module under app/dialogs/metadata. You'll need to subscribe to the file open message in order to read in the metadata. Once the user has had a chance to edit the control name then publish a metadataChanged message so the persistence module subscribe to the message and can then write the current values into the topic.
User Stories
Comments
Values for control names need to be cached from the customer guidance database into a config file in order to provide metadata values for controlName. (See @damyanpetev for info on how to do this).
Here is an example of how the metadata is written out at the top of a topic:
The
controlName
value is the only thing that needs to be editable. (The file name can be read from the file system, flags are managed by the new TOC tool andguid
andcreatedOn
values are read-only)Implementation Pointers
Note: Here are a few pointers to help you get going in the right direction. This is for guidance only - don't consider this a spec.
Create a new module under
app/dialogs/metadata
. You'll need to subscribe to thefile open
message in order to read in the metadata. Once the user has had a chance to edit the control name then publish ametadataChanged
message so the persistence module subscribe to the message and can then write the current values into the topic.You can use the info icon in the toolbar to open up the dialog.