Commit Graph

572 Commits

Author SHA1 Message Date
Aminejv
dad43a62f4 feat(user-behaviors):
- save-copy: conditionally show alerts

- download: use rootRef element to nest the link element in
2021-11-03 11:51:14 +01:00
Aminejv
206fead689 feat(Hooks):
- useEventListener: add support to listen to events from elememts

- useEscakeKey: when multiple components use this hook, and when triggered close the last one opened

- useImage: check if image is loaded. Also it checks if the image overflows given a maxWidth

feat(useDetectTextOverflow): detect if a text element has an overflow
2021-11-03 11:51:14 +01:00
Aminejv
b81fa696bc feat(SlateMediaObject): add dynamic background blur 2021-11-03 11:51:14 +01:00
Aminejv
06c1527a12 feat(SVG): add UploadCloud, CheckCircle and Hexagon 2021-11-03 11:51:14 +01:00
Aminejv
76383e28bf feat(Constants): add bgGrayLight4 2021-11-03 11:51:14 +01:00
Martina
745bcd5d90 modified to fit the rebase and removed extraneous print 2021-11-01 14:05:38 -07:00
Martina
09dd4cfef6 hooked up the search endpoint to the front end 2021-11-01 13:42:23 -07:00
Martina
14eb5925b2 plugged in search update function where appropriate 2021-11-01 13:38:58 -07:00
Martina
24160ca830 search queries 2021-11-01 13:38:58 -07:00
Martina
c1bceaf1ec added search-utilities and basic schema for index creation 2021-11-01 13:38:58 -07:00
martinalong
3fee27424c
Merge pull request #959 from filecoin-project/@aminejv/saving-changes
Additional changes for save
2021-10-15 14:16:26 -07:00
Martina
c28b532179 fixed check is owner bug 2021-10-13 13:39:01 -07:00
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