Skip to content

My videos view#360

Merged
kdembler merged 89 commits intoJoystream:sumerfrom
eldiegod:my-videos-view
Mar 23, 2021
Merged

My videos view#360
kdembler merged 89 commits intoJoystream:sumerfrom
eldiegod:my-videos-view

Conversation

@eldiegod
Copy link
Copy Markdown
Contributor

@eldiegod eldiegod commented Mar 4, 2021

@eldiegod eldiegod marked this pull request as ready for review March 10, 2021 09:06
@eldiegod eldiegod requested review from kdembler and mikkio-j and removed request for kdembler March 10, 2021 10:44
@eldiegod
Copy link
Copy Markdown
Contributor Author

@kdembler I think all we talked about should be addressed in the last commits, as a note:
-kept the hook for shared logic as I think it's better than repeating the logic around.
-found a fix for the issue you mentioned with pagination, but I'm not 100% sure it's a good one, as always it's tricky stuff; check cache.ts and video.ts for that, maybe you have a better idea lmk.

@eldiegod
Copy link
Copy Markdown
Contributor Author

Waiting for illustration from designer

@eldiegod
Copy link
Copy Markdown
Contributor Author

@kdembler merged the PR and tweaked the read fn a bit, looks good

Copy link
Copy Markdown
Contributor

@kdembler kdembler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

90 commits, 90 comments PR, that's something. Great job 🥇

@kdembler kdembler merged commit 7aaa044 into Joystream:sumer Mar 23, 2021
@eldiegod eldiegod deleted the my-videos-view branch March 23, 2021 19:27
kdembler added a commit to kdembler/atlas that referenced this pull request May 24, 2021
* wip

* Pagination

* Smooth pagination

* Fix videoPreview Story

* fix annoying glider lint warning

* pagination onMouseEnter

* fix types

* Context menu callbacks

* Draft message

* Use random Id

Time based id causes repetition in loops

* Fix drafts type of any

* Consistency with query node api

* Draft test

* Testing drafts rough

* Remove draft feature

* Channel dependant drafts

* Draft logic

* Make action bar fit the layout

* Action bar

* Cleaning hooks

* Videos title not clickable when selecting

* Video count from useVideos hook

* Styles

* Fixing queries

* Video count query tweaks

* moving folder

* placeholder studio routing

* cache

* Draft provider around studio routes

* isPublic query

* Get all drafts from storage

filter by channelId on return

* fix query

* Glider lint warning

* Code review feedback and design updates

* Pullup logic

* Allow to fetch videos by publicness

* Empty my videos screen

* Studio layout

* Component cleanup

* Less videos per row

* Fix video not fading in when swtiching categories

on videos view

* todo list

* fix router

* Cache pagination

* Fetch fn

* Mocked videos have isPublic field

* staging channel id

* No videos view

* Trigger build

* Cache and pagination

* No videos uncomment

* Unneeded styles

* 4 rows of videos

* Props

* Capitalization

* Uneeded styles

* Empty videos view improvements

* feedback

* Dont forget about the drafts

* HasAnyVideo var

* Feedback

* fc

* wip preview transition

* 0 index bases pagination

* Offset limit pagination wip fix

* CR fixes

* Update src/views/studio/MyVideosView/MyVideosView.tsx

Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>

* cr

* Has no videos var

* useVideosPage

* styles

* Illustration empty videos view

* Dont query when video is draft

* Update src/views/studio/MyVideosView/MyVideosView.tsx

Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>

* cr

* handle error

* fix pagination (#1)

* Videos read, type and edge case

Co-authored-by: Klaudiusz Dembler <dev@kdembler.com>
Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>
kdembler added a commit that referenced this pull request May 26, 2021
* wip

* Pagination

* Smooth pagination

* Fix videoPreview Story

* fix annoying glider lint warning

* pagination onMouseEnter

* fix types

* Context menu callbacks

* Draft message

* Use random Id

Time based id causes repetition in loops

* Fix drafts type of any

* Consistency with query node api

* Draft test

* Testing drafts rough

* Remove draft feature

* Channel dependant drafts

* Draft logic

* Make action bar fit the layout

* Action bar

* Cleaning hooks

* Videos title not clickable when selecting

* Video count from useVideos hook

* Styles

* Fixing queries

* Video count query tweaks

* moving folder

* placeholder studio routing

* cache

* Draft provider around studio routes

* isPublic query

* Get all drafts from storage

filter by channelId on return

* fix query

* Glider lint warning

* Code review feedback and design updates

* Pullup logic

* Allow to fetch videos by publicness

* Empty my videos screen

* Studio layout

* Component cleanup

* Less videos per row

* Fix video not fading in when swtiching categories

on videos view

* todo list

* fix router

* Cache pagination

* Fetch fn

* Mocked videos have isPublic field

* staging channel id

* No videos view

* Trigger build

* Cache and pagination

* No videos uncomment

* Unneeded styles

* 4 rows of videos

* Props

* Capitalization

* Uneeded styles

* Empty videos view improvements

* feedback

* Dont forget about the drafts

* HasAnyVideo var

* Feedback

* fc

* wip preview transition

* 0 index bases pagination

* Offset limit pagination wip fix

* CR fixes

* Update src/views/studio/MyVideosView/MyVideosView.tsx

Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>

* cr

* Has no videos var

* useVideosPage

* styles

* Illustration empty videos view

* Dont query when video is draft

* Update src/views/studio/MyVideosView/MyVideosView.tsx

Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>

* cr

* handle error

* fix pagination (#1)

* Videos read, type and edge case

Co-authored-by: Klaudiusz Dembler <dev@kdembler.com>
Co-authored-by: Klaudiusz Dembler <accounts@kdembler.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants