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

Check for community installation #2692

Merged
merged 4 commits into from
Dec 12, 2024
Merged

Check for community installation #2692

merged 4 commits into from
Dec 12, 2024

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Nov 21, 2024

Related #1953

Checklist

  • [/] I have added tests
  • [/] I have updated the docs and cheatsheet
  • [/] I have not broken the cheatsheet

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner November 21, 2024 11:23
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good with minor comment

if errors:
errors.insert(0, "https://github.com/talonhub/community")
message = "\n".join(errors)
app.notify("Cursorless missing community repository", body=message)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want the errors to be in the app notification; I'd put them in a print so they go in the log. Most people will just be missing community so they won't care which captures they're missing

Also, is it possible to make it so that if they click the notification it goes to community

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the message now.
I don't think there is any click events on the app notification.

@AndreasArvidsson AndreasArvidsson added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit b65ac4e Dec 12, 2024
15 checks passed
@AndreasArvidsson AndreasArvidsson deleted the checkForCommunity branch December 12, 2024 19:37
cursorless-bot pushed a commit that referenced this pull request Dec 12, 2024
Related ##1953

## Checklist

- [/] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [/] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: Pokey Rule <[email protected]>
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.

2 participants