-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Some note on design | ||
- when users select text, automatically display a popup to whether highlight or add note | ||
- Note display | ||
- It's best to display the note on the right of the whole text paragraph | ||
- but I guess since our app needs to be universal, then maybe only display note when user click on the highlight? | ||
- starts with simple: add/delete no edit for now | ||
- I think the hard stuff is how to have a component to wrap text that can trigger events? like the hyper-annotation from memex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
http POST localhost:8000/api/session [email protected] password=Ubinote@123 | ||
|
||
### Call with session | ||
export SESSION={the_session} | ||
http localhost:8000/api/page Cookie:ubinote.SESSION=${SESSION} | ||
export SESSION='ubinote.SESSION={the_id}' | ||
http localhost:8000/api/page Cookie:${SESSION} | ||
|
||
### Create page | ||
http POST localhost:8000/api/page Cookie:ubinote.SESSION=${SESSION} url=http://www.paulgraham.com/own.html | ||
http POST localhost:8000/api/page Cookie:${SESSION} url=http://www.paulgraham.com/own.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters