Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow editing asset attributes in the UI (#474)
* Allow asset attributes in the UI (more specifically, the JSON attributes column on the generic_asset table) Signed-off-by: F.N. Claessen <felix@seita.nl> * Avoid redundant serialization step Signed-off-by: F.N. Claessen <felix@seita.nl> * Move attributes field down Signed-off-by: F.N. Claessen <felix@seita.nl> * Rename field label Signed-off-by: F.N. Claessen <felix@seita.nl> * changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl> * Add field to new asset page Signed-off-by: F.N. Claessen <felix@seita.nl> * Add empty default attributes Signed-off-by: F.N. Claessen <felix@seita.nl> * Clarify attributes label Signed-off-by: F.N. Claessen <felix@seita.nl> * Raise ValidationError if not able to deserialize JSON string Signed-off-by: F.N. Claessen <felix@seita.nl> * Update documentation for asset page Signed-off-by: F.N. Claessen <felix@seita.nl> * flake8 Signed-off-by: F.N. Claessen <felix@seita.nl> * Add tests Signed-off-by: F.N. Claessen <felix@seita.nl> * improve error visualisation in asset form Signed-off-by: Nicolas Höning <nicolas@seita.nl> Signed-off-by: F.N. Claessen <felix@seita.nl> Signed-off-by: Nicolas Höning <nicolas@seita.nl> Co-authored-by: Nicolas Höning <nicolas@seita.nl>
- Loading branch information
Showing
7 changed files
with
103 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters