Commit Graph

200 Commits

Author SHA1 Message Date
Reckless_Satoshi
74398a019c
Small fixes and updates 2023-03-03 07:25:21 -08:00
Reckless_Satoshi
9412764f1d
Functional UnsafeAlert and other Icons (#371)
* Add unsafe alert functional component

* Convert icons to functional components

* Run lin fix

* Fix webln uncaught error
2023-03-02 14:20:30 +00:00
Reckless_Satoshi
88bb58bcb6
Prepare for v0.3.4 release 2023-02-12 06:51:00 -08:00
dependabot[bot]
d773353000
Bump json5 from 1.0.1 to 1.0.2 in /frontend (#342)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 19:05:49 +00:00
Reckless_Satoshi
6b1216a227
Prepare for v0.3.3 release 2022-12-08 07:27:44 -08:00
Reckless_Satoshi
268e1259d6
Fix invoice validator 2022-11-27 03:21:07 -08:00
dependabot[bot]
74364fd522
Bump loader-utils from 2.0.2 to 2.0.4 in /frontend (#325)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 18:55:37 +00:00
KoalaSat
5ae1f8ca18
Fix Robot token not loading to android (#313)
* Fix Robot token not loading to android

* Redo Maker
2022-11-06 16:20:54 +00:00
Reckless_Satoshi
a4a3dbb95e
Add RoboSats PRO frame as react layout grid playground (#299)
* Add react layout grid playground

* Add BookWidget and style

* Rename basic.js back to main.js
2022-10-22 14:32:33 +00:00
Reckless_Satoshi
04126ae0bd
Add functional homepage (#289)
* App as functional component

* Add Main component WIP

* Add Maker and Book page to new main.tsx

* Add old UserGen and BottomBar to new main.tsx

* Small fixes

* Try out to revert depth chart

* Small fixes (more)
2022-10-20 17:24:53 +00:00
Reckless_Satoshi
57f9b6447d
Upgrade version to v0.2.2 2022-10-14 05:45:08 -07:00
Reckless_Satoshi
ddd9f3fc32
Add MakerForm functional component (#265)
* Create maker form model

* Add MakerForm functional component

* Add advance options switch

* Add range slider

* Add timers, bond size, helpers and submit button

* Style maker form

* Add filter toolbar to maker page

* Add new Maker Page

* Fix MakerPage

* Add match maker

* Add order filter util, run lint:fix

* Fix book filter by payment method

* Add confirmation dialogs

* Add Book page as functional component

* Load orders and limits on app start (homepage)

* Turn BookPage and MakerPage into modules

* Add translation keys

* Fixes

* More fixes
2022-10-14 12:10:12 +00:00
KoalaSat
0689377f2c
Android app config and fixes (#267)
* Android app confuration and fixes

* Adding ignore files

* Prettier

* Asset load

* Run prettier

* Add upload Web.bundle directory as build artifact

* CR

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2022-10-04 16:00:37 +00:00
Reckless_Satoshi
7b8fcb3285
Add android webview app (#259)
* Add android build workflow

* Initial webview on tsx template

* Insert ReactJS app from local

* Add Android app icon by @red_purdy (#174)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>

* Fix local reactjs

* Add setup guide. Bundled dev main.js

* Add react native tor

* Move Android CHANGELOG.md to /mobile

* Add torified webview in react-native (#247)

* Add android build workflow

* Android Tor Requests

* Fetching internal files (i18n)

* react-native-tor does not implement PUT

* Get Files from Tor

* Revert "Add android build workflow"

This reverts commit 340bcf8d1c.

* Fix Rebase Removals

* External sources

* react-native-tor crashes

* Last Refactor

* Fix/revert setup guide

* Add /mobile as volume to npm-dev container

On the fully dockerized dev environment the npm process cannot save files outside of /frontend directory. Now it can also save the builds to /mobile

* Fix UsafeAlert

* Run prettier

* Run lint:fix

* Main Profile Image fix

* Remove Tor Requests limitation

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>

Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>
Co-authored-by: KoalaSat <yv1vtrul@duck.com>
2022-09-28 12:08:16 +00:00
Reckless_Satoshi
efc3da28bd
Update Nivo and resolve need to force install of deps 2022-09-13 10:27:36 -07:00
Reckless_Satoshi
9d73f1ec34
Merge branch 'use-linter-and-formatter' into main (#222) 2022-09-09 10:13:02 -07:00
Reckless_Satoshi
d0f951c16d
Remove zoom-in/out, restore Autocomplete, fix timer dependencies 2022-09-09 09:44:33 -07:00
Reckless_Satoshi
645671265a
Fix merge conflicts and merge #231 2022-09-08 16:20:29 -07:00
Reckless_Satoshi
e8852c2423
Replace material-ui-image, delete qrscanner, fix dependencies 2022-09-08 15:34:06 -07:00
KoalaSat
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
KoalaSat
458f5ac4e7
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 18:49:16 +00:00
ShatteredBunny
2abf6cb66f Add linter and formatter 2022-08-28 00:20:45 +02:00
KoalaSat
7083423189
Add WebLN support (#215)
* Add WebLN support

* Fix Variable Typo

* Invoice Generation

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>

* Code Review

* Second CR

* Catch cancelations

* Final Review

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>
2022-08-25 08:50:48 +00:00
dependabot[bot]
8d84e499a8
Bump terser from 5.10.0 to 5.14.2 in /frontend
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 21:08:50 +00:00
Reckless_Satoshi
cd8fc15a60
Update and clean dependencies 2022-07-16 15:21:05 -07:00
Reckless_Satoshi
40504a9e95
Fix vulnerabilities 2022-07-10 11:19:47 -07:00
Reckless_Satoshi
59d8d325b2
Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
Reckless_Satoshi
1145812e2e
Fix undefined imports 2022-05-06 12:42:15 +02:00
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