-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Events v2: Implement optimistic file upload and FILE type input (#8246)
* implement optimistic file upload and FILE type input * fix broken offline record creation * fix one type error * fix: update tests, add missing license header * fix: explicitly throw if cache not found * fix type errors * fix eslint errors * fix review page * add signing for files fetched from events service * cleanup * cleanup * use undefined instead of null in FileInput as the default value of selected file * remove default empty string value * remove fallback output * fix linter error * fix: clean up types and lint issues * fix review page exception * fix: add missing flush * fix: update test mock name * move debugger to top level of events v2 * fix: add mock for files service call * chore: add msw, mock documents api call * fix: add missing license header * refactor react query logic a bit * fix: remove unused export * fix: change cache invalidation order * fix: add flushPromises * fix: add flushPromises to top-level * fix merge * add types back * improve knip diff output --------- Co-authored-by: Markus <[email protected]> Co-authored-by: Markus Laurila <[email protected]>
- Loading branch information
1 parent
2a80871
commit 1acab85
Showing
48 changed files
with
1,612 additions
and
1,346 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
Oops, something went wrong.