Aminejv
64d4ddfd02
feat(filter-utilities): remove file data attributes
2021-09-27 10:27:22 +01:00
Aminejv
5220491313
chore: replace relative paths with absolute paths
2021-09-27 10:23:09 +01:00
Aminejv
145ce319a4
fix(hooks): fix web worker security error
2021-09-27 10:23:09 +01:00
Aminejv
5aa62e9af0
feat(SceneFilesFolder): add filter components
2021-09-27 10:23:07 +01:00
Aminejv
0349657281
feat(ImageObjectPreview): skip the loading state if an img has already been cached
2021-09-27 10:22:51 +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
c0d396282b
feat(web-workers/filter-files): add web-worker to handle filtering off the main thread
2021-09-27 10:22:51 +01:00
Aminejv
5c069eb637
feat(Filter): export filter components
2021-09-27 10:22:51 +01:00
Aminejv
5c0e2545b8
feat(Filter/Sidebar): add Filter sidebar component
2021-09-27 10:22:51 +01:00
Aminejv
d227b35840
feat(Filter/Filters): add Filters components to render filter views
2021-09-27 10:22:51 +01:00
Aminejv
e91865934f
feat(Filter/Breadcrumb): add Breadcrumb component to manage filter history
2021-09-27 10:22:51 +01:00
Aminejv
f82b2e82c7
feat(Filter/Content): add Filter.Content to render filtered objects
2021-09-27 10:22:51 +01:00
Aminejv
c9eec5b764
feat(Filter/Provider):
...
- add useFilterSidebar to handle Sidebar visibility
- add useFilter to handle filter state
- add useFilterWorker to handle web worker state
2021-09-27 10:22:51 +01:00
Aminejv
1d1b2e75a8
feat(Filter/Navbar):
...
- add Navbar component to ApplicationHeader
add NavbarPortal which will render children to Filter.Navbar
2021-09-27 10:22:49 +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
3be39eccc4
feat(PortalsProvider): add PortalsProvider
...
- will be used with ReactDOM.createPortal to render components to elements that are outside their tree hierarchy
2021-09-27 10:13:04 +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
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