108 Commits

Author SHA1 Message Date
af062a46df Make Maker page scale with fontsize 2022-09-09 04:51:33 -03:00
aad87e7d98 Increase Max trade size to 4M, increase max range size from 5 to 8 2022-07-30 05:27:15 -07:00
7b75973eba Fix unhandled premium input with too many decimal digits 2022-07-23 13:54:24 -07:00
rs
7eae2cf58c Fix copy to clipboard in any context 2022-07-04 11:54:29 -07:00
4f17dbf7e7 Activate Italian. Add loading bar for limits. 2022-06-17 10:37:19 -07:00
7c050b560a Fix signature verification error due to clock mismatch. Fix amount limits rounding. 2022-06-05 04:18:06 -07:00
7623d30670 Add new PGP keys validation on backend. Raise default bond size to 3% and minimum to 2% 2022-06-01 16:49:27 -07:00
af001d31d2 Add Audit Dialog 2022-05-24 05:16:50 -07:00
f7b9ca67d4 Fix reverse buy/sell on maker to book page transitions 2022-05-19 02:39:00 -07:00
cc06874f4d Fix invalid payload when premium textbox is reset. Mv pngs 2022-05-17 09:19:35 -07:00
a6c433719e Convert Icons to ts, add Bitcoin Icons 2022-05-16 11:01:17 -07:00
30300c7e4f Improve connection of UI between Make and Book 2022-05-16 04:37:30 -07: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
8ae7a5d0c9 Remove 'buy' as make order default 2022-05-10 05:18:28 -07:00
3c662b847f Create StoreToken and NoRobot dialogs 2022-05-08 15:07:49 -07:00
9af2e722be Fix warnings, wip 2022-05-08 08:43:08 -07:00
c09e81a037 Add usage of API fetched limits everywhere on MakerPage 2022-05-08 06:29:42 -07:00
8d9f79c5af Create InfoDialog Component 2022-05-07 11:59:42 -07:00
c9649d58a8 Add back lost duplicated tooltip message 2022-05-07 11:24:38 -07:00
90939c42e5 Create FlagWithProps component
This component replaces the function getFlags
2022-05-06 12:44:23 +02:00
6c53fc21c5 Fix RangeSlider 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
a4afb81ccc Prompt user to store token before order making 2022-05-03 15:38:41 -07:00
2b44d32b01 Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -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
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