Skip to content

A medium like comment on highlight with comments and texts anchor linked without any third-party packages just purely react, javascript and DOM

Notifications You must be signed in to change notification settings

p10ns11y/comment-on-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comment on highlighted text

The flow

  • Highlight any part the text on the page: A popup of button group appears, at this moment comment is the available option
  • Click comment icon: A text input appears in the right margin
  • Type and submit: After the submission, comment added to the comment list down below
  • Click on any comment: It should take us to the linked text

Stack

React, Javascript, CSS, DOM

To run the source localy

  • Install Dependencies: run yarn or npm install

  • Production Build:

    • yarn run build or npm run build
    • cd build
    • python -m SimpleHTTPServer 3000
    • hit the browser to localhost:3000
  • Development Build:

    • yarn start or npm start

About

A medium like comment on highlight with comments and texts anchor linked without any third-party packages just purely react, javascript and DOM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published