Skip to content

Commit

Permalink
Add timecamp extension (raycast#10253)
Browse files Browse the repository at this point in the history
* Add timecamp extension

- Delete owner
- Update Readme and Icon
- Refactor: Fixed some type errors
- STYLE: Add correct logo and name
- Merge pull request #11 from iAmKevinCruz/feature/use-preferences-for-token
- FEAT: Use Prefernces to save token
- STYLE: List focus on the active timer if it exists
- FEAT: It\'s working!
- WIP
- first commit

* Update timecamp extension

- removed console.log
- update with prettier
- FIX: Type warnings

* Update package.json

* Update timecamp extension

- Merge branch \'contributions/merge-1706430613521565000\'
- Pull contributions
- REFACTOR: Linting
- REFEACTOR: Add missing types and removed unused type delcarations
- REFACTOR: All fxs use useFetch and useCacheState properly
- REFACTOR: Command() => useFetch

* FEAT: Entry creation takes to note edit and closes on note edit completion

* FEAT: Add second command to List and Form

* FIX: Note for new task when timer is running

* Update timecamp extension

- FEAT: Recent Entries to choose from
- REFACTOR: Move components into components folder and types

* FIX: Typo in api response

* Update CHANGELOG.md

* Update README.md

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: Per Nielsen Tikær <per@raycast.com>
Co-authored-by: raycastbot <bot@raycast.com>
  • Loading branch information
3 people authored Jan 31, 2024
1 parent c8d75d2 commit ec3d254
Show file tree
Hide file tree
Showing 17 changed files with 2,933 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/timecamp/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
14 changes: 14 additions & 0 deletions extensions/timecamp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
Session.vim
4 changes: 4 additions & 0 deletions extensions/timecamp/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/timecamp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TimeCamp v1 Changelog

## [Initial Version] - 2024-01-15
10 changes: 10 additions & 0 deletions extensions/timecamp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TimeCamp

## What You'll Need
You will need to get your Timecamp API token. You can find this token at [here](https://app.timecamp.com/app#/settings/users/me), usually under the subheading `Your programming API token:`.

## Commands
### Start/Stop Tasks
This command finds all the tasks that have no more children and lists them. You can press `ENTER` to start a task. You'll see this task with it's timer under a new `Active Tasks` section at the top of the list. If you start another task while one is active, it will end the active task and start the new one.

When hovering the active task, you can hit `CMD + S` to end the task or `ENTER` to edit the task note. When editing the task note, hitting `CMD + ENTER` will save the note and bring you back to the task list.
Binary file added extensions/timecamp/assets/timecamp-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/timecamp/metadata/timecamp-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/timecamp/metadata/timecamp-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/timecamp/metadata/timecamp-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ec3d254

Please sign in to comment.