Skip to content
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

ClockPicker: TODO List #1428

Closed
14 tasks done
melloware opened this issue Jan 27, 2024 · 16 comments · Fixed by #1438
Closed
14 tasks done

ClockPicker: TODO List #1428

melloware opened this issue Jan 27, 2024 · 16 comments · Fixed by #1438
Assignees
Labels
defect Something isn't working
Milestone

Comments

@melloware
Copy link
Member

melloware commented Jan 27, 2024

  • Look through PR's and apply appropriate patches: https://github.com/weareoutman/clockpicker/pulls
  • Theming (the component does not look right in dark themes)
  • AM/ PM (the clock supports AM/PM mode but its not implemented yet)
  • Styling (the fonts and styling are off)
  • Replace Bootstrap classes with custom CSS classes
  • Done button I have Localized as "Close" but it also does not look right and is not centered
  • Button mode like we have for time and calendar (not working currently)
  • Add client side callbacks like beforeShow
  • Add Ajax events like change or ValueChange
  • PrimeFaces.skinInput of the Input component.
  • HTMLInputText Attributes and InputRenderer
  • Register overlay scroll and resize listener to close the overlay if open
  • enable() and disable() widget methods
  • Test and enable working properly in Dialog

image

cc @jxmai @jepsar

Here is what ours currently looks like

image

@melloware melloware added the defect Something isn't working label Jan 27, 2024
@jepsar
Copy link
Member

jepsar commented Jan 27, 2024

Does "styling" also means adding dark mode support? Do you want me to have a look at those?

@jepsar
Copy link
Member

jepsar commented Jan 27, 2024

I'll have a look at the styling and some other issues.

@melloware
Copy link
Member Author

Thank you @jepsar

@jepsar
Copy link
Member

jepsar commented Jan 27, 2024

After including the correct CSS it looks much better.

Screenshot 2024-01-27 at 20 01 46

Maybe we should add darkmode in a new issue.

@melloware
Copy link
Member Author

Looks way better!

@jepsar
Copy link
Member

jepsar commented Jan 27, 2024

Also because I added ui-widget to the popup 😁

@melloware
Copy link
Member Author

@jepsar did you push a commit I don't see any changes?

@melloware
Copy link
Member Author

I just did some more refactoring to make it a more standard PF input type component

@jepsar
Copy link
Member

jepsar commented Jan 28, 2024

I think I'll just push my changes (I didn't yet) and improve later (things like theme variable colors and dark mode).

jepsar added a commit to jepsar/primefaces-extensions that referenced this issue Jan 28, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 28, 2024
* #1428 Fix styling

* Restore after merge
@melloware
Copy link
Member Author

I will take the AM/PM issue and looking through the open PRs issues

@jxmai
Copy link
Member

jxmai commented Jan 28, 2024

I checked out the AM/PM issue and open a PR: #1431. This one is slightly more complicated than 24 hour format since Locale involves. Please take a look and let's see what you think.

@melloware
Copy link
Member Author

I enhanced AM/PM to be locale aware so if you use locale="es" you will see it use "a.m." instead of "AM" for English etc. Also fixed a few bugs in AM/PM handling and applied a few PR's I found

@jxmai
Copy link
Member

jxmai commented Jan 30, 2024

I enhanced AM/PM to be locale aware so if you use locale="es" you will see it use "a.m." instead of "AM" for English etc. Also fixed a few bugs in AM/PM handling and applied a few PR's I found

Cool fix 😎 (especially I saw javascript patches applied e.g. 2740f7c#diff-385b773093d6e9c4719ea68e3f552e3251c06b65e87a60921fa78f0028c66a4dR122-R135) to enable different locale of AM / PM

@melloware
Copy link
Member Author

Next i need to test one in a dialog and apply some AppendTo patches I think so the popup displays properly inside a dialog.

@melloware
Copy link
Member Author

OK dialog support added the last thing is the theme support @jepsar is handling.

@melloware melloware added this to the 13.0.6 milestone Feb 1, 2024
@jepsar
Copy link
Member

jepsar commented Feb 1, 2024

I hope that I can find some time to fix it this weekend.

jepsar added a commit to jepsar/primefaces-extensions that referenced this issue Feb 4, 2024
github-merge-queue bot pushed a commit that referenced this issue Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants