Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipart Upload example fix and add codesandbox embed code #639

Merged
merged 6 commits into from
Jun 17, 2021

Conversation

salihozdemir
Copy link
Contributor

@salihozdemir salihozdemir commented Jun 17, 2021

Test me! 'MASTER'
Link to MULTIPART-UPLOAD-EXAMPLE-FIX

Test documentation! 'MASTER'
Link to MULTIPART-UPLOAD-EXAMPLE-FIX

@refine-bot
Copy link
Contributor

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

@github-actions
Copy link
Contributor

Jest Coverage

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 86.03 62.32 74.25 85.68
File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 86.03 62.32 74.25 85.68
_core/src/components 100 100 25 100
_ index.ts 100 100 25 100
_core/src/components/authenticated 94.12 70 100 92.86
_ index.tsx 94.12 70 100 92.86 27
_core/src/components/buttons 100 100 50 100
_ index.ts 100 100 50 100
_core/src/components/buttons/clone 100 91.67 100 100
_ index.tsx 100 91.67 100 100 36
_core/src/components/buttons/create 100 87.5 100 100
_ index.tsx 100 87.5 100 100 29
_core/src/components/buttons/delete 100 94.44 100 100
_ index.tsx 100 94.44 100 100 71
_core/src/components/buttons/edit 94.74 91.67 50 94.44
_ index.tsx 94.74 91.67 50 94.44 34
_core/src/components/buttons/export 96.67 68.75 100 96.08
_ index.tsx 96.67 68.75 100 96.08 49,86
_core/src/components/buttons/import 74.42 41.67 42.86 72.97
_ index.tsx 74.42 41.67 42.86 72.97 45,50-67
_core/src/components/buttons/list 93.75 75 50 93.75
_ index.tsx 93.75 75 50 93.75 28
_core/src/components/buttons/refresh 95.45 91.67 50 94.74
_ index.tsx 95.45 91.67 50 94.74 41
_core/src/components/buttons/save 100 75 100 100
_ index.tsx 100 75 100 100 14
_core/src/components/buttons/show 100 91.67 100 100
_ index.tsx 100 91.67 100 100 36
_core/src/components/containers 100 100 0 100
_ index.ts 100 100 0 100
_core/src/components/containers/admin 95.83 28.57 50 95.12
_ index.tsx 95.83 28.57 50 95.12 86,110
_core/src/components/containers/resource 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/containers/routeProvider 92 84.62 71.43 91.3
_ index.tsx 92 84.62 71.43 91.3 51,67,83,156
_core/src/components/crud 100 100 0 100
_ index.ts 100 100 0 100
_core/src/components/crud/create 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/crud/edit 96.97 86.84 50 96.77
_ index.tsx 96.97 86.84 50 96.77 118
_core/src/components/crud/list 100 81.25 100 100
_ index.tsx 100 81.25 100 100 20-35
_core/src/components/crud/show 96.77 88.64 50 96.55
_ index.tsx 96.77 88.64 50 96.55 96
_core/src/components/fields 100 100 10 100
_ index.ts 100 100 10 100
_core/src/components/fields/boolean 100 83.33 100 100
_ index.tsx 100 83.33 100 100 20,22
_core/src/components/fields/date 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/email 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/file 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/image 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/markdown 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/number 100 80 100 100
_ index.tsx 100 80 100 100 34
_core/src/components/fields/tag 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/text 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/fields/url 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/layoutWrapper 84 50 66.67 80
_ index.tsx 84 50 66.67 80 27-34,39
_core/src/components/layoutWrapper/components 100 100 100 100
_ index.ts 100 100 100 100
_core/src/components/layoutWrapper/components/footer 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/layoutWrapper/components/header 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/layoutWrapper/components/layout 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/layoutWrapper/components/offLayoutArea 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/layoutWrapper/components/sider 79.31 25 50 72.73
_ index.tsx 79.31 25 50 72.73 24-38
_core/src/components/layoutWrapper/components/title 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/notification 88.46 75 83.33 88.46
_ index.tsx 88.46 75 83.33 88.46 61-66
_core/src/components/notification/components 100 100 100 100
_ index.ts 100 100 100 100
_core/src/components/notification/components/notificationProgress 100 75 100 100
_ index.tsx 100 75 100 100 17
_core/src/components/pages 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/pages/error 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/pages/login 100 100 100 100
_ background.svg 100 100 100 100
_ index.tsx 100 100 100 100
_ refine.svg 100 100 100 100
_ styles.ts 100 100 100 100
_core/src/components/pages/ready 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/components/routeChangeHandler 38.46 100 0 41.67
_ index.tsx 38.46 100 0 41.67 9-18
_core/src/components/table 100 100 100 100
_ index.ts 100 100 100 100
_core/src/components/table/components 100 100 0 100
_ index.ts 100 100 0 100
_core/src/components/table/components/filterDropdown 90.63 50 100 90
_ index.tsx 90.63 50 100 90 28,35,46
_core/src/contexts/admin 96.3 100 50 94.74
_ index.tsx 96.3 100 50 94.74 18
_core/src/contexts/auth 90 58.33 61.54 86.49
_ index.tsx 90 58.33 61.54 86.49 6-10
_core/src/contexts/components 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/contexts/data 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/contexts/notification 93.94 87.5 88.89 93.1
_ actionTypes.ts 100 100 100 100
_ index.ts 100 100 100 100
_ notificationContext.tsx 91.67 83.33 80 90.48 11,39
_core/src/contexts/resource 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/contexts/translation 90 100 75 90
_ index.tsx 90 100 75 90 9
_core/src/definitions 100 100 100 100
_ index.ts 100 100 100 100
_core/src/definitions/config 100 100 100 100
_ index.ts 100 100 100 100
_core/src/definitions/helpers 100 100 50 100
_ index.ts 100 100 50 100
_core/src/definitions/helpers/importCSVMapper 100 100 100 100
_ index.ts 100 100 100 100
_core/src/definitions/helpers/userFriendlySeconds 100 100 100 100
_ index.ts 100 100 100 100
_core/src/definitions/render 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/definitions/table 95.77 73.68 100 94.92
_ index.ts 95.77 73.68 100 94.92 90,99,112
_core/src/definitions/upload 86.67 50 80 86.67
_ index.ts 86.67 50 80 86.67 25-26
_core/src/hooks 90.48 50 73.33 90
_ index.ts 100 100 100 100
_ useFileUploadState.ts 88.24 25 100 85.71 18,35
_ useListResourceQueries.ts 87.1 100 60 87.1 11,27,48,52
_core/src/hooks/admin 100 100 100 100
_ index.ts 100 100 100 100
_ useMutationMode.ts 100 100 100 100
_ useSyncWithLocation.ts 100 100 100 100
_ useTitle.tsx 100 100 100 100
_core/src/hooks/admin/useWarnAboutChange 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/auth 100 100 66.67 100
_ index.ts 100 100 66.67 100
_core/src/hooks/auth/useAuthenticated 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/auth/useCheckError 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/auth/useGetIdentity 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/auth/useLogin 100 66.67 100 100
_ index.ts 100 66.67 100 100 29-30
_core/src/hooks/auth/useLogout 93.75 75 100 93.75
_ index.ts 93.75 75 100 93.75 33
_core/src/hooks/auth/usePermissions 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/data 66.97 34.76 68.6 68.51
_ index.ts 100 100 72.73 100
_ useApiUrl.ts 100 100 100 100
_ useCreate.ts 80.77 100 60 80 65-71
_ useCreateMany.ts 85.71 100 60 85 57-61
_ useCustom.ts 81.25 25 66.67 81.25 46-49
_ useDelete.ts 58.75 36.36 69.23 61.97 81,85-86,90,113-143,153-170,186-189,206-209
_ useDeleteMany.ts 58.33 41.94 69.23 61.54 82,86-87,91,114-146,160-163,178-194
_ useList.ts 81.25 33.33 66.67 81.25 42-45
_ useMany.ts 81.25 0 66.67 81.25 33-36
_ useOne.ts 75 0 66.67 75 32-37
_ useUpdate.ts 59.21 38.71 69.23 61.76 85,89-90,94,117-150,165-182,199
_ useUpdateMany.ts 59.21 41.94 69.23 61.76 85,89-90,94,118-153,168-185,202
_core/src/hooks/fields 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/fields/useCheckboxGroup 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/fields/useRadioGroup 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/fields/useSelect 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/form 92.86 60 33.33 90.91
_ index.ts 100 100 20 100
_ useForm.ts 90 60 100 88.46 118-122
_core/src/hooks/form/useCloneForm 100 92.31 100 100
_ index.ts 100 100 100 100
_ useCloneForm.ts 100 92.31 100 100 62
_core/src/hooks/form/useCreateForm 65.91 25 22.22 65
_ index.ts 100 100 100 100
_ useCreateForm.ts 64.29 25 12.5 64.1 100-119,127-128,133-136,142
_core/src/hooks/form/useDrawerForm 65.22 37.1 42.86 60.98
_ index.ts 100 100 0 100
_ useDrawerForm.ts 63.64 37.1 50 60 63-65,73-75,84-85,111-127
_core/src/hooks/form/useEditForm 71.43 50 33.33 69.35
_ index.ts 100 100 100 100
_ useEditForm.ts 70.59 50 27.27 68.85 145-177,186-187,192-195,201
_core/src/hooks/form/useModalForm 68.18 43.48 42.86 65.85
_ index.ts 100 100 0 100
_ useModalForm.ts 66.67 43.48 50 65 92-94,102-105,114-115,142-156
_core/src/hooks/form/useStepsForm 83.33 53.85 25 81.82
_ index.ts 100 100 0 100
_ useStepsForm.ts 80 53.85 33.33 80 41,55
_core/src/hooks/list 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/list/useSimpleList 20 0 0 22.73
_ index.ts 100 100 0 100
_ useSimpleList.tsx 14.29 0 0 19.05 27-59
_core/src/hooks/navigation 100 82.14 100 100
_ index.ts 100 82.14 100 100 11,30,47,56-60
_core/src/hooks/notification 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/notification/useCancelNotification 100 100 100 100
_ index.tsx 100 100 100 100
_core/src/hooks/redirection 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/resource 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/resource/useMenu 100 77.78 100 100
_ index.tsx 100 77.78 100 100 24,44,49
_core/src/hooks/resource/useResource 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/resource/useResourceWithRoute 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/show 100 92.86 100 100
_ index.ts 100 100 100 100
_ useShow.ts 100 92.86 100 100 27
_core/src/hooks/table 100 100 100 100
_ index.ts 100 100 100 100
_core/src/hooks/table/useEditableTable 84.21 50 42.86 88.24
_ index.ts 100 100 0 100
_ useEditableTable.ts 82.35 50 50 87.5 57,62
_core/src/hooks/table/useTable 71.95 69.23 40 71.88
_ index.ts 100 100 100 100
_ useTable.ts 71.25 69.23 25 71.43 69,85-91,128-145,150-152
_core/src/hooks/translate 100 75 100 100
_ index.ts 100 100 100 100
_ useGetLocale.ts 100 100 100 100
_ useSetLocale.ts 100 100 100 100
_ useTranslate.ts 100 75 100 100 9
_core/test 100 100 100 100
_ dataMocks.ts 100 100 100 100
_ index.tsx 100 100 100 100
_json-server/src 81.4 53.33 79.41 81.08
_ index.ts 81.4 53.33 79.41 81.08 15-24,33-35,66-67,132-143,203,226,230,238,240,243-245
_json-server/test/create 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/custom 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/deleteMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/deleteOne 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/getList 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/getMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/getOne 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/update 100 100 100 100
_ index.mock.ts 100 100 100 100
_json-server/test/updateMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/src 78.29 47.62 84.38 76.36
_ index.ts 78.29 47.62 84.38 76.36 30-39,46-54,58-68,188-193,231,245,249,257,259,262-264
_nestjsx-crud/test/create 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/custom 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/deleteMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/deleteOne 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/getList 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/getMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/getOne 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/update 100 100 100 100
_ index.mock.ts 100 100 100 100
_nestjsx-crud/test/updateMany 100 100 100 100
_ index.mock.ts 100 100 100 100
_strapi/src 87.93 59.65 87.1 86.73
_ dataProvider.ts 87.93 59.65 87.1 86.73 14-23,131-132,168,191,195,203,205,208-210
_strapi/src/helpers 100 100 100 100
_ auth.ts 100 100 100 100
_strapi/test/auth 100 100 100 100
_ index.mock.ts 100 100 100 100
_strapi/test/dataProvider 100 100 100 100
_ index.mock.ts 100 100 100 100

@omeraplak omeraplak merged commit 4e8fa48 into master Jun 17, 2021
@omeraplak omeraplak deleted the multipart-upload-example-fix branch June 17, 2021 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants