Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/p10ns11y/comment-on-highlight
- Owner: p10ns11y
- Created: 2017-02-24T18:05:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T11:58:16.000Z (over 7 years ago)
- Last Synced: 2023-02-26T10:01:16.948Z (over 1 year ago)
- Topics: css3, dom, flexbox, javascript, react
- Language: JavaScript
- Homepage: https://p10ns11y.github.io/comment-on-highlight/
- Size: 1.39 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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`