scratch-www/static/svgs
Connor Hudson 1875870a86
Initial implementation for displaying comments on project page (#1997)
* Create Comment component, start styling it

* Restructure PreviewPresentation to better match mockup

* Add padding, border to comment bubble

* add padding to bottom row of comment

* Tweak alignment of avatar and comment content

* Add margin to lower project page container

* Use border-box box sizing for comment bubble

* Make user avatar a link

* Add initial implementation of comment tail

* Align username row properly, fix comment bubble width

* Use ::before pseudoelement for comment tail

* Remove unused props to Comment component

* Add CommentContainer to handle comment replies

* Use CommentContainer instead of Comment in PreviewPresentation

* Remove debug data from CommentContainer

* Fetch top level comments from the API

* Force comment container to stretch to bottom of view div

* Remove unused api import in CommentContainer

* Long words in comments should not overflow page

* Remove @ before username in comment title

* Fix word wrapping on Firefox

* Refactor CommentContainer into a class

* Properly export CommentContainer component

* Make replies column take up proper width

* Pass project ID to CommentContainer

* Fetch comment replies in CommentContainer

* Initial implementation for loading more comments

* Add "Load More" button to Presentation

* Initial implementation of collapsing threads longer than 3 replies

* Remove console log from preview.js redux

* Tweak last comment gradient color

* Only show three total replies in collapsed state

* Match scratchr2 behavior for thread collapsing

* Use width calc instead of margin and width 100%

* Fix styling for load more button

* Make comment border gray to match the wireframe

* Allow clicking through comment fade gradient

* Add comment compose component

* style comment compose box

* Style post, cancel buttons on comment compose component

* Add margin to create comment container

* Tweak styling for characters remaining text

* Tweak placeholder text

* Add more margin to comment avatar

* Add icons and styling to delete, report text

* Refactor px -> rem where possible in comment styles

* Change comment time color to dark gray

* Tweak margin and border radius

* Add reply icon to preview comments

* Clean up unused imports, console.log in compose-comment component

* Remove console statement in preview.jsx

* Add some clarifying comments to unfinished parts of comments

* Remove direct passing of comment api response to CommentContainer

* CommentContainer should not pass api response directly

* Rename CommentContainer to TopLevelComment

* First pass at getReplies for comments in redux

* Move reply fetching into redux actions instead of in TopLevelComment

* Refactor getReplies logic to behave better

* Remove components not directly related to reading comments

* Hide load more button if all comments are loaded
This uses the project info returned by the API

* Use same gradient as add to studio modal on comment thread
2018-08-06 11:52:18 -04:00
..
app-store-badges Add landing pages for the micro:bit and EV3 extensions (#1981) 2018-07-19 18:08:44 -04:00
carousel Update arrow icons on Carousels 2015-10-23 13:05:48 -04:00
conference Updated conference pages for 2018 2018-05-29 11:07:07 -04:00
extensions Add landing pages for the micro:bit and EV3 extensions (#1981) 2018-07-19 18:08:44 -04:00
favorite Removed rows from grid, changed explore tabs 2016-05-17 12:40:16 -04:00
forms Finalize styling for registration flow 2016-06-23 14:06:36 -04:00
love Update arrow icons on Carousels 2015-10-23 13:05:48 -04:00
messages resize svgs 2017-09-08 16:37:18 -04:00
modal compressed svgs; small modal scss reversion 2018-07-25 16:30:50 -04:00
project Initial implementation for displaying comments on project page (#1997) 2018-08-06 11:52:18 -04:00
remix Update arrow icons on Carousels 2015-10-23 13:05:48 -04:00
tabs add SVGs for tab icons 2016-08-23 09:26:21 -06:00
teachers Add files via upload 2017-08-02 23:41:45 -04:00
tooltip Finalize styling for registration flow 2016-06-23 14:06:36 -04:00
ttt Top and middle banners for HoC 2017 2017-11-03 16:50:26 -04:00
view Removed rows from grid, changed explore tabs 2016-05-17 12:40:16 -04:00
notifications.svg Update HOC Landing Page 2015-10-01 14:30:30 -04:00
pdf-icon-ui-blue.svg Add /info/cards/ route 2016-03-23 16:37:15 -04:00
studio.svg Update HOC page with new mobile, styling & content 2015-11-03 23:50:51 -05:00
tips-card.svg Update HOC Landing Page 2015-10-01 14:30:30 -04:00