Commit graph

250 commits

Author SHA1 Message Date
Jonathan Zernik
53c71d64c2
Refactor ancestors thread (#943)
* Refactor uknown ancestor component into SqueakThread component

* Update comments in peer message handler
2021-08-14 23:43:12 -07:00
Jonathan Zernik
8aba1d9135
Remove old components from squeak detail (#942)
* Remove old components from squeak detail component

* Fix handleReloadSqueakItem for SqueakThread component

* Update frontend build
2021-08-14 23:07:47 -07:00
Jonathan Zernik
32bb960f6a
Only download offers on click (#941)
* Only download offers for squeak when rpc method called

* Only download offers after explicit click in frontend

* Update frontend build
2021-08-14 22:14:14 -07:00
Jonathan Zernik
155e68796b
Load buy offers on dialog open (#938)
* Include key param for squeak detail item component

* Load received offers only when buy dialog opens

* Update frontend build
2021-08-14 19:13:27 -07:00
Jonathan Zernik
d532d5e58f
Only fetch backend data in dialogs on dialog open (#934)
* Only fetch backend data in dialogs on dialog open

* Update frontend build
2021-08-14 01:07:15 -07:00
Jonathan Zernik
c47051fa23
Refactor action bar component (#933)
* Got refactored action bar component working

* Fixed action bar component

* Almost got action bar working in squeak thread item components

* Got action component working for squeak thread item in timeline

* Create reusable component for squeak list

* Add squeak ancestor thread component

* Created squeak replies component

* Use squeak list component in squeak address page

* Update frontend build
2021-08-14 00:34:45 -07:00
Jonathan Zernik
c6fc75048e
Use grid for frontend width (#932)
* Use grid to limit width of frontend components

* Remove page titles

* Remove page title from peer address page

* Use grid width for more pages

* Update static build
2021-08-13 14:51:01 -07:00
Jonathan Zernik
aab50fa287
Add peer address page (#927)
* Go to peer address page on connected peer item click

* Added disconnect button to peer address page

* Add get connected peer rpc method

* Add disconnect button to peer address page

* Add both connect and disconnect button to peer address page

* Update frontend build
2021-08-12 21:59:26 -07:00
Jonathan Zernik
e64289be7d
Use host port to connect peer (#926)
* Use host and port for connect_peer rpc command

* Use host and port for disconnect peer command

* Got connect peer dialog frontend working

* Add disconnect peer request frontend function

* Update frontend build
2021-08-12 19:53:25 -07:00
Jonathan Zernik
3098b7c707
Improve saved peers list frontend UI (#925)
* Use tabs for peers page

* Improved look of saved peers ui

* Use different icon for lightning peer and squeak peer list items

* Successfully show connected peers on peers page

* Show both connected peers and saved peers on peers page

* Update frontend build
2021-08-12 18:21:46 -07:00
Jonathan Zernik
6656d6958b
Fix show squeak detail liked (#923)
* Fix show squeak detail item liked

* Update frontend build
2021-08-12 13:31:00 -07:00
Jonathan Zernik
dea8a854e2
Improve profile list item frontent (#922)
* Improve frontent ui for profile list item

* Update frontent build
2021-08-12 13:14:26 -07:00
Jonathan Zernik
36d89bd25e
Fix peer server thread shutdown (#903) 2021-08-10 18:48:00 -07:00
dependabot[bot]
b63ee36358
Bump @grpc/grpc-js from 1.0.5 to 1.1.8 in /frontend (#891)
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.0.5 to 1.1.8.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 18:04:31 -07:00
Jonathan Zernik
c4477a9168
Add liked page (#879)
* Add query filter for getting only liked squeak displays

* Got liked page working

* Fix showing action bar for squeak page with null squeak
2021-02-22 20:17:45 -08:00
Jonathan Zernik
6a71bf5129
Add liked column (#878)
* Add liked column to squeak table

* Add rpc methods for like and unlike

* Fix migration to add liked column

* Got like squeak working

* Set squeak liked without reloading page

* Download squeak button reloads squeak without reloading page

* Use inconbutton for actions in squeak detail component

* Update static build
2021-02-22 18:54:20 -08:00
Jonathan Zernik
a93025a026
Save host and port of buyer client (#868)
* Save host and port of buyer client

* Show buyer port in frontend for received payments
2021-02-21 20:01:02 -08:00
Jonathan Zernik
bee8ced886
Add info for reprocess received payments (#818)
* Add info text for process received payments

* Update static build
2021-02-12 00:34:58 -08:00
Jonathan Zernik
9e15962d1a
Allow reprocess invoice without duplicate (#816)
* Allow reprocessing the same invoice without duplicate insert of received payment

* Use stopped event to stop processing invoices

* Got itest working with payment processor class

* Use payment processor class in squeak controller constructor

* Add rpc method for reprocess received payments

* Add reprocess received payments button

* Add reprocess received payments to admin web app

* Handle processing received payments subscription rpc better

* Add frontend button to reprocess received payments

* Clear settle indices in reprocess received payments

* Update static build
2021-02-12 00:14:45 -08:00
Jonathan Zernik
6c0dc044d5
Cleanup old squeak page (#813)
* Delete old comments from squeak page

* Delete old comments from squeak detail component

* Update static build
2021-02-10 04:43:52 -08:00
Jonathan Zernik
cc4b0432d9
Move dialogs inside squeak detail item component (#812) 2021-02-10 04:35:51 -08:00
Jonathan Zernik
b2dd9e7ff3
Add clear image dialog (#811)
* Added clear profile image dialog

* Reload profile without reloading page after making changes

* Update static build
2021-02-10 03:42:01 -08:00
Jonathan Zernik
37609a85d4
Profile dialogs inside component (#810)
* Move dialogs inside squeak profile detail component

* Add rename profile dialog

* Updates static build
2021-02-10 03:03:37 -08:00
Jonathan Zernik
3af03ad37e
Show profile image in foreground (#790) 2021-02-06 01:53:39 -08:00
yzernik
aaf6ae975d Revert changes to use natural primary keys 2021-02-04 03:15:02 -08:00
Jonathan Zernik
64cf97dfe9
Try changing peer primary key to hash, not done (#782)
* Try changing peer primary key to hash, not done

* Got backend working with peer hash as primary key

* Got frontend working with peer hash as primary key for peer
2021-02-04 00:09:58 -08:00
yzernik
ebd61823aa Revert back the revert to use address for profile primary key 2021-02-03 20:53:00 -08:00
Jonathan Zernik
855d357ca4
Revert to using integer primary key for profile table (#783) 2021-02-03 01:42:47 -08:00
Jonathan Zernik
7c5734bd86
Use addresss for profile primary key (#779)
* Use address as primary key for profile table

* Delete old sql query comments

* Update frontend to use address for profile primary key

* Fix profiles page data table goto action

* Fix usage of get profile by address in remaining frontend
2021-02-02 20:54:11 -08:00
Jonathan Zernik
0022860e7f
Refactor navigation functions (#776)
* Refactor navigation functions out of offer detail component

* Remove old commentes

* Fix go to lightning node from offer detail

* Refactor more navigation functions

* Refactor goto function out of create contact profile

* Refactor goto out of create peer dialog

* Refactor goto out of create signing dialog

* Refactor goto out of delete squeak dialog

* Refactor goto out of import signing profile dialog

* Refactor goto out of lightning peer list dialog

* Refactor goto out of make squeak dialog

* Refactor goto out of open channel dialog

* Refactor goto out of pending open channel component

* Refactor goto out of pending received payment component

* Refactor goto out of send bitcoin dialog

* Refactor goto out of sent offer component

* Refactor goto out of sent payment component

* Refactor goto out of squeak detail component

* Refactor goto out of profile detail component

* Refactor goto out of squeak thread item component

* Refactor goto out of payments page

* Refactor goto out of peers page

* Refactor goto out of profile page

* Refactor goto out of squeak page

* Refactor goto out of squeak address page

* Refactor goto out of timeline page

* Refactor reload out of buy dialog

* Refactor reload out of delete peer dialog

* Refactor reload out of delete profile dialog

* Refactor reload out of delete squeak dialog

* Refactor reload out of header

* Refactor reload out of squeak detail component

* Refactor goto out of timeline avatar component

* Refactor reload out of upload image dialog

* Refactor reload out of channel page

* Refactor reload out of lightning node page

* Refactor goto out of profiles page
2021-02-01 02:39:00 -08:00
Jonathan Zernik
9312e5f23b
Handle missing peer for receieved offer sent payment (#773)
* Add has peer field to rpc messages with optional peer

* Handle possible missing nested peer in sent payment

* Fix showing offer and payment with no nested peer

* Update static build
2021-01-31 02:59:26 -08:00
Jonathan Zernik
919738fdce
Use nested peer msg in sent payments msg (#770)
* Use nested peer msg in sent payments msg

* Use nested peer msg in sent payment in frontend

* Update static build for nested peer msg in sent paymen
2021-01-30 23:54:23 -08:00
Jonathan Zernik
a07e73faa4
Use nested profile msg in squeak display msg (#767)
* Use nested squeak profile msg inside squeak display entry in rpc proto

* Include author address in squeak display entry msg

* Use nested squeak profile in squeak display message in frontend

* Update static build with nested squeak profile in squeak display msg
2021-01-30 21:29:57 -08:00
Jonathan Zernik
d0fc4d5c73
Add update profile image dialog (#752)
* Added update profile dialog

* Add select file input for image upload

* Add set and clear profile image rpc methods

* Remove unused bytes field from clear image rpc

* Display selected file name in upload image dialog

* Set profile image rpc uses base64 string field

* Got set profile image working

* Show profile image in timeline

* Update static build with update custom profile image working
2021-01-29 22:01:32 -08:00
Jonathan Zernik
86a5b275d9
Use component for profile details (#750) 2021-01-29 18:48:17 -08:00
Jonathan Zernik
128a8ac900
Improve profile page using card menu (#748)
* Improve profile page using card with menu

* Update static build for improved profile card
2021-01-29 03:38:37 -08:00
Jonathan Zernik
2f5b611c54
Improve profile display (#747)
* Improve profile display

* Update static build for profile card changes
2021-01-29 02:52:14 -08:00
Jonathan Zernik
42cd2a32a9
Show profile image in profile page using card (#746)
* Show profile image in profile page using card

* Update static build
2021-01-29 02:22:14 -08:00
Jonathan Zernik
4c004a60bd
Fix missing key frontend issue (#743)
* Fix missing key from timeline items

* Update static build for fix missing timeline key
2021-01-28 23:16:42 -08:00
Jonathan Zernik
d2828fb52b
Fix unknown squeak image (#742)
* Fix avatar image for unknown squeak

* Update static build for fix unknown squeak image
2021-01-28 22:58:31 -08:00
Jonathan Zernik
930c1ff20c
Show custom user avatar (#740)
* Use material avatar in timeline avatar

* Load default profile image from static file

* Include base64 image in squeak display entry response

* Got default profile image working
2021-01-28 22:37:55 -08:00
Jonathan Zernik
2cab41edff
Show payment summary vertically (#734)
* Show sent payment summary above received payment summary

* Update static build
2021-01-27 22:08:09 -08:00
Jonathan Zernik
26beeda41e
Show unlocked squeak without reload (#730)
* Show unlocked squeak after payment without reload

* Show snackbar on unlock squeak

* Remove todo comment

* Update static build for unlock squeak without reload
2021-01-27 16:26:48 -08:00
Jonathan Zernik
fbc8ecfd77
Refactor dialogs out of squeak detail (#728)
* Refactor dialogs out of squeak detail component

* Update static build for refactored squeak detail component
2021-01-27 15:40:32 -08:00
Jonathan Zernik
de18ac8437
Fix material timeline opposite padding (#724)
* Fix material timeline opposite padding

* Update static build for fix opposite content padding
2021-01-27 00:47:06 -08:00
Jonathan Zernik
70766440e2
Fix received payments page (#720)
* Log received payments

* Use index zero for received payment tab

* Update static build for fix received payments page
2021-01-26 23:42:51 -08:00
Jonathan Zernik
f55db90698
Add squeak avatar component (#719)
* Add squeak avatar component

* Update static build for user avatar component
2021-01-26 22:20:17 -08:00
Jonathan Zernik
b6ce08eba4
Make avatar clickable (#718) 2021-01-26 21:57:34 -08:00
Jonathan Zernik
dadd37e3e8
Use react timeline for thread (#716)
* Show conversation thread with react timeline

* Use material timeline for squeak page

* Use react timeline for main timeline page

* Use faceicon instead of dot in timeline

* Fix aligment of material ui timeline

* Use material ui timeline for squeakaddress page
2021-01-26 21:18:44 -08:00
Jonathan Zernik
aa9d4bfcdc
Use paper for squeak items (#714)
* Use paper for squeak items

* Change squeak item padding

* Update static build for new squeak item style
2021-01-26 18:42:02 -08:00