Repository navigation
Add clocky extension - #31067
Add clocky extension#31067jeffnawroth wants to merge 4 commits into
Conversation
- Add Raycast Store screenshots - Prepare clocky for Raycast Store submission - chore: update dependencies to latest versions - Merge pull request raycast#5 from jeffnawroth/deps/update-all-latest - chore: update @raycast/api to 2.3.1 - chore: update @raycast/utils to 2.3.1 - chore: update typescript to 6.0.3 - chore: update eslint and safe dev dependencies to latest - fix: freeze the detected sleep-gap duration on the clock-out suggestion - feat: auto-detect forgotten clock in/out via status tick gaps - fix: release hardening & cleanup for Clocky 1.0 (raycast#1) - fix: update repository name from chrono to clocky in issue tracker documentation - feat: add triage labels documentation for issue tracking - feat: add triage labels documentation for issue tracking - feat: add documentation for agent skills and issue tracking - feat: add estimated work end calculation and time formatting utilities - Rename project from chrono to clocky - feat: add time tracking features with clock in/out, pause/resume, and session history - first commit
|
Congratulations on your new Raycast extension! 🚀 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
|
…ore hygiene - Reject Session adds/edits that overlap another Session in time. - Reject Session edits that would strand an existing Pause outside the new bounds. - Reject Pause adds/edits that overlap another Pause on the same Session (was warn-only). - Close every open Pause on Clock Out, not just the first one found. - Normalize Work Days per Week (floor, clamp 1-7) once at the preference boundary. - Source preference types from the generated Preferences type instead of hand-rolled casts. - Drop the unused @raycast/utils dependency. - Add CONTEXT.md and an ADR recording the write-time-validation decision.
isPauseWithinSession allowed an open Pause to remain valid against a Session that had just gained an end, since it only checked the pause's own start/end against the session bounds. That left a Pause running forever with no active Session to resume it through Toggle Pause. A closed Session now requires every Pause within it to be closed too, closing the same hole in updateSession, addPause, and updatePause at once since they all route through this helper.
0xdhrv
left a comment
There was a problem hiding this comment.
Thanks for your contribution 🔥
The previous review findings look addressed, and the Store screenshots look good.
I found one remaining edge case in Adjust Entries:
- Could you prevent creating/editing an open session with a future start time? Since an entry without an end is treated as the active session immediately, a future open session currently blocks normal Clock In and makes Status report the user as working before that time.
- The same applies to open pauses: a future pause without an end is considered active immediately, and toggling Pause can then close it with an end time earlier than its start.
Please either reject future starts for open sessions/pauses or make the active-state logic account for the start timestamp.
Thanks!
I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊
- Merge branch \'contributions/merge-1790874926569\' - Pull contributions - Reject open Sessions/Pauses that start in the future - Reject Session edits that leave a Pause open - Close every open Pause on Clock Out - Reject overlapping Pauses on Add/Edit - Reject Session edits that strand a Pause outside new bounds - Reject overlapping Sessions on Add/Edit - Use generated Preferences type in storage.ts, drop unused @raycast/utils - Normalize Work Days per Week at the preference boundary - Add ADR-0001 and CONTEXT.md for Session/Pause validation domain
|
Thanks! Adjust Entries now rejects saving an open session or pause whose start time is in the future (you'll see a failure toast asking you to set an end time or pick an earlier start). Closed entries are unaffected. This keeps the active-state logic unchanged, since a future open entry can no longer be stored. |
0xdhrv
left a comment
There was a problem hiding this comment.
Hey @jeffnawroth 👋
Thanks for your contribution 🔥 Nice local session/break tracker — write-time Session/Pause validation, the menu-bar Status with forgotten clock-in/out hints, and the Store screenshots all look solid. Also appreciate the follow-up on the future open-entry edge case.
Here's everything I found in this pass:
Blocking
- Please remove planning docs that shouldn't ship with the Store extension:
docs/adr/0001-write-time-session-pause-validation.md,docs/agents/domain.md,docs/agents/issue-tracker.md,docs/agents/triage-labels.md, and thedocs/tree. - Please remove agent scaffolding files:
CLAUDE.md,CONTEXT.md, and similar. Keep user-facingREADME.md/CHANGELOG.md/metadata/only. -
Clockyreads as a coined brand without saying what the extension does. Please rename the Store title to something likeClocky - Time Tracker(orClocky - Session Tracker), and rename the extension folder +package.jsonnameto match (kebab-case, e.g.clocky-time-tracker).
As mentioned in our docs here ↗
Optional
- When renaming, consider setting each command
subtitletoClockyso bare titles like Today / Week / Status stay discoverable under the brand in root search.
When the blocking items are done, press Ready for review. I've converted the PR to a draft until then 😊
Feel free to reach me here or on Slack if anything is unclear.
|
Superseded by #31845 — renamed to Clocky - Time Tracker ( |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder