Commit Graph

22 Commits

Author SHA1 Message Date
Fernando Porazzi
b397420241
Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
Fernando Porazzi
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
Reckless_Satoshi
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
Fernando Porazzi
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
Reckless_Satoshi
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
Reckless_Satoshi
baf76025c2
Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
Reckless_Satoshi
227dbf2e49
Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
Reckless_Satoshi
5c5e7918e8
Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
Reckless_Satoshi
69f6735f86
Improve chat status communication 2022-03-10 13:35:16 -08:00
Reckless_Satoshi
6f95d2541c
Implement payout invoice from QR camera 2022-01-27 16:17:20 -08:00
Reckless_Satoshi
6ab8f86b97
Implement responsive order book 2022-01-27 06:40:14 -08:00
Reckless_Satoshi
bfa0cd84d1
Update readme 2022-01-19 05:32:54 -08:00
Reckless_Satoshi
7a6cf943ee
Rework book as datagrid 2022-01-14 13:40:54 -08:00
Reckless_Satoshi
135c4c59e5
Add UI info and icons on order pager 2022-01-14 04:00:53 -08:00
Reckless_Satoshi
abb1bdd0be
Add dynamic countdown. Attach countdown to expiry progress bar. 2022-01-13 16:43:26 -08:00
Reckless_Satoshi
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
Reckless_Satoshi
5df2134fb2
Add ugly site info page 2022-01-12 13:22:16 -08:00
Reckless_Satoshi
bb9cafadd8
Upgrade MUI to V5 2022-01-09 14:17:15 -08:00
Reckless_Satoshi
5fb776aca7
Add TradeBox and QR client side generation 2022-01-08 05:08:03 -08:00
Reckless_Satoshi
30dfd09f58
fix minor things, add mui style libs, figured CSRF problems some bugs left 2022-01-04 07:00:34 -08:00
Reckless_Satoshi
790e96cc1b
Improve user generator UX. Still a bit buggy. 2022-01-02 14:31:19 -08:00
Reckless_Satoshi
e83f0295a5
Build frontend app test page using React 2022-01-01 15:58:44 -08:00