Skip to content

Improve Contract Definition Creation #363

Open
@richardtreier

Description

Feature Request

Description

Creating Contract Definitions should be reworked. Right now you need to make up an ID, etc.

  • Add a "confirmation dialog": "Do you want to publish your asset?" When successfully having created an asset.
  • The ID should then be prefilled as "cd-{{ ASSET_ID }}"
  • Only one policy field should be available "Who can see the data offer / When can you transfer the data?".
  • A "Button" similar to the ones in the asset creation to toggle things should be added "Use different policies for data offer visibility and transfer inititation". A button over a check box for UX consistency.
  • If the above state is toggled two policy selects are shown again "Who can see the data offer?" "When can you transfer the data?"
  • The policy select component should get a button (use flex row on the component DOM element via @HostBinding("class.flex") @HostBinding("class.flex-row") @HostBinding("class.space-x-[5px]") cls = true;, "Create Policy". With this button you should be able to create a policy on the fly, that will then be auto selected by the boxes.
  • The always-true policy should be selected by default.
  • If you truly created a contract definition for your asset successfully, you should be redirected to the contract definition page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions