Skip to content

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
@daksh2k daksh2k deleted the add-current-time-display branch April 3, 2025 15:22
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