Comments (6)
Hey @Renato1478 . Indeed, this is a potentially useful feature.
The order book filtering only allows for one payment_method
input at the moment. Several changes are needed as:
- In desktop (large screens) the same Autocomplete field as seen in the Create page is used, however, it is limited to 1 entry.
- On Mobile, it is a dropdown selection (so only 1 method allowed as well).
The filtering function, already accepts multiple payment methods:
robosats/frontend/src/utils/filterOrders.ts
Lines 18 to 28 in 3604d2f
I am not sure using the AutocompletePayment component on the Order book controls in mobile is a great idea, as selecting from a dropdown is way easier than writing on mobile. However, on desktop, it is likely very easy to fix the AutocomplePayment component on the book controls to accept several elements on the array of methods instead of just one.
If you want to work on it, we will gladly accept this PR. We can do a small tip from the devfund for the contribution of 20K Sats for this feature. Please, keep in mind our latest developments are in branch the-federation-layer-v0.6.0
, so it would be best if you work on top of its tip commit :)
from robosats.
Hey @Renato1478 , yes this could work for both mobile and desktop! The only drawback is the extra two clicks needed to open and confirm the new dialog. It's hard to say, do you think those two extra clicks are worthy in order to gain the edge ability to filter by more than one payment method at once?
I think it's a good case to bring up in the telegram group and see how users feel about it. It is definitely worth to implement if most users always look for several payment methods at once.
from robosats.
I'm willing to work on this feature if it's considered relevant to the app.
from robosats.
from robosats.
Thanks for the reply! In respect on the extra clicks, I just opened the PR #1172 making this possible without creating extra clicks or the average user who wants to filter by just 1 method.
from robosats.
#1172 was merged!
from robosats.
Related Issues (20)
- Stuck on Sending satoshis to buyer Order status HOT 2
- Telegram notifications HOT 2
- Incorrect Sats now for Swaps HOT 4
- [feat] Ability to Upload Images in Chat HOT 3
- Buyer stucks on last step while preparing an order
- Coordinator is not being notified for new disputes in Telegram HOT 1
- Not possible to create a second order with the same robot HOT 1
- Api and website URL issues HOT 2
- POST api/order/ cancel returns error 400 bad_request when successful HOT 1
- Html instead of json output returned when wrong token in Header Authorization
- Upload the Android App to a F-Droid repository HOT 32
- android app nostr link not using njump HOT 2
- Chat delays when in active order HOT 2
- POST /api/order cancel should include current status HOT 6
- Android-17a077b version crashes when creating an order. HOT 3
- docker pull recksato/robosats-client:v0.6.3-alpha results in an image with no main.js HOT 11
- Claiming rewards does not support routing_budget_ppm HOT 1
- bad_request should also return an error code
- /order/lake/6292 - 500 Server issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robosats.