Skip to content

Csv support#247

Merged
twinkarma merged 7 commits intodevfrom
csv-support
Nov 10, 2022
Merged

Csv support#247
twinkarma merged 7 commits intodevfrom
csv-support

Conversation

@twinkarma
Copy link
Copy Markdown
Collaborator

@twinkarma twinkarma commented Oct 27, 2022

Resolves #191

  • Model changes

    • Added doc_format_pref to user model to store document preference
    • Added document_input_preview_csv to Project model to store csv string of document input preview
  • Added user account settings option to select either JSON or CSV as preferred document format
    image

  • Display document and annotations as a table format
    image

  • Added a feature for uploading csv document for previewing a document when configuring the project
    image

  • Added tests and integration tests for the features

@github-actions
Copy link
Copy Markdown

Jest Coverage

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 76.27 73.4 67.27 76.27
Details
File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 76.27 73.4 67.27 76.27
_src/components 74.73 75.51 79.16 74.73
_ AnnotationRenderer.vue 73.62 75.51 76.19 73.62 114,123-124,178,201,221,228-242,250,256-266,283
_ MarkdownEditor.vue 100 100 100 100
_ MarkdownRenderer.vue 100 100 100 100
_src/components/annotation 78.57 86.66 76.47 78.57
_ CheckboxInput.vue 85.71 100 100 85.71 19
_ HtmlDisplay.vue 80 100 100 80 26-30
_ InputErrorDisplay.vue 100 0 100 100 19-25
_ RadioInput.vue 71.42 100 66.66 71.42 19,26
_ SelectorInput.vue 71.42 100 66.66 71.42 20,27
_ TextInput.vue 75 100 66.66 75 26
_ TextareaInput.vue 66.66 100 50 66.66 20
_src/enum 100 100 100 100
_ DocumentTypes.js 100 100 100 100
_src/jrpc 90.32 83.33 75 90.32
_ index.js 90.32 83.33 75 90.32 29,38-39
_src/utils 64.28 58.33 20 64.28
_ annotations.js 100 100 100 100
_ index.js 55.88 54.54 11.11 55.88 9-14,28-93
_tests/unit 100 100 100 100
_ globalVue.js 100 100 100 100

@twinkarma twinkarma requested a review from davidwyld November 2, 2022 12:50
@twinkarma twinkarma merged commit aa48880 into dev Nov 10, 2022
@twinkarma twinkarma mentioned this pull request Nov 21, 2022
5 tasks
@ianroberts ianroberts deleted the csv-support branch April 14, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants