Repository navigation
Fix Clockify extension when description is missing. - #686
Conversation
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi @sxn 👋
Do you have any feedback @ismamz?
Seems like some good updates, here are some comments:
-
When deleting you should use the new ConfirmAlert to ensure that the user REALLY want to delete (Bump raycast version in
package.jsonto:"@raycast/api": "^1.27.0") -
When grouped and deleting, it only deletes the newest one, shouldn’t it delete all in the group?
-
You could add yourself as
contributorby adding:
"contributors": [
"YOUR RAYCAST STORE USERNAME"
],
´´´
to the `package.json` file
Request a new review when you are ready, feel free to contact me here or at [Slack](https://raycastcommunity.slack.com/) if you have any questions.
|
Hi @ismamz - the As @pernielsentikaer rightly pointed out, though, the extension doesn't currently mirror the way Clockify on the web works: Screen.Recording.2022-01-16.at.20.42.26.movI think it makes sense to implement both of @pernielsentikaer's suggestions; additionally I think it would be a useful addition to render grouped entries differently, same as on the website, and allow "expanding" grouped entries. Do you think this is something that you would like to include in the extension? I don't mind implementing them if so. 😺 |
|
Awaiting @ismamz's feedback, I think it's an awesome update when the suggestions is implemented 😏 |
There was a problem hiding this comment.
@sxn Here the page-size parameter I think is something we need to improve. It affects loading performance but it also depends on the amount of time entries you have and use.
There was a problem hiding this comment.
yeah, I was thinking about that too. We currently don't support pagination/infinite scrolling though, so we would need to fetch a fixed amount of entries (maybe we can make that a preference too?), and then perform subsequent API calls based on whatever the user searches.
WDYT?
There was a problem hiding this comment.
Yes, I think that could be a preference.
There was a problem hiding this comment.
Could it be a “how many days” instead? Looks like they have a start parameter. If using an input preference field, then the user can pick the number of days he wants – maybe it's just a silly idea, feel free to shoot me down for it 😄
There was a problem hiding this comment.
that's probably a better idea than just fetching a number of entries 🤔
|
@ismamz @pernielsentikaer since the scope of this PR is exploding, I would like to reduce its scope to just the bugfix, since IMO that's the most important change. Afterwards, we can split the following into follow-up PRs:
That way we could split the work among ourselves, or decide what order to work in etc. |
Description
I had some issues running the Clockify extension:
As far as I can tell, this issue has been addressed in this PR, but apparently
descriptioncan benullin some cases, meaningString.prototype.split()isn't available, resulting in a runtime error.@ismamz if it's fine with you, I'd like to also add the following two features. If you'd rather not include them, I can revert the features and just merge the bugfix.
Additionally, this PR adds two new features:
delete timeractionType of change
Screencast
New preference:
Entry grouping disabled:
Delete action:
Deleted successfully:
Delete failed (tried to delete non-existent entry):
Checklist