100 Commits

Author SHA1 Message Date
c770d231d1 Add frontend API client (#242)
* Frontend API client

* Test

* CR updates
2022-09-16 14:16:33 +00:00
1ba94b2abc Add Telegram notifications for order takers (#244)
* Create EnableTelegramDialog functional component

* Move Enable TG button to Profile dialog

* Add TG bot_name, token and state to API /info/

* Add messages for order takers to Telegram class
2022-09-15 15:42:33 +00:00
cb6475a3f4 Fix smooth avatar loading. Run prettier 2022-09-10 11:02:30 -07:00
822281e467 Run npm run lint:fix
Still many linting errors to fix manually
2022-09-09 10:57:05 -07:00
14487a9c2d Run linter and add linter GH action 2022-09-09 10:25:55 -07:00
cad000d838 Make Bottom Bar scale with fontsize 2022-09-09 04:51:33 -03:00
425225d23d 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 13:12:15 -07:00
eff58dc91d Add stealth invoices (#210)
* Add stealth invoice switch to profile

* Add stealth invoice including only order uuid

* Add explanatory tooltip for stealth invoices and fix code smells
2022-08-12 17:41:06 +00:00
5d711467e5 Enable Thai translation 2022-08-03 05:43:28 -07:00
8460eca75c Enable czech translation 2022-07-27 00:39:25 -07:00
de9f83da76 Merge branch 'main' into 2022-07-15-add-swedish-translation 2022-07-17 20:52:31 +00:00
2eb72654cf Load languages.json from http backend 2022-07-17 13:42:29 -07:00
3578c5eaff Add Swedish translation
- Add Swedish locale JSON.
- Integrate Swedish translation.
2022-07-17 22:13:55 +02:00
4dff7efbb7 Raise max amount to 3M Sats. Fix testnet/platform alternative site. Bump LND. 2022-07-10 03:54:00 -07:00
4429b5086c Activate PT and EU languages. Add CA and EU Flags. 2022-06-29 04:04:43 -07:00
c397ff63e5 Add rewards and referral code on usergen api responses 2022-06-21 04:47:29 -07:00
139afb47a5 Add .dockerignore. Fix profile button tooltip. 2022-06-20 11:48:42 -07:00
6f7cfb5147 Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
7eb29fb57e Delete and reload cookies on avatar login 2022-06-20 07:26:19 -07:00
d18d4b4927 Improve navigation bottom bar 2022-06-19 13:51:39 -07:00
4f17dbf7e7 Activate Italian. Add loading bar for limits. 2022-06-17 10:37:19 -07:00
5c87c5ad85 Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
64928cf4ea Fix profile not showing, fix not connected, fix auto scroll chat 2022-06-04 10:29:21 -07:00
8663fb3423 Add TG messages for dispute open and collaborative cancellation 2022-06-02 15:32:01 -07:00
bedac53e29 Fix missing PGP keys when early login. Fix avatar not found when make/book is clicked. 2022-05-30 14:19:16 -07:00
bf45085279 Activate Russian 2022-05-24 15:49:50 -07:00
4bbb885ec6 Fix claim rewards refresh bug 2022-05-22 13:56:07 -07:00
bf35961efb Migrate StatsDialog to Dialogs folder
Migrate StatsDialog component into its own file and convert its contents to Typescript.
2022-05-19 14:33:41 +02:00
04e13d50fd Migrate ProfileDialog to Dialogs folder
Convert ProfileDialog component to Typescript and co-locate it inside the dialogs folder
2022-05-18 11:17:25 +02:00
5ff6e1e78d Migrate ExchangeSummaryDialog to Dialogs folder
This commit migrates the ExchangeSummaryDialog component to the dialogs folder whilst converting it to Typescript
2022-05-17 22:29:25 +02:00
a6c433719e Convert Icons to ts, add Bitcoin Icons 2022-05-16 11:01:17 -07:00
5cba7474b8 Catalan translation (#133)
* Catalan translation

Work in progress.

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

Catalan translation finished.

* Update ca.json

Updated according to the latest English version.

* Activate CA

Co-authored-by: ₿lue Lynx <104466642+BlueLynx21@users.noreply.github.com>
2022-05-11 13:31:12 +00:00
ce0f5f8f74 Merge branch 'add-typescript-support' into main (#103) 2022-05-10 11:57:51 -07:00
ee445e0cff Fix last warnings 2022-05-10 11:44:12 -07:00
1b4d42cfdf Implement last order always shown on robot profile 2022-05-09 15:34:10 -07:00
9af2e722be Fix warnings, wip 2022-05-08 08:43:08 -07:00
c9649d58a8 Add back lost duplicated tooltip message 2022-05-07 11:24:38 -07:00
423c816389 Create CommunityDialog component 2022-05-06 12:44:23 +02:00
a1aa270cfd Remove duplicated tooltip
The Tooltip component does not allow another Tooltip component as child.
2022-05-06 12:43:51 +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
e4e33d39f5 Fix charged maker bond at cancel before taker bond is locked 2022-05-05 11:15:14 -07:00
2b44d32b01 Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
b36155fbd6 BTC instead of Sats on Stats For Nerds (#98)
* Update views.py

* Update BottomBar.js
2022-05-01 18:09:17 +00:00
a60ed8ae00 Activate DE and FR 2022-04-29 12:26:33 -07:00
ba9bc16b53 Polish translation (#111)
* Create pl.json

* Update pl.json

* Update pl.json

* Update pl.json

* Update pl.json

* Activate PL translation

Co-authored-by: valladolidBTCpol <104273807+valladolidBTCpol@users.noreply.github.com>
2022-04-24 19:32:08 +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
5e784d4bbb Add payment method translations 2022-04-17 12:14:22 -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
22675ebaab Spanish translation (#96)
* Translate tp Spanish (#93)

* update_es.json

* Update es.json

Translate eng to esp from line 222 to end

Co-authored-by: mamifiero <99733022+mamifiero@users.noreply.github.com>

* Fit book and maker UI for variable length text

* Correction and style of the Spanish translation (#95)

* Correction and style of the Spanish translation

The following terms have been unified and adjusted only in Spanish, but can be done in English base too:

* Satoshis, satoshis, sats = Sats (in honour of RoboSats)
* Robot (always first capital letter in honour of RoboSats)
* Lightning, lightning, LN, Lightning Network = Lightningç
* Telegram, TG = Telegram
* Trade, Swap = Trade (Intercambio)
* Trade counterpart, Peer, Trading peer = Peer (Compañero)
* Hold invoice, Bond & Fidelity Bond = Bond (Fianza)
* Trade collateral, Collateral, Trade escrow, Escrow = Collateral (Colateral)
* Burner contact method, Burner email = Burner contact method (Método de contacto de usar y tirar)
* Hidden service (deprecated), Onion services, .onion site = Onion site (sitio cebolla)
https://tb-manual.torproject.org/es/onion-services/
* Tor Browser (Navegador Tor)
https://tb-manual.torproject.org/es/about/
* Craiglist is not common on spanish countries, so now inserted WallaPop

* Update es.json

Co-authored-by: decentralized.b <58108487+decentralizedb@users.noreply.github.com>
Co-authored-by: mamifiero <99733022+mamifiero@users.noreply.github.com>
Co-authored-by: ibertario <68381662+ibertario@users.noreply.github.com>
2022-04-15 16:15:57 +00:00