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

dev: moved current datetime to toolbar as a widget #1172

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

sashpawar11
Copy link
Contributor

@sashpawar11 sashpawar11 commented Mar 13, 2025

This PR creates the initial implementation for #1171.

ChangeLog

  • Current clock element has been moved to the toolbar under UIDesktop with other toolbar buttons
  • display_ct() under UIDesktop has been tweaked to display a better/sleek datetimestamp
  • window.change_clock_visible intialization on DOM load has been moved to UIDesktop due to DOM element accessibility bug

New Toolbar Clock UI:
image

Puter Desktop View:
image

@sashpawar11
Copy link
Contributor Author

sashpawar11 commented Mar 13, 2025

@KernelDeimos @jelveh - here's the initial PR for the proposed enhancement under #1171

@KernelDeimos
Copy link
Contributor

Thanks, this implementation is very straightforward. No comments, I'm merging it now.

@KernelDeimos KernelDeimos merged commit 672e2e7 into HeyPuter:main Mar 13, 2025
4 checks passed
@sashpawar11
Copy link
Contributor Author

Shesh , thanks @KernelDeimos !

@KernelDeimos
Copy link
Contributor

This PR introduced unexpected movement of other icons on the upper bar when the clock is visible. It was a simple fix so I fixed that on main. Here's the commit if you'd like to review it: 8edcf75

@sashpawar11
Copy link
Contributor Author

@KernelDeimos - apologies, missed that. Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants