Commit Graph

560 Commits

Author SHA1 Message Date
Aminejv
4463d47944 feat(Upload/Jumper):
- add overlay behind the jumper

-m update spacing inside the jumper
2021-10-12 19:11:55 +01:00
Aminejv
2d6fa04c41 feat(hooks): add useHover hook 2021-10-08 17:38:17 +01:00
Aminejv
9a9221dfee feat(upload-utilities):
- add function to retry all the failed uploads

- add function to clear the queue's cache
2021-10-08 17:37:57 +01:00
Aminejv
4703961ba7 feat(SVG): add ChevronUp CheckCircle XCircle AlertTriangle 2021-10-08 17:34:07 +01:00
Aminejv
84c9bcf492 feat(styles): add cursor:pointer to BUTTON_RESET 2021-10-08 17:33:06 +01:00
Aminejv
11fe4f42a9 feat(intercom): change the widget's position and zindex 2021-10-08 17:32:01 +01:00
Aminejv
d7133ecb06 fix(Upload&Filter): fix zindex issue between filter navbar and upload modal 2021-09-29 19:08:02 +01:00
Aminejv
8ca1fc61b6 fix(Upload/Modal): remove seconds from date 2021-09-29 17:49:30 +01:00
Aminejv
f0976aed8f fix(Upload): fix the wrong number for files being uploaded by skipping the submitted file if it's currently uploading 2021-09-29 17:35:44 +01:00
martinalong
48e812c828
Merge pull request #954 from filecoin-project/@aminejv/new-filtering
Filtering feature
2021-09-28 17:07:26 -07:00
Martina
c3f2d7c617 removed storage deal options and made edits to storage deal script 2021-09-28 14:54:02 -07:00
Aminejv
64d4ddfd02 feat(filter-utilities): remove file data attributes 2021-09-27 10:27:22 +01:00
Aminejv
145ce319a4 fix(hooks): fix web worker security error 2021-09-27 10:23:09 +01:00
Aminejv
4d8514b4dc fix(Strings/capitalize): error occuring when passing empty string 2021-09-27 10:22:51 +01:00
Aminejv
5c4d723296 feat(constants): update header size 2021-09-27 10:22:51 +01:00
Aminejv
2442b2ceb4 feat(filter-utilities):
add relationship between filter views, types, and subviews. For now, we have two views, Initial and Browser. each has its own filters, and the browser view has subviews (saved, history…)

add filter handlers (will be passed to web workers
2021-09-27 10:13:35 +01:00
Aminejv
64347b4dc5 feat(Validations: add validations for documents, Twitter links, Youtube links , Twitch Link, Github links, Instagram links 2021-09-27 10:13:31 +01:00
Aminejv
4828c7ac02 feat(SVG): add new icons (will be used in the filter sidebar) 2021-09-27 10:12:24 +01:00
Aminejv
b41699824d feat(Typography): add H6 component 2021-09-27 10:10:21 +01:00
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
0c91a54382 textile bucketsGetOrCreate replacement 2021-09-24 18:20:28 -07:00
Aminejv
35e9887257 feat(Upload): save links through the queue 2021-09-22 13:30:47 +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
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
62622d9dfb fix(hooks/useLockScroll): fix undefined error when no parameter is passed 2021-09-17 15:20:28 -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
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
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
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
Martina
d0341d2486 added shovel decorators to messages 2021-09-15 15:20:37 -07:00
Martina
d99e5d7d28 stylistic changes and fixes, as well as resolving bugs 2021-09-13 12:47:24 -07:00
Martina
ef725d8040 added max length for body and extended database length for body & edited migration script 2021-09-13 12:47:23 -07:00
Martina
d0d0d356c9 added error messaging & extra privacy recalc when add to slate & conversions between version structures 2021-09-13 12:47:23 -07:00
Martina
e4e4f67293 removed remaining mentions of user.data, slate.data, file.data 2021-09-13 12:47:23 -07:00
Martina
7081b19f7f converted slate.data.preview -> slate.preview 2021-09-13 12:44:49 -07:00
Martina
4cbd6cab6f converted file.data.coverImage -> file.coverImage 2021-09-13 12:44:49 -07:00
Martina
a75ef7129b converted file.data.blurhash -> file.blurhash 2021-09-13 12:43:26 -07:00
Martina
44820c388a converted file.data.type -> file.type 2021-09-13 12:40:51 -07:00
Martina
e0a044fcac converted file.data.size to file.size 2021-09-13 12:40:51 -07:00
Martina
b45be08ffb modified data.name to just name 2021-09-13 12:40:51 -07:00
Martina
8056862898 fixed blurhash checking 2021-09-03 13:02:00 -07:00
martinalong
cc509e3af7
Merge pull request #903 from filecoin-project/@martinalong/nft-specific-support
@martinalong/nft specific support
2021-08-30 19:44:07 -07:00
Martina
59c8f95cbb adaptive scaling for NFT link previews 2021-08-30 19:42:25 -07:00
Martina
48d59d3f95 added detection that something is an nft link 2021-08-30 13:51:45 -07:00