79 Commits

Author SHA1 Message Date
21c4e9f74c Add positioning badge on Order page avatars 2022-04-24 09:01:25 -07:00
acc0db2e96 New filtering and Buy/Sell icons in Book and Maker page 2022-04-24 08:18:17 -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
9297ddfb2a Refactor payment icons, add 'not specified' icon 2022-04-17 13:33:43 -07:00
14b4c16fa3 Fix for UI & Spanish translation. Implement concurrent invoice payments. 2022-04-15 17:04:17 -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
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
2c8dfdbff5 Small cosmetic and usuability fixes 2022-04-01 13:19:03 -07:00
b85b78c722 Fix payment method delete bug, improve viz (better icons, better shadows) 2022-03-30 13:01:26 -07:00
d68d07f760 Add string to icons. Add payment icons to order and book page. 2022-03-30 07:26:13 -07:00
8265dc1dc4 Make method picker functional. Add Swap methods and icons. 2022-03-30 03:57:56 -07: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
b89df0217d Minify main.js, improve spinner and loader page 2022-03-25 12:47:01 -07:00
6ce9957694 mend 2022-03-24 17:30:40 -07:00
dc5f228fce Fix percentile computing for ranges, fix limit adjusts by premium 2022-03-24 17:09:55 -07:00
cb7dcab147 Remove input numeric arrows 2022-03-24 10:29:51 -07:00
93da75607c Fix maker order tab alignment, fix typo on info text 2022-03-24 06:53:11 -07:00
5ee28f9564 Add dark mode, text input for amount range, basic/advance tabs 2022-03-24 06:41:32 -07:00
ffee6f4b56 Fix do_accounting, safe adjust maxRange 2022-03-22 12:45:44 -07:00
8ae2406275 Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
bf80986005 Implement min_amount max_amount model props and validation 2022-03-21 16:27:36 -07:00
2998c265d6 Add smart amount range picker with limits 2022-03-21 08:51:26 -07:00
ca79ea9914 Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00
5730ec0383 Add any-domain referral, ontop UnsafeAlert and control panel(app) 2022-03-19 09:33:01 -07:00
d31bd63edc Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
a36f23b572 Add maker selects public duration 2022-03-18 14:21:13 -07:00
26e0664f44 Minor stylish fixes 2022-03-16 17:42:07 -07:00
73c489a48a Disable new features, add robosatsTextIcon and amboss svg 2022-03-16 08:55:48 -07:00
2e5d2ff6d5 Add range amount slider 2022-03-16 06:23:48 -07:00
fce2bbd818 Add time picker and fidelity bond slider to advanced options 2022-03-15 16:33:58 -07:00
5c5e7918e8 Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
a3b19d871f Add UI, switch rewards, switch advanced, allow bondless, robologo 2022-03-15 11:20:57 -07:00
4677f73720 Increase max trade limit to 800K Sats 2022-03-07 09:04:29 -08:00
dea2b665fb Route refCode url to api/user and display rewards 2022-03-05 09:32:27 -08:00
3df2f58a35 clarify FIAT payment methods 2022-02-27 13:35:37 -08:00
03bfc487ea Clarificatory patch. You MUST provide a contact in disputes. Fiat INSTANT methods are needed. 2022-02-20 03:12:57 -08:00
eafda9ddf7 Align SVG currency icons with text 2022-02-19 10:44:02 -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
243690899e Add delay on annoying tooltips. Add more characters to default token. 2022-02-08 08:20:41 -08:00
3f6731d3e0 Improve response time of confirm fiat receive; improve failure routing handling 2022-02-03 17:37:24 -08:00
26bccdf9df Improve order dividers, status tooltips 2022-02-02 01:29:05 -08:00
260c9ec335 Add tooltips userPage, bottomBar, makerPage 2022-02-01 14:05:49 -08:00
fd0b0faac6 Revamp maker page 2022-01-31 16:45:58 -08:00
bd8d2d8512 Add memory to textInput premium/satoshis 2022-01-31 14:42:43 -08:00
64115a8bb5 Remodel usergen form. Add fee limit hparams. 2022-01-30 05:18:32 -08:00
5ab97453f0 Add user profile bottom left icon with active order reminder 2022-01-29 11:51:26 -08:00
753e80c589 Fix explicit sats frontend. Fix float max sats routing fee 2022-01-27 09:43:17 -08:00