102 Commits

Author SHA1 Message Date
73baacb137 Convert LinearDeterminate component to Typescript 2022-05-11 13:27:11 +02:00
ee445e0cff Fix last warnings 2022-05-10 11:44:12 -07:00
3c662b847f Create StoreToken and NoRobot dialogs 2022-05-08 15:07:49 -07:00
6112e64b61 Fix warnings in Tradebox and Chat 2022-05-08 09:46:27 -07:00
9af2e722be Fix warnings, wip 2022-05-08 08:43:08 -07:00
90939c42e5 Create FlagWithProps component
This component replaces the function getFlags
2022-05-06 12:44:23 +02:00
1145812e2e Fix undefined imports 2022-05-06 12:42:15 +02:00
d5c93e5a30 Fix type errors 2022-05-06 12:36:52 +02:00
02321a3592 Add alert user to save token before taking order 2022-05-04 08:13:35 -07:00
b3fcfc0570 Fix colaboative cancel broken 2022-05-03 15:51:52 -07:00
1f920c9268 Fix DEL in clean orders. Add cancel button to paused order 2022-05-01 10:05:58 -07:00
419fadc125 Add new icons, add new limits. Fix minor bugs. 2022-05-01 06:41:55 -07: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
21c4e9f74c Add positioning badge on Order page avatars 2022-04-24 09:01:25 -07: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
7bca5ecdc7 Extract getCookie function into its own file (#94)
The getCookie function was being implemented a couple of times across the pages. These changes create a single implementation and imports the helper function whenever needed.
2022-04-15 16:22:49 +00: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
d68d07f760 Add string to icons. Add payment icons to order and book page. 2022-03-30 07:26:13 -07:00
85ff23894d Replace bottomBar unicode emojis for svg icons 2022-03-27 08:23:00 -07:00
227dbf2e49 Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
5aa0304d32 Improve amount specification UI 2022-03-24 08:43:31 -07:00
5ee28f9564 Add dark mode, text input for amount range, basic/advance tabs 2022-03-24 06:41:32 -07:00
8ae2406275 Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
f383d20c37 Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
3d130129f1 Dispute amount are claimable via UI. Fix FSE does not expire. 2022-03-09 06:13:53 -08:00
b62c243447 Add explainer: if maker is away you receive a compensation 2022-03-09 04:07:51 -08:00
3902159b67 Improve frontend notifications. Add resolved messages. Add unlocked/settled bonds. Fix bug with statements submission. 2022-02-24 12:47:46 -08:00
dbb86657ac Make explicit BTC payment methods are swaps 2022-02-19 02:45:42 -08:00
f8f306101e Fix cancel lnpayment at WFM. Add svgs, BTC currency flag. Fix pretty numbers 2022-02-16 18:45:18 -08:00
4a16f7debd Fit for daphne + gunicorn. Docker default command runs dev node. 2022-02-10 11:28:59 -08:00
b39529d91e Avoid giving new robot to a user who is expecting still a payment 2022-02-03 13:51:42 -08:00
5d4e3c5718 Add inactive maker confirmation dialog when taking an order 2022-02-03 10:27:39 -08:00
71532d52d0 Add maker status on book page 2022-02-03 10:06:30 -08:00
26bccdf9df Improve order dividers, status tooltips 2022-02-02 01:29:05 -08:00
159180089e Improve take order and cancel order responsiveness 2022-02-01 08:27:02 -08:00
bd8d2d8512 Add memory to textInput premium/satoshis 2022-01-31 14:42:43 -08:00
24347682c3 Improve routing within app components 2022-01-31 04:53:20 -08:00
716e838442 Add in order user activity status badge 2022-01-30 11:45:37 -08:00
58ecb607c3 Add setup background threads. Minor fixes and cosmetic. 2022-01-30 07:18:03 -08:00
64115a8bb5 Remodel usergen form. Add fee limit hparams. 2022-01-30 05:18:32 -08:00
292addc081 Fix stateless tradebox 2022-01-29 06:42:54 -08:00
51e21f7f6b Implement responsive order page 2022-01-27 14:51:57 -08:00
753e80c589 Fix explicit sats frontend. Fix float max sats routing fee 2022-01-27 09:43:17 -08:00
493684b8c9 Add lifetime settled volume. Sort admin panel cronologically 2022-01-26 10:45:24 -08:00
2263ec7153 Add penalty live countdown. Fix unilateral cancellation after escrow 2022-01-26 03:44:45 -08:00
5a677067f7 Record expiry height into lnpayment and admin panel 2022-01-25 06:46:02 -08:00
2d1a2e4c5c Add logics for payment retry, first iteration. 2022-01-24 14:53:55 -08:00
25ab5fdf2e Add invoice expiry paddingas temporary fix for order expire at invoice expire. 2022-01-24 10:34:52 -08:00
51d65fd15e Implement CLTV_expiries for each hold invoice duration. Invoice expiry matches status time to lock it. 2022-01-24 09:54:44 -08:00
8919b7937b Cosmetic fixes 2022-01-23 12:23:25 -08:00