lbry-desktop/ui/component/common
saltrafael b75a4014b6
Re-design comment threads (#1489)
* Redesign threadline and fetching state

- threadline goes right below channel avatar, mimicking reddits implementation, has a increase effect on hover and is slimmer, creating more space for comments on screen
- fetching state now replaces show/hide button, also mimicking reddit, and now says that it is loading, instead of a blank spinner, and also improves space a bit

* Redesign comment threads

- Allow for infinite comment chains
- Can go back and forth between the pages
- Can go back to all comments or to the first comment in the chain
- Some other improvements, which include:
- add title on non-drawer comment sections (couldn't see amount of comments)
- fix Expandable component (would begin expanded and collapse after the effect runs, which looked bad and shifted the layout, now each comments greater than the set length begins collapsed)
- used constants for consistency

* Fix replying to last thread comment

* Fix buttons condition (only on fetched comment to avoid deleted case)

* Fix auto-scroll

* Bring back instant feedback for Show More replies

* Improve thread back links

- Now going back to all comments links the top-level comment for easier navigation
- Going back to ~ previous ~ now goes back into the chain instead of topmost level

* Clear timeouts due to unrelated issue

* Fix deep thread linked comment case and more scroll improvements

* More minor changes

* Flow

* Fix commentList tile style

* Fix long channel names overflowing on small screens

* More scroll changes

* Fix threadline

* Revert "Fix long channel names overflowing on small screens"

This reverts commit e4d2dc7da5861ed8136a60f3352e41a690cd4d33.

* Fix replies fetch

* Revert "Fix replies fetch"

This reverts commit ec70054675a604a7a5f3764ba07c36bf7b0f49c8.

* Cleanup and make smooth

* Always use linked comment on threads

* Cleanup

* Higlight thread comment

* Fix comment body styles
2022-05-16 06:22:13 -04:00
..
form-components Disable spellchecker which is both broken and has unusual behavior 2022-04-07 10:27:45 -04:00
busy-indicator.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
card.jsx MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
comment-badge.jsx Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
credit-amount.jsx Fix NaN Tipped 2022-04-19 19:33:12 -04:00
debounced-input.jsx DebouncedSearch: add inline option + use FormField 2022-03-01 10:50:07 -05:00
empty.jsx show loading while searching 2020-12-28 15:00:15 -05:00
error-text.jsx new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
file-exporter.jsx i18n updates and fixes (#822) 2022-02-07 13:15:22 -05:00
file-list.jsx Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
file-selector.jsx Thumbnail upload fixes (#6860) 2021-08-24 20:28:23 -04:00
form.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header-menu-link.jsx Fix menu link 2022-05-05 11:24:22 -04:00
help-link.jsx [on hold recsys work] Recommended For You (#782) 2022-03-15 15:07:31 -04:00
hidden-nsfw.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
icon-custom.jsx Add requested review changes 2022-05-05 09:42:24 -04:00
icon.jsx use aria-hidden on all icons by default 2021-07-14 13:44:22 -05:00
lbc-message.jsx fix lbc-message to prevent incorrect 'Credits' replacement 2021-04-30 12:45:46 -04:00
lbc-symbol.jsx add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
loading-screen.jsx refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
markdown-preview.jsx Fix post-editor preview mode 2022-04-01 12:36:49 -04:00
nag.jsx Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
paginate.jsx added setTextValue to handlePaginateKeyUp function 2022-04-28 10:27:48 -04:00
premium-badge.jsx Make members-only label clickable, per feedback 2022-03-18 15:43:11 +08:00
qr-code.jsx flow fixes 2020-12-16 10:52:22 -05:00
status-bar.jsx Fix unencoded StatusBar on Desktop 2021-03-09 16:17:57 -05:00
tabs.jsx fix expandable view 2022-02-07 10:18:50 -05:00
thumbnail.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
tooltip.jsx Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
transaction-link.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
truncated-text.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
wait-until-on-page.jsx Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00