-
Type: Story
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Documents
-
None
-
Iteration Kangaroo
-
Needed
User story
As a Compass user
I want to see and edit documents in extended JSON
So that I have a way to work in an environment that is similar to my code editor where I feel productive
Acceptance criteria
- There is a new JSON mode alongside the existing default (list) and table modes.
- In JSON mode, the extended JSON of the documents will be displayed
- In JSON mode, it is possible to edit documents in a code editor with syntax highlighting for (extended) JSON. Copy-paste should work
- In JSON mode, like with the other modes, only one document at a time can be edited.
Notes
- If we display encrypted fields as ******* also in JSON mode, can we prevent the user from updating them? Sounds like this is a yes, as ACE editor allows us to set lines as read-only.
- split to
-
COMPASS-3785 compass-crud toolbar lets user choose json view
- Closed
-
COMPASS-3786 hadron document is able to parse document and create extended json
- Closed
-
COMPASS-3787 document should not be able to saved if there is JSON.parse error
- Closed
-
COMPASS-3788 each document is its own ace editor instance
- Closed
-
COMPASS-3790 each document should have edit/copy/clone/delete buttons
- Closed
-
COMPASS-3791 each ace editor field should have a cancel and update buttons
- Closed
-
COMPASS-3792 updating a document should save the whole document and refresh
- Closed
-
COMPASS-3793 encrypted fields should not be edited
- Closed