Comments (32)
@wmbutler actually timepicker looks like I shit. I've spent few hours to fix it's bugs. I'll replace it for Ant timepicker as soon we integrate ant.
from bitshares-ui.
@gibbsfromncis that looks not so good. Perhaps better use a drop down with 1 minute, 5 minute, 1 hour, 1 day and etc listed, if going this way, it's best if the list is configurable in settings, with some well-picked values as default.
from bitshares-ui.
@gibbsfromncis I was thinking something like the below example. It doesn't interrupt the amounts/totals inputs so much and acts as more of an optional step for those who want it. Putting it within the main form makes it feel like customizing the expiration might affect the total price.
I added a drop down inside the date/time picker to show how we could include preset times per @abitmore suggestion.
from bitshares-ui.
and Market Order
from bitshares-ui.
Most of the time here is for integrating a calendar widget and troubleshooting everything related to this control.
from bitshares-ui.
@wmbutler Where do you think it should be placed? On the confirmation window (We can make it like Propose - add switch custom expiration
and if user turns it on I'll display input with date and user be able to change it):
or Buy/Sell order forms (it requires new field and may be not good to load this forms by not so useful field)?
from bitshares-ui.
I think it will need to be a calendar picker on the BUY/SELL controls that gets reflected on the confirmation screen.
from bitshares-ui.
@wmbutler assign to me.
from bitshares-ui.
Added 2 hours. Make sure the calendar widget can be used everywhere. Please propose libraries here before adding.
from bitshares-ui.
@ahdigital UX might be helpful here so @gibbsfromncis can just follow your blueprint.
from bitshares-ui.
I'd be tempted to put it on the modal (I have a nice idea to display it) because:
- Space is at a premium on the order form
- It adds another layer of complexity for less experienced traders
from bitshares-ui.
@ahdigital It's hard to put it on the Modal because on this step (when modal displayed) transaction already created. And on modal window user when user click on approve button he "sign" it instead of create it.
from bitshares-ui.
I see. Not in the modal then!
from bitshares-ui.
@ahdigital do you any ideas how to present it except adding new Expiration
field like this:
from bitshares-ui.
Yeah sure. I can post an example in the morning UK time.
from bitshares-ui.
@ahdigital nice! Thank you!
from bitshares-ui.
@abitmore 100% agree. I suppose it should be a dropdown with the following values:
- 1 minute
- 5 minutes
- 1 hour
- 3 hours
- 1 day
- Custom Time (an ability to select specific date/time)
But I don't think it's good to make this small feature so complicated. Lets go by simple way like just one dropdown and if after release a lot of users will ask us to make it configurable - we will do it.
from bitshares-ui.
Please pick a good default value. 1 day is perhaps too short. Current default is 15 years or so.
By the way, OP is very old. I don't even know who want this feature at this moment.
from bitshares-ui.
PR: #1309
from bitshares-ui.
@gibbsfromncis would you mind posting a licecap of this in action? You've been busy!!!
from bitshares-ui.
@wmbutler yes sure
from bitshares-ui.
Really elegant solution. Nicely done!
from bitshares-ui.
Hi guys, any chance we can get the default setting set to a maximum or no expirery as auto removing orders after 30 days will lower liquidity. I think its a good feature i can certainly see the benefits but the default setting should be set to max. :)
from bitshares-ui.
Yes, the expiration drop-down needs a "Never" option and that should be the default since non-expiring orders make the most sense, for the reason stated by @CryptoKong, among others.
Also, unless you have a very good reason to do otherwise, it's always a good rule of thumb to maintain the original default behavior when adding options for a setting that wasn't previously user-configurable...especially when such an unexpected change could actually cost someone money.
P.S. The calendar is getting cut off when the order form is near the bottom of the screen:
from bitshares-ui.
@CryptoKong @tbone-bts thanks guys for your feedback. I've created an issue with changes you ask: #1331
Is it OK if "Never" option will be 10 years?
from bitshares-ui.
@tbone-bts @CryptoKong for overall performance, a limitation on expiration will be enforced in bitshares-core sooner or later. In fact, we can't afford that everyone puts thousands if not millions of never-expire and never-fill orders in the system. On UI, we should encourage people to set an expiration that is not too far away. For better UX, perhaps every account can have 10 orders or so that have longer expiration but certainly not all, although it's a bit too complicated.
from bitshares-ui.
Even this: orders with longer expiration should pay higher fee.
from bitshares-ui.
10 years would be more than enough for a "never" option. Could we set the default to 1 year rather than 30 days? 30 days is far too short in my opinion.
from bitshares-ui.
@CryptoKong you can use the "specific" time, I think it will remember your last input?
from bitshares-ui.
@abitmore actually it doesn't but I suppose it's nice idea
from bitshares-ui.
For modifications, open this as a separate issue. This one is closed.
from bitshares-ui.
This is issue for future discussions #1331
from bitshares-ui.
Related Issues (20)
- Uplift compute environment & packages to latest versions HOT 1
- GitHub Actions: Deprecating `save-state` and `set-output` commands HOT 1
- Warn user if bidding in far excess of a smartcoin's global settlement rate
- Add asset search to spotlight invoice request HOT 1
- direct debit spotlight component bug - missing claimable direct debit? HOT 2
- Include fee reference when creating new prediction market HOT 1
- Include QR code alongside invoice request copy button HOT 2
- Can't show or keep week view on Exchange page
- Unhandled error in liquidity pool search field HOT 4
- Missing SHA256 checksum from 5.0.230113-rc3 release page
- Breach of code of conduct HOT 3
- Broken gateway links on deposit and withdraw page
- Credit_offer_accept_operation doesn't show in proposals HOT 1
- Exchange pages scrolling up/down unless mouse scroll wheel button is held down HOT 2
- Error in market limit order pricing calculation? HOT 7
- Liquidity pool staking dialog not calculating share asset amount
- Estimated liquidity pool staking asset calculated amount wrong?
- My funds in Cryptobridge HOT 1
- Direct users to create vote lock before voting
- Raw Beet deeplink support
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 bitshares-ui.