Commit Graph

1255 Commits

Author SHA1 Message Date
Franck Royer 836761143b
Always trigger store query at connection
If no new messages are received, the rendering does not change
as dupe messages are filtered out.
2021-05-04 07:55:35 +10:00
bors[bot] 689f439948
Merge #105
105: Group sequential messages from same sender into single group, reduce CSS padding, and don't repeat sender name and timestamp r=D4nte a=littlealex003

- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Feature

- **What is the current behavior?** (You can also link to an open issue here)
Resolves #86 
Name and timestamp are printed for each message
Large amounts of space are used for each message

- **What is the new behavior (if this is a feature change)?**
Name and timestamp are only printed for first message from sender until someone else sends a message
Padding and margin around text eliminated to maximize screen real estate usage


Co-authored-by: Franck Royer <franck@status.im>
2021-05-03 21:54:39 +00:00
Franck Royer dedeb19dae
Make date font smaller and change author/message fonts 2021-05-04 07:53:26 +10:00
Franck Royer 2c741da2c3
Group sequential messages from same sender
Name and date are not repeated anymore.
2021-05-04 07:53:03 +10:00
Franck Royer 298f885987
No need to change Firefox for the web app
Resolves #117
2021-05-03 16:35:16 +10:00
Franck Royer 0ff0e6ee7b
Clean up WakuMessage API 2021-05-03 16:26:02 +10:00
bors[bot] 2c72c6d388
Merge #113
113: Use waku store to retrieve archived messages in browser app r=D4nte a=D4nte

Resolves #69 

Co-authored-by: Franck Royer <franck@status.im>
2021-05-03 04:11:23 +00:00
Franck Royer df48d06e89
Use store waku to get older messages
Chronological order is preserved and dupes are removed.
2021-05-03 14:06:51 +10:00
Franck Royer 0969d073ac
Fix the key
The timestamp is seconds so you can easily have the same key if two
participants send a message at the same time.
2021-05-03 14:06:51 +10:00
Franck Royer e0be69a056
Bool should be passed ot `active` 2021-05-03 14:06:50 +10:00
Franck Royer 7e44f9ee48
Remove peer-id from dependencies 2021-05-03 14:06:50 +10:00
bors[bot] 2747b992ef
Merge #115
115: Connect to the test fleet r=D4nte a=D4nte

With `websockify` instance running on jdev and pointing to fleet node.

Co-authored-by: Franck Royer <franck@status.im>
2021-05-03 03:51:03 +00:00
Franck Royer 9f2b684a9a
Connect to the test fleet 2021-05-03 09:52:49 +10:00
bors[bot] d4f2d75609
Merge #109
109: Remove unused package r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 11:28:58 +00:00
Franck Royer efd585102e
Remove unused package 2021-04-29 21:24:43 +10:00
bors[bot] d32fa7d03e
Merge #95
95: Use off-the-shelf React Templates for UI r=D4nte a=littlealex003

- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Refactor

- **What is the current behavior?** (You can also link to an open issue here)
Custom React Material UI Implementation

- **What is the new behavior (if this is a feature change)?**
Off the shelf React Material Chat UI Implementation


Co-authored-by: littlealex003 <littlealex003@gmail.com>
2021-04-29 11:19:05 +00:00
littlealex003 99321b29c8
Use React Chat UI Kit
https://developers.livechat.com/docs/react-chat-ui-kit/
2021-04-29 21:13:31 +10:00
bors[bot] 056dd0e5b3
Merge #98
98: Connect to wss go-waku instance r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 08:02:01 +00:00
Franck Royer 147d7c525b
Connect to wss go-waku instance 2021-04-29 17:25:31 +10:00
bors[bot] 7c65b3c3fa
Merge #100
100: Clarify expectations around commit patches r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@royer.one>
2021-04-29 07:24:37 +00:00
bors[bot] 68de1f4431
Merge #94 #101
94: Use random name for nickname by default r=D4nte a=littlealex003

- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
- Feature

- **What is the current behavior?** (You can also link to an open issue here)
- Resolves #81
- Default is "web-chat"

- **What is the new behavior (if this is a feature change)?**
- Random name generated if name is "web-chat"


101: Enable pubsub topic filter in history queries r=D4nte a=D4nte

Resolves #78

Co-authored-by: littlealex003 <littlealex003@gmail.com>
Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 07:03:03 +00:00
Franck Royer 9ef582ca65
Clarify expectations around commit patches 2021-04-29 16:53:49 +10:00
Franck Royer 1016e85f70
Enable pubsub topic filter in history queries
Resolves #78
2021-04-29 16:52:55 +10:00
littlealex003 55ca6a4e6f
Use random name for nickname if none set yet 2021-04-29 16:52:02 +10:00
bors[bot] fbfad9390c
Merge #102
102: Increase test timeouts r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 06:41:25 +00:00
Franck Royer aa6b869da1
Test are too unstable to run on different environment
Moreover the library targets browser execution so there is little
value in running on several node instances.
2021-04-29 16:40:54 +10:00
Franck Royer 5664c14743
Check subscribers until it finds one 2021-04-29 16:38:50 +10:00
Franck Royer 0270003556
Increase test timeouts 2021-04-29 16:07:37 +10:00
bors[bot] 83c892260a
Merge #99
99: Add GH Token to avoid API rate limit r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 05:07:40 +00:00
Franck Royer 37018ebff8
Add GH Token to avoid API rate limit 2021-04-29 15:07:08 +10:00
bors[bot] 2f03daa9bd
Merge #97
97: Upgrade libp2p packages r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 03:33:45 +00:00
bors[bot] a063fb05a1
Merge #90
90: Authenticate to avoid API rate limit r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-29 02:34:08 +00:00
Franck Royer eded3311b8
Move dev packages under devDependencies 2021-04-29 12:06:38 +10:00
Franck Royer 2c66f86e91
Upgrade libp2p packages 2021-04-29 12:06:38 +10:00
Franck Royer 1a232999ae
Remove unused file 2021-04-29 11:30:27 +10:00
Franck Royer ccd3e5d6d1
Enable CI for NodeJS 16 and mac os 2021-04-29 11:03:49 +10:00
Franck Royer 5ed2a122fa
Authenticate to avoid API rate limit 2021-04-29 11:03:49 +10:00
bors[bot] a7ae4214b0
Merge #96
96: Fix dead URL on README r=D4nte a=littlealex003

- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Bug fix

- **What is the current behavior?** (You can also link to an open issue here)
Goes to dead URL

- **What is the new behavior (if this is a feature change)?**
Goes to https://forum.vac.dev/t/waku-web-app-using-js-waku/78

- **Other information**:
URL provided by D4nte

Co-authored-by: littlealex003 <littlealex003@gmail.com>
2021-04-29 00:18:39 +00:00
littlealex003 4a6d50f414 fix URL 2021-04-28 20:26:35 +02:00
bors[bot] 7a523a44dd
Merge #89
89: Apply MIT or Apache V2.0 License r=D4nte a=D4nte

Resolves #77 

Co-authored-by: Franck Royer <franck@status.im>
2021-04-28 11:30:09 +00:00
Franck Royer b1dfa9ce55
Apply MIT or Apache V2.0 License 2021-04-28 21:27:26 +10:00
bors[bot] 3d33006c8f
Merge #91
91: Use custom token to have the correct rights r=D4nte a=D4nte

"Read and write org and team membership, read and write org projects"

according to https://github.com/alex-page/github-project-automation-plus


Co-authored-by: Franck Royer <franck@status.im>
2021-04-28 06:44:52 +00:00
Franck Royer 102c55c4ff
Use custom token to have the correct rights
"Read and write org and team membership, read and write org projects"

according to https://github.com/alex-page/github-project-automation-plus
2021-04-28 16:44:10 +10:00
bors[bot] 72c9bef3d2
Merge #85
85: Use up to date syntax for project mgmt r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-28 03:39:02 +00:00
Franck Royer 7811e92618
Use up to date syntax 2021-04-28 13:38:20 +10:00
bors[bot] dbd9f0be1e
Merge #82
82: Use maintained GH action r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-04-28 02:39:59 +00:00
Franck Royer bab57a7d90
Use maintained GH action 2021-04-28 12:38:58 +10:00
bors[bot] 39caf458a3
Merge #80
80: Use GitHub action to deploy web app r=D4nte a=D4nte

Resolves #66 

Co-authored-by: Franck Royer <franck@status.im>
2021-04-28 02:13:01 +00:00
Franck Royer f78145c7aa
Build the web app 2021-04-28 12:12:09 +10:00
Franck Royer 32672b9d53
Use GitHub Action to deploy to gh pages 2021-04-28 12:03:39 +10:00