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

feat(full-screen): add current time display in full screen mode #198

Closed
wants to merge 1 commit into from

Conversation

daksh2k
Copy link
Owner

@daksh2k daksh2k commented Oct 21, 2024

Fixes #183

Add an option to display the current time in full screen mode.

  • Add showCurrentTime setting to DEFAULTS in Extensions/full-screen/src/constants/defaults.ts.
  • Update the render function in Extensions/full-screen/src/app.tsx to include a time display element and update it every second.
  • Add styles for the time display element in Extensions/full-screen/src/styles/base.scss.
  • Add HTML to include the current time display element in Extensions/full-screen/src/services/html-creator.ts.
  • Add string for showCurrentTime setting in Extensions/full-screen/src/resources/locales/en-US.json.

For more details, open the Copilot Workspace session.

Fixes #183

Add an option to display the current time in full screen mode.

* Add `showCurrentTime` setting to `DEFAULTS` in `Extensions/full-screen/src/constants/defaults.ts`.
* Update the `render` function in `Extensions/full-screen/src/app.tsx` to include a time display element and update it every second.
* Add styles for the time display element in `Extensions/full-screen/src/styles/base.scss`.
* Add HTML to include the current time display element in `Extensions/full-screen/src/services/html-creator.ts`.
* Add string for `showCurrentTime` setting in `Extensions/full-screen/src/resources/locales/en-US.json`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/daksh2k/Spicetify-stuff/issues/183?shareId=XXXX-XXXX-XXXX-XXXX).
@daksh2k daksh2k closed this Dec 20, 2024
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.

[Feature Request]: Display Time
1 participant