179 Commits

Author SHA1 Message Date
458f5ac4e7 Add book depth chart (#219)
* Amount X Axis, Avatars and refactor

* Theme and performance improvements

* Remove duplicated tooltips

* Code Review

* Marker Theme color

* Missing end lines

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>
2022-08-30 18:49:16 +00:00
2abf6cb66f Add linter and formatter 2022-08-28 00:20:45 +02:00
7083423189 Add WebLN support (#215)
* Add WebLN support

* Fix Variable Typo

* Invoice Generation

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>

* Code Review

* Second CR

* Catch cancelations

* Final Review

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>
2022-08-25 08:50:48 +00:00
cd8fc15a60 Update and clean dependencies 2022-07-16 15:21:05 -07:00
40504a9e95 Fix vulnerabilities 2022-07-10 11:19:47 -07:00
59d8d325b2 Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
1145812e2e Fix undefined imports 2022-05-06 12:42:15 +02:00
b397420241 Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
dcefce874f Add typescript support and change webpack and babel config
This commit adds full Typescript support. Although .js files will keep on working normally, it's encouraged that new files are created with either .tsx(for components) or .ts(for non components) extensions.

Also, a linter with some basic settings for React and Typescript has been added. These settings can be changed at any time if needed.
2022-05-06 12:32:12 +02:00
755874b100 Advanced maker options v2 (#110)
* Add escrow/invoice time customization

* Add accordion for Expiry times

* Add current price on order maker

* Add deposit timeout limit on order page

* Minor aestetic fixes

* Implement pause/unpause and expiry reasons

* Add renew order

* Add highlight buy/sell on maker page

* Fix order renewal. Improve book visuals and response.

* Fix double renew requests

* Fix cancel orders. Fix paused status to delay

* Fix paused order layout and loading spinner

* Add telegram message: order is in chat
2022-04-29 18:54:20 +00:00
37d5111779 Pretty numbers (#99)
* Create pn helper function inside utils folder

The function pn() is being defined a few times in different components. This commit is the first of two commits to solve this issue.

This commit only creates the function inside the utils folder.

Jest is also being introduced for unit tests.

* Use pn from utils folder

This commit removes the multiple definitions of pn found across the project and imports the helper function whenever needed.
2022-04-20 13:58:55 -07:00
96c6358d4e Internationalization (#85)
* Implement react i18n-next

* Add XHR i18n backend, include currencies_dict in APP

* Implement i18n 2/9. Add site description

* Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled.

* Implement i18n 4/9 MakerPage.

* Implement i18n 5/9 OrderPage

* Implement i18n 6/9 Chat

* Implement i18n 9/9 Book, Bottom Bar, Profile, Misc, Info

* Add Contributing translation guidelines
2022-04-05 14:25:53 +00:00
baf76025c2 Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
227dbf2e49 Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
5c5e7918e8 Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
69f6735f86 Improve chat status communication 2022-03-10 13:35:16 -08:00
6f95d2541c Implement payout invoice from QR camera 2022-01-27 16:17:20 -08:00
6ab8f86b97 Implement responsive order book 2022-01-27 06:40:14 -08:00
bfa0cd84d1 Update readme 2022-01-19 05:32:54 -08:00
7a6cf943ee Rework book as datagrid 2022-01-14 13:40:54 -08:00
135c4c59e5 Add UI info and icons on order pager 2022-01-14 04:00:53 -08:00
abb1bdd0be Add dynamic countdown. Attach countdown to expiry progress bar. 2022-01-13 16:43:26 -08:00
64df2c7ce6 Add provisional frontend chat. The chat is totally unsafe as of now. Does not store messages either. 2022-01-13 11:22:54 -08:00
5df2134fb2 Add ugly site info page 2022-01-12 13:22:16 -08:00
bb9cafadd8 Upgrade MUI to V5 2022-01-09 14:17:15 -08:00
5fb776aca7 Add TradeBox and QR client side generation 2022-01-08 05:08:03 -08:00
30dfd09f58 fix minor things, add mui style libs, figured CSRF problems some bugs left 2022-01-04 07:00:34 -08:00
790e96cc1b Improve user generator UX. Still a bit buggy. 2022-01-02 14:31:19 -08:00
e83f0295a5 Build frontend app test page using React 2022-01-01 15:58:44 -08:00