Aminejv
2c601066a6
feat(web-workers):
...
- add useWorker to interact with web workers declaratively
- update next to 11.1.2 to support web-workers
- update next config to ignore eslint errors during build
2021-09-27 10:09:36 +01:00
Martina
24b09cf0ba
updated flattening migration
2021-09-26 15:38:54 -07:00
Martina
d637d683cf
removed unnecessary console.logs
2021-09-26 14:39:35 -07:00
martinalong
df9d426c18
Merge pull request #955 from filecoin-project/@martinalong/textile-speedup
...
textile bucketsGetOrCreate speed up
2021-09-24 18:21:54 -07:00
Martina
0c91a54382
textile bucketsGetOrCreate replacement
2021-09-24 18:20:28 -07:00
martinalong
654dbb3b32
Merge pull request #944 from filecoin-project/@aminejv/new-saving-flow
...
Update: Saving flow
2021-09-22 12:49:43 -07:00
Aminejv
efdf7938b0
feat(UploadSummary): sort by status and date
2021-09-22 14:01:07 +01:00
Aminejv
35e9887257
feat(Upload): save links through the queue
2021-09-22 13:30:47 +01:00
Aminejv
f02e2330bc
feat(create-link): return links cids when links are saved or duplicates
2021-09-22 13:29:17 +01:00
Aminejv
25e688fa02
feat(file-utilities/uploadLink):
...
- remove Alert code
- add support for uploadAbort
2021-09-22 12:12:23 +01:00
Aminejv
2220ba8941
feat(actions/createLink):
...
- returnJSON will return {aborted: true} as a response when the fetch is aborted
- pass options argument to extend createLink's request options
2021-09-22 12:09:49 +01:00
Aminejv
95900d3e1e
feat(Upload):
...
- Remove GlobalCarrousel from upload summary (replaced by Link component)
- Remove library files from upload summary
- Sort upload summary by date saved
2021-09-21 15:53:37 +01:00
Aminejv
5aa823f590
fix(onboarding): fix onboarding.hidePrivacyAlert undefined error
2021-09-21 14:09:49 +01:00
Martina
b80d35d835
small change to wording of duplicate file message
2021-09-19 20:21:35 -07:00
Martina
4baf9f8807
fixed misspelling
2021-09-17 18:35:21 -07:00
Martina
37b9bac7b0
migration to new flat structure
2021-09-17 17:09:10 -07:00
Aminejv
3c2d78f451
fix(Upload.Modal): fix modal's overflow over profile popup
2021-09-17 15:20:28 -07:00
Aminejv
0019ca2870
feat(api/data/create): return the cid of the duplicate file (will be updated once the migration is done)
2021-09-17 15:20:28 -07:00
Aminejv
62622d9dfb
fix(hooks/useLockScroll): fix undefined error when no parameter is passed
2021-09-17 15:20:28 -07:00
Aminejv
6152085ef1
feat(SceneSlate): use Upload.Trigger to show the upload modal
2021-09-17 15:20:28 -07:00
Aminejv
c5ae2f1d87
feat(ApplicationHeader): add Upload Provider, Root, Trigger components to the header
2021-09-17 15:20:27 -07:00
Aminejv
ef7e8a1103
feat(Upload):
...
- export Provider
- add Root component (managing the upload modal visibility)
- add Trigger component (responsible for showing the upload modal)
2021-09-17 15:20:27 -07:00
Aminejv
d2c26ab62e
feat(Upload.Modal):
...
- feat(Controls): adjust to design styles
feat(Summary):
- add upload indicator
- add summary table
2021-09-17 15:20:27 -07:00
Aminejv
2fbcd640d4
feat(Upload.Provider):
...
- add useUploadModal (responsible for showing and hiding upload modal)
- add useUpload (responsible for upload state, also returns methods exposed by createUploadProvider )
- add useUploadOnDrop (responsible for handling upload on drop)
- add useUploadFromClipboard (responsible for handling upload when pasting an image)
- add useUploadRemainingTime (calculate remainingTime for the currentUpload)
2021-09-17 15:20:00 -07:00
Aminejv
49d5e02932
feat(DataMeter): clamp percentage between 0 and 100%
2021-09-17 15:20:00 -07:00
Aminejv
9b632cacc3
feat(utilities): add formatDateToString to format uploaded files date to using today and yesterday
2021-09-17 15:20:00 -07:00
Aminejv
119312afa1
chore(Alert): remove uploading messages (this will be handled by the new popup system)
2021-09-17 15:20:00 -07:00
Aminejv
858920feb9
chore(ApplicationLayout):
...
remove SIDEBAR_ADD_FILE_TO_BUCKET components
- fix overflow issue in the header
- remove fileLoading instances
2021-09-17 15:20:00 -07:00
Aminejv
2128df489a
chore(Application):
...
- remove logic related to handling drag and drop upload
- remove logic to handle paste 0on image upload
- remove ModalAddFileToBucket from sidebars (moved its own component)
2021-09-17 15:20:00 -07:00
Aminejv
7073aedd38
feat(upload-utilities):
...
- add UploadQueue to be able to handle upload sequentially
- add failedFilesCache to store files when they fail to upload so we can retry later
- add uploadAbort which object that keeps track of the file being currently uploaded, and get assigned to xhr.abort, which allows it to cancel occurring upload outside of file-utilities.upload function
- add createUploadProvider factory function that exposes upload, cancel, cancellAll, retry handlers
2021-09-17 15:20:00 -07:00
Aminejv
5c0747ff71
chore(file-utilities):
...
- remove Store.js. We'll use a queue system, it'll be easier to cancel file uploading from the queue directly
- remove uploadFiles functions. It'll be replaced by the queue system
- remove the context parameter from the upload function. We'll use onProgress handler instead
- add UploadAbort parameter to upload, which is an object that will give us the ability to abort an occurring upload outside of the function scope
2021-09-17 15:20:00 -07:00
Aminejv
b410937fa3
chore(GlobalCarousel):
...
- fix typo (trannslateX)
- remove width: 100% and height: 100%. When sitting an element's position to fixed, it will have those values by default
2021-09-17 15:18:10 -07:00
Aminejv
958387a2bf
chore(SidebarAddFileToBucket): remove file since it's not used anywhere in the app
2021-09-17 15:18:10 -07:00
Aminejv
0c4ecd9025
feat(modals): add portal to display modals in
...
- feat(_document): render portals in the div element with id browser_extension
- feat(ModalPortal): useReactDom.createPortal to render childrens
2021-09-17 14:44:29 -07:00
Aminejv
647b4d043a
feat(upload-utilities): add the ability to cancel uploading and retry after failure
2021-09-17 14:44:29 -07:00
Aminejv
de90ddee0f
feat(upload-utilities): add queue based upload factory function
2021-09-17 14:44:29 -07:00
Aminejv
d62f4fdb11
feat(System): update button borders radius to 12px and exported H5 from system
2021-09-17 14:44:29 -07:00
Aminejv
624783eca3
feat(upload): added initial state for fileLoading
2021-09-17 14:44:29 -07:00
Aminejv
ecede8d196
feat(Table): use contentstyle prop to adjust topRows style
2021-09-17 14:44:29 -07:00
Aminejv
26adac01c3
feat(ApplicationHeader): add upload meter
2021-09-17 14:44:29 -07:00
Aminejv
25d5bf9349
feat(DataMeter): use translate instead of width to show progress
2021-09-17 14:44:29 -07:00
Aminejv
de0006802c
feat(svg): add List icon
2021-09-17 14:44:29 -07:00
Aminejv
9c8ea2cea8
feat(theme): add bgWhite color
2021-09-17 14:44:29 -07:00
Aminejv
856d5cb69c
feat(UploadSummary): update to new styles
2021-09-17 14:44:29 -07:00
Martina
a26630edb5
updated v2 upload docs to use v2 endpoint instead of v1
2021-09-15 15:21:29 -07:00
Martina
d0341d2486
added shovel decorators to messages
2021-09-15 15:20:37 -07:00
Martina
9a836d3bdf
hot fix for undefined id and unused file stuff in sceneprofile
2021-09-15 11:20:17 -07:00
martinalong
c7a06dd70d
Merge pull request #941 from filecoin-project/@martinalong/extension-endpoints
...
@martinalong/extension endpoints
2021-09-14 16:02:28 -07:00
Martina
fe8b2ce013
edited to remove serializers sanitize
2021-09-14 16:01:49 -07:00
Martina
8be6c257b4
add get api key and check link extension endpoints
2021-09-14 16:00:55 -07:00