Commit Graph

1663 Commits

Author SHA1 Message Date
Martina
2ad80f2811 switched to id based carousel routing 2021-12-13 13:27:03 -08:00
Martina
c18d49f365 fixed scrolling of pages that are empty and removed filter from 404 and signin pages 2021-12-13 12:31:59 -08:00
Martina
42eda96cdb added internal routing for default to first slate in profile, and added directory to sidebar 2021-12-13 12:31:59 -08:00
Martina
c0f918f8c6 added default to first slate in a profile, and redirect to data for own profile 2021-12-13 12:31:59 -08:00
Martina
3c290bf0e1 setup profiles in new format 2021-12-13 12:31:59 -08:00
Martina
49c94daa47 fixed bugs with navigating between profile slate pages 2021-12-13 12:31:59 -08:00
Martina
538b931309 added profile page 2021-12-13 12:31:59 -08:00
martinalong
34aedadb6a
Merge branch 'main' into @aminejv/filter-updates 2021-11-29 13:34:27 -08:00
martinalong
af3f5d820c
Merge pull request #1014 from filecoin-project/@tarafanlin/new-landing
@tarafanlin/new landing
2021-11-29 13:10:17 -08:00
Aminejv
791665d861 feat(Search): show search result when user is not logged in 2021-11-29 20:36:40 +01:00
Aminejv
e454e30c85 feat(ApplicationHeader): add search input 2021-11-29 18:43:42 +01:00
Aminejv
10db14380d feat(Application): wrap data, slate and profile scenes with filter components 2021-11-29 18:43:42 +01:00
Aminejv
e8f29c10a8 feat(Filter): remove filter state 2021-11-29 18:43:42 +01:00
Aminejv
8ec4aae957 feat(Search/index): add search components 2021-11-29 18:43:42 +01:00
Aminejv
e9caf827db feat(Search/store): manage search state 2021-11-29 18:43:42 +01:00
Aminejv
b3a79ba686 feat(TextObjectPreview): cache file's fetched content 2021-11-29 18:43:42 +01:00
Aminejv
d65162d916 feat(ImageObjectPreview): prevent reloading images that are cached by the browser 2021-11-29 18:43:42 +01:00
Aminejv
f86bb5b8ab feat(Filter/Sidebar): fix overflow 2021-11-29 18:43:42 +01:00
Aminejv
5233b5c056 feat(Filter/Popup): add responsive popup component 2021-11-29 18:43:42 +01:00
Aminejv
d3459a9919 feat(Filter/Provider):
- remove useWorker

- add useFilterPopup
2021-11-29 18:43:41 +01:00
Aminejv
ba3e2c8877 feat(Filter/Sidebar): add tags filters 2021-11-29 18:43:41 +01:00
Aminejv
0697c2d266 feat(Filter/Filters): add tags and remove browser filters 2021-11-29 18:43:41 +01:00
Aminejv
15d0940546 feat(Divider): add support for css prop 2021-11-29 18:43:41 +01:00
Aminejv
2827589e45 feat(ApplicationHeader): update header's height 2021-11-29 18:43:41 +01:00
Aminejv
f22e79aac2 feat(Filter/Breadcrumb): delete Breadcrumb component 2021-11-29 18:43:41 +01:00
Martina
0554e51edb fixing my own misspelling of link 2021-11-23 14:33:09 -08:00
Aminejv
43b87e798c feat(Upload): display files uploaded by actions.saveCopy in the upload queue 2021-11-22 18:29:13 +01:00
Aminejv
14faf2eb2f feat(Upload): remove upload state from the Upload context. Instead use a store for it 2021-11-22 14:15:39 +01:00
Aminejv
f189affcbb feat(GlobalCarousel): add save button 2021-11-22 09:38:02 +01:00
Aminejv
1129bc8dd8 feat(GlobalCarousel): always show share jumper 2021-11-21 18:01:28 +01:00
Aminejv
0e2de0e9c6 feat(GlobalCarousel/Share): move download buttom to share jumper 2021-11-21 17:27:54 +01:00
Aminejv
93be2f3e15 fix(GlobalCarousel/MoreInfo): display no preview image when the user visits a file from an external link 2021-11-21 17:27:54 +01:00
Martina
752055f465 fixed bug that wasn't applying props.style for boringAvatar ProfilePhotos 2021-11-21 17:27:54 +01:00
Martina
9c736a3530 fixed line break caused by display: block on svgs 2021-11-21 17:27:54 +01:00
Martina
f0839df06b widened margin between button and icons 2021-11-21 17:27:54 +01:00
Aminejv
5aec96968b fix(Jumper): divider color 2021-11-21 17:27:54 +01:00
Aminejv
7ef9039831 feat(MobileJumper): make GlobalCarouse/components/MobileLayout into its own component 2021-11-21 17:27:54 +01:00
Aminejv
4ad986c266 fix: sync changes with main 2021-11-21 17:27:54 +01:00
Aminejv
5997a9cb25 fix(GlobalCarousel): get rid of useLayoutEffect warning 2021-11-21 17:27:54 +01:00
Aminejv
ca6b763dc2 fix(GlobalCarousel/Jumpers/MoreInfo): show the file as preview when previewing an image file 2021-11-21 17:27:54 +01:00
Aminejv
9baff7f749 fix(Jumper/ObjectPreview): fix CheckCircle alignment 2021-11-21 17:27:54 +01:00
Aminejv
3d116e79a2 fix(GlobaCarousel): display previous and next buttons on mobile 2021-11-21 17:27:54 +01:00
Aminejv
af1053242a fix(GlobalCarousel): hide description and title when viewing link in mobile 2021-11-21 17:27:54 +01:00
Aminejv
6655203b28 feat(FullHeightLayout): add this component to fix ios 100vh issue 2021-11-21 17:27:54 +01:00
Aminejv
8415d02c9f fix(GlobalCarousel/Jumpers): change borders' color to borderGrayLight4 2021-11-21 17:27:54 +01:00
Aminejv
e81bb75aab fix(Jumper): change overlay's backgroundColor to bgBlurDark 2021-11-21 17:27:54 +01:00
Aminejv
e3e8ae23b0 fix(GlobalCarousel/Jumpers): use H5 in EditInfo, MoreInfo, Share jumpers' headers 2021-11-21 17:27:54 +01:00
tarafanlin
0917be7c31 nits styling fixes 2021-11-17 14:27:16 -08:00
tarafanlin
decf1ec642 landing page wip with updated content 2021-11-17 13:21:37 -08:00
tarafanlin
a0e16e00c3 rebase with main 2021-11-17 13:21:25 -08:00
Martina
dc942d1b6e fixed typo that was causing weird carousel query params 2021-11-16 16:59:26 -08:00
Martina
d9e2c89659 added standalone file page and edited share modal to use it 2021-11-16 16:52:19 -08:00
Martina
dd386ba452 edits to fix the functioning of getImageUrlIfExists 2021-11-16 13:20:29 -08:00
martinalong
64956cc1aa
Merge pull request #1004 from filecoin-project/@martinalong/denormalize-slate-previews
@martinalong/denormalize slate previews
2021-11-15 14:44:23 -08:00
martinalong
8b87ea908d
Merge pull request #982 from filecoin-project/@tarafanlin/carousel-tweaks
nit styling changes
2021-11-15 14:20:28 -08:00
Martina
60421cc214 swapped slate.preview for slate.coverImage 2021-11-12 13:53:31 -08:00
tarafanlin
f0204d34fa border color 2021-11-11 16:02:32 -08:00
Martina
d090e3802c added documentation for v3 2021-11-11 14:40:39 -08:00
tarafanlin
4fddd7ddf1 nits styling tweaks 2021-11-11 14:30:13 -08:00
tarafanlin
926c2e47bf nit styling changes 2021-11-11 14:30:12 -08:00
Martina
8accb20f1c added ability to search through another user's files 2021-11-08 17:17:09 -08:00
Aminejv
321f181980 fix(GlobalCarousel/Jumpers/EditChannels): fix Svg.Plus alignment 2021-11-04 14:46:53 +01:00
Aminejv
7ced5b22a5 fix(Jumper): use borderGrayLight4 for border color 2021-11-03 19:20:43 +01:00
Aminejv
987abeeea1 feat(Jumper): add an overlay and a dismiss button 2021-11-03 11:51:14 +01:00
Aminejv
7522f5436e fix(GlobalCarousel/Jumpers/EditChannels): handle tags state locally 2021-11-03 11:51:14 +01:00
Aminejv
172e674961 fix(GlobalCarousel/Jumpers/EditChannels): truncate long tags and add overflow when user has too many tags 2021-11-03 11:51:14 +01:00
Aminejv
112184fb3b fix(GlobalCarousel/Jumpers/EditInfo): remove source field 2021-11-03 11:51:14 +01:00
Aminejv
bc58d0362e fix(GlobalCarousel)
- reduce header and controls animation duration to 0.25s

- Use the same hover trigger for both header and controls
2021-11-03 11:51:14 +01:00
Aminejv
ab510a492c feat(GlobalCarousel/Jumpers/Share): get the correct file urls 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
108d2293a5 feat(GlobalCarousel): show the file sharing jumper only when the file is public 2021-11-03 11:51:14 +01:00
Aminejv
b920a05ec6 feat(GlobalCarousel/Jumpers/EditChannels): add optimistic ui when creating a channel 2021-11-03 11:51:14 +01:00
Aminejv
606bf55c57 feat(GlobalCarousel): reduce next and previous controls' height 2021-11-03 11:51:14 +01:00
Aminejv
22427c160f feat(FontFrame/FixedControls): move font crontols to the bottom of the screen 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
abcc7375c9 fix(Jumper): add minHeight and overflow 2021-11-03 11:51:14 +01:00
Aminejv
b176a5a797 feat(Jumper): add 2021-11-03 11:51:14 +01:00
Aminejv
42e1f05e26 feat(GlobalCarousel): update to new design 2021-11-03 11:51:14 +01:00
Aminejv
51d938da77 fix(GlobalCarousel/EditInfo/Description field): scroll to bottom on event 2021-11-03 11:51:14 +01:00
Aminejv
8980059a76 feat(GlobalCarousel/Jumpers): export all jumpers 2021-11-03 11:51:14 +01:00
Aminejv
42bae02611 feat(EditChannels): add EditChannels jumper 2021-11-03 11:51:14 +01:00
Aminejv
feba9d1606 feat(EditInfo): add Edit info jumper 2021-11-03 11:51:14 +01:00
Aminejv
c37ec1c70c feat(GlobalCarouselJumpers/FileDescription): add FileDescription jumper, triggered by the More button in the carousel header 2021-11-03 11:51:14 +01:00
Aminejv
e213b7b609 feat(GlobalCarousel/Jumpers/MoreInfo): add More info jumper 2021-11-03 11:51:14 +01:00
Aminejv
fba2bad12b feat(GlobalCarousel/Jumpers/Share): add file sharing jumper 2021-11-03 11:51:14 +01:00
Aminejv
2355931840 feat(GlobalCarousel/Jumpers/MobileLayout): add layouts to display carousel jumpers in mobile 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
2bc7c10030 feat(CollectionSharingModal): remove Share modal 2021-11-03 11:51:14 +01:00
Aminejv
81b80b7495 feat(GlobalCarousel): remove GlobalCarousel and CarouselSidebar 2021-11-03 11:51:14 +01:00
Aminejv
6e81e291d3 feat(Typography): add forwardRef to H5 and P3 components 2021-11-03 11:51:14 +01:00
Aminejv
632d5dca80 feat(MarkdownFrame): add mobile styles 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
75815d1622 feat(ObjectBoxPreview): add ObjectBoxPreview 2021-11-03 11:51:14 +01:00
Aminejv
0603222c50 feat(LinkIcon): get Link icon from an object 2021-11-03 11:51:14 +01:00
Aminejv
987d6d14e6 feat(Textarea): add css prop 2021-11-03 11:51:14 +01:00
Aminejv
18ec27ea7f feat(Buttons): add type prop 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
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
f2e0eee6a1 fix(Filter): fix stale state issue 2021-10-14 18:52:01 +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
17a4905052 fix(DataView): action bar zindex 2021-10-14 18:40:53 +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
9c603e5cab feat(BlobObjectPreview): add BlobObjectPreview to preview files while being uploaded 2021-10-08 17:42:13 +01:00
Aminejv
c5acec1863 feat(Jumper): add primitives for the jumper component 2021-10-08 17:40:24 +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
d7133ecb06 fix(Upload&Filter): fix zindex issue between filter navbar and upload modal 2021-09-29 19:08:02 +01:00
Aminejv
def37ee544 fix(Typography): fix truncation in firefox 2021-09-29 17:49:30 +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
martinalong
48e812c828
Merge pull request #954 from filecoin-project/@aminejv/new-filtering
Filtering feature
2021-09-28 17:07:26 -07:00
Martina
b6e4d246f1 removed deleted import 2021-09-28 15:29:41 -07:00
Martina
29c4f8c106 removed file importing a deleted file 2021-09-28 14:57:55 -07:00
Martina
c3f2d7c617 removed storage deal options and made edits to storage deal script 2021-09-28 14:54:02 -07: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
0349657281 feat(ImageObjectPreview): skip the loading state if an img has already been cached 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
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
Martina
838d08f743 adding api key and editing deals table 2021-09-26 17:20:16 -07:00
Martina
d637d683cf removed unnecessary console.logs 2021-09-26 14:39:35 -07:00
Martina
0c91a54382 textile bucketsGetOrCreate replacement 2021-09-24 18:20:28 -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
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