68 Commits

Author SHA1 Message Date
1ab72f3f10 Tooltip 2025-07-09 16:21:22 +02:00
cc7f4787d0 Better custom payment methods 2025-07-09 16:16:08 +02:00
9000fffc48 Frontend 2025-06-21 16:33:09 +02:00
c67fc85cb8 Update minor libraries 2025-05-28 11:03:09 +02:00
63874d885a Remove logs 2025-05-24 20:45:52 +02:00
1262732962 More fixes 2025-05-24 20:44:03 +02:00
300ba18231 Fix others 2025-05-23 12:40:30 +02:00
58763df9db Maker form 2025-05-11 12:34:43 +02:00
ef2d8e7aee Upgrade all libraries 2025-05-09 17:10:33 +02:00
d43a848e98 Remove logs 2025-04-08 15:56:49 +02:00
e1383f939b UX improvements 2025-04-08 15:53:31 +02:00
075ee0c30c Lint 2024-11-25 10:38:33 +01:00
2645c9eb20 Display coordinator info on create (#1622)
* Display coordinator info on create

* Better info
2024-11-24 07:34:28 +00:00
c913da67d6 Generate Robot and Order 2024-10-19 22:52:47 +02:00
7bf77a538e Refactor info endpoint calls 2024-10-18 12:40:02 +02:00
a92ca62bb1 Refactor Order/Slot models 2024-09-10 12:56:56 +02:00
74143c8da1 Disable tor option (#1315)
* Disable Tor option

* Fix settings save

* Remove unused code

* Remove unused code 2
2024-06-16 22:14:32 +00:00
471583733c frontend: fix breaking MUI-X v7 changes 2024-04-20 20:19:19 +01:00
09f70c493b Makes filtering by multiple payment methods in desktop possible (#1172)
* Make the payments autocomplete header text independant on isFilter prop

* makes filtering by MULTIPLE PAYMENT METHODS possible without great impact in the current experience on DESKTOP only

---------

Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2024-03-14 12:07:07 +00:00
2d927249cd Fix coordinator selector maker page (#1157)
* Fix coordinator selector on Maker page

* Refactor onUpdate naming
2024-03-07 16:06:53 +00:00
4b7b940f62 Add programatic order size limit to new coordinators 2024-02-08 00:35:14 +00:00
27b265220e Fix too-many fetchRobots and coordinator endpoints print 2024-01-14 18:20:48 +00:00
39453058a3 Fix cancel button, add debug console log fetchOrder 2024-01-10 14:48:35 +00:00
a4b2327ff4 Small fixes and lint fixes 2024-01-07 14:16:26 +00:00
94af0b2afd Fix order autoupdate and chat (#1047)
* Fix Order autoupdate and chat

* Remove console.log
2024-01-06 12:33:57 +00:00
8884c7f187 Fix and disable strict boolean lintern 2023-12-22 13:58:59 +01:00
4a273fd98a Avatar hashid in Garage (#983) 2023-12-15 15:17:46 +00:00
2408190869 Fix statusToDelay, linting and others 2023-12-02 19:50:07 +00:00
9fee3b3bba Update temple of sats, new prettier format 2023-12-02 17:42:14 +00:00
e8ec7f989a Adapt garage to coordinators 2023-12-02 10:40:59 +00:00
eb840c5b14 Fix order workflow (#957)
* Order workflow working

* Refactoring
2023-12-02 10:40:59 +00:00
937ac62c5d Change getRobot by getSlot (#955) 2023-12-02 10:40:59 +00:00
4eb46f1e16 Fix lint issues 2023-12-02 10:40:59 +00:00
2361b728fc Fix (some) lint issues 2023-12-02 10:40:59 +00:00
293c0b604d Refactor contexts and models (#921)
* Add SVG icons for map pins

* Add federation basis and new coordinator form (#793)

* Add new coordinator entry issue form

* Add Federation basis

* Fix eslint errors from F2F and fix languages

* Redo eslint @typescript-eslint/strict-boolean-expressions

* Robot Page working

* Contexts Working

* Garage Working

* CurrentOrder working

* Federation model working

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-12-02 10:40:59 +00:00
d145c0c2d4 Fix hide F2F button on swap mode maker form 2023-10-18 10:35:36 -07:00
d5f6e2cbd8 Fix f2f style and self-hosted assets 2023-10-17 05:21:18 -07:00
004d98e0d9 New icons 2023-10-17 08:26:30 +00:00
22b10df91d Code Review 2023-10-17 08:26:30 +00:00
871299b3bf Order Map 2023-10-17 08:26:30 +00:00
a338dfc2ee Book map 2023-10-17 08:26:30 +00:00
7250286c0f Worldmap f2f Book orders 2023-10-17 08:26:30 +00:00
412242865d Worldmap f2f selection 2023-10-17 08:26:30 +00:00
33d18d67e5 Add location to F2F (frontend) 2023-10-17 08:26:30 +00:00
5cf894bf4d Update deps in package.json (#734) 2023-07-17 12:40:30 +00:00
c26e2f919a Update handleCurrencyChange to not reset amount range on currency change in maker form (#692)
* Update handleCurrencyChange to not reset amount range on currency change

* Update MakerForm.tsx
2023-07-09 21:18:22 +00:00
2a06eeb02f Disable maker submit button on bad payment methods field 2023-05-26 04:38:39 -07:00
9a1007775f Fix bug with negative premium textfield (#614)
Fixing the type handlePremiumChange function to handle the discount to the right type (React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>)

Using the correct type of handlePremiumChange function, then deconstructing the "value" var from the event.target

Using Number(value) in declaration of "newPremium", instead of using multiplication with number and string

To not affect another methods using "premium" var, I used isNaN func to make a check and set the initial value of "premium" var to zero (if is NaN) or newPremium (when valid number is entered)

The fix in the bug is the line "premium: isNaN(newPremium) || value === '' ? '' : premium," in setMaker. That makes the "premium" var to be set to zero when the input is empty or not a number, allowing the user to input the "-" (minus sign) and not entering 0 as before.
2023-05-26 10:32:22 +00:00
8a04474934 Add switch Amount Exact/Range (#577)
Created new state var amountRangeEnabled to control the new switch when advanced options is enabled.

Created memo var makerHasAmountRange to control boolean state of amount exact/range switch using maker.advancedOptions and amountRangeEnabled.

Used makerHasAmountRange instead of maker.advancedOptions when testing if maker is  using amount range or exact amount (changeds places: handleCreateOrder, disableSubmit, amountToString in SummaryText, and in the Amount fields).

Change the default value of amountRageEnabled

Changed the default value of state var "amountRageEnabled" to true, and removed unnecessary use of the method "setAmountRangeEnabled" when chaging between advanced and default options.

Fix style of switch Exact/Range Amount

Fixing the style of the div of the "Exact/Range Amount" Switch removing the unecessary "width" and "height" props and adding a negative marginTop to reduce the gap between buy/sell buttons and the amount input commented in the PR, and added a padding bottom to the label of the amount (exact) to not hide the switch.

Inverting the position of the icon to match the style of the "Advanced Options" Switch.

Fixing the title from tooltip of the switch (the order of the titles was inversed and the text of the Exact Amount was wrong).

Define style of Exact/Range Amount Switch

Last change in the style of the new Exact/Range Amount Switch, following the review recommendations.
2023-05-18 11:38:23 +00:00
1e39f32eb5 Fix usenavigate PRO (#571)
* Simplify and optimize nodeapp

* Add pro frontend

* Fix PRO errors
2023-05-12 12:51:52 +00:00