-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date time picker position fix & design fixes #7477
Conversation
Not sure this is fixable. The datepicker uses a fixed positioning and does not allow direction settings! 😕 |
Looks good! Can we also make sure that the triangle pointer of the popover is aligned to be centered below the input field? This looks especially off in the calendar timepicker, where the popover is off to the right. cc @georgehrke (Of course we have to make sure this also works on mobile.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skjnldsv I've noticed the ⬆️ issue while testing a non-absolute solution for AM/PM - Maybe you want to try with that as well:
|
Codecov Report
@@ Coverage Diff @@
## master #7477 +/- ##
============================================
- Coverage 52.81% 51.18% -1.64%
- Complexity 23581 24948 +1367
============================================
Files 1445 1605 +160
Lines 80357 94923 +14566
Branches 0 1376 +1376
============================================
+ Hits 42440 48584 +6144
- Misses 37917 46339 +8422
|
@pixelipo better? |
@skjnldsv change the NC language (for example, Italian, German) |
Still there, @skjnldsv :( |
823f842
to
c3d2e9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more things needed here:
- Remove "Invalid date" text when no date is selected
- Add a placeholder
{{expirationDatePlaceholder}}
@pixelipo if you want to add your fixes directly here, please do :) |
@rullzer yes, it's going in! |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
c3d2e9b
to
d190754
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
@pixelipo Could you again review this? Thanks |
Need the fixes that pixelipo requested. But the alignment can't be fixed properly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this 🐘
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@pixelipo All clear! Default expiry date is set to NOW+1day (can't expire the same day) There is still the AM/PM issue, I'm scratching my head over this! 🤔 |
I would go with this for now in the beta 4. The original issue was much more obvious and killed the proper selection of the expiry date. It is fixed in this PR and we should fix the other little paper cut regressions in followup PRs that will not make it into beta 4 but that should be fine. |
I just tested again and it is fine as it is now. |
Sorry I couldn't help you, guys - I'm sick and far away from my PC... |
Don't worry :) Was just to get stuff fixed, that is actually broken and fix the small issues later on. :) |
And @pixelipo rest and get well soon :) |
@pixelipo never apologise for being sick! :) |
Just one thing, was the default expiry date now+1day? Seems a bit short, and now+1week seems better. Otherwise a lot of links will expire by default without opening. @pixelipo get well soon! :) |
Fix #7007
Position
Design