Commit Graph

36 Commits

Author SHA1 Message Date
tarafanlin
4fddd7ddf1 nits styling tweaks 2021-11-11 14:30:13 -08:00
Aminejv
987abeeea1 feat(Jumper): add an overlay and a dismiss button 2021-11-03 11:51:14 +01:00
Aminejv
c041514bce feat(Upload): readd opening upload jumper via custom event 2021-11-03 11:51:14 +01:00
Aminejv
9a58c92d40 feat(Upload): remove open-upload-jumper custom event 2021-11-03 11:51:14 +01:00
Aminejv
f91f8de959 feat(Upload/DropIndicator): use new useEventListener params 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
Martina
b2135c203f fixed capitalization of import 2021-10-15 14:25:23 -07:00
Aminejv
92d544d175 feat(Upload/Popup): expand the popup when new files are added to the upload queue 2021-10-14 19:14:09 +01:00
Aminejv
8314b9ad71 feat(Upload): upload a link by pasting it into the app 2021-10-14 18:57:04 +01:00
Aminejv
40a9607123 feat(Upload/Jumper):
- add dismiss button

- close the jumper when submitting links/files
2021-10-14 18:53:44 +01:00
Aminejv
eafb38b004 update(Upload/Popup): clamp upload progress percentage 2021-10-14 18:44:20 +01:00
Aminejv
d72bf14716 update(Upload/DropIndicator): capitalize slate 2021-10-14 18:42:24 +01: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
be5b99f799 feat(Upload/Popup): change status copy from saved to file size 2021-10-12 14:06:34 +01:00
Aminejv
3ddafb40ec feat(Upload/Popup): close the popup automatically when the upload is successful 2021-10-12 13:54:52 +01:00
Aminejv
3216e863c9 feat(Upload/DropIndicator): update copy 2021-10-12 13:29:40 +01:00
Aminejv
4b881428c1 feat(Upload/Jumper): reset link input when clicking save 2021-10-12 12:02:19 +01:00
Aminejv
bc6676edbc feat(Upload): remove upload metrics from ApplicationHeader 2021-10-08 17:49:07 +01:00
Aminejv
1108e1aa15 feat(Upload/Popup): add popup component 2021-10-08 17:47:58 +01:00
Aminejv
8727358958 feat(Upload/Provider):
- add is Finished state to check when an upload finishs

- remove useUploadRemainingTime

- add resetUploadState

- change useUploadModal to useUploadJumper
2021-10-08 17:46:47 +01:00
Aminejv
39336544c5 feat(Upload): add upload jumper 2021-10-08 17:42:37 +01:00
Aminejv
7e412dcc8f feat(Upload): renamed the popup component to DropIndicator 2021-10-08 17:39:20 +01:00
Aminejv
91dfaa6fb8 feat(Upload): remove modal 2021-10-08 17:38:35 +01:00
Aminejv
e185c76e5f feat(Upload.Popup): add popup indicator when dropping files 2021-09-29 17:49:28 +01:00
Aminejv
f0849b2604 feat(Upload):
- combine upload and summary in the same page

- update summary's copy
2021-09-29 17:35:44 +01:00
Aminejv
7aff27dff1 feat(UploadSummary): make objects and sizes singular 2021-09-29 17:35:44 +01: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
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
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
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