Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p10ns11y/comment-on-highlight

A medium like comment on highlight with comments and texts anchor linked without any third-party packages just purely react, javascript and DOM
https://github.com/p10ns11y/comment-on-highlight

css3 dom flexbox javascript react

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

## 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`