Repository navigation
Add nocal extension - #26482
Add nocal extension#26482
Conversation
- Implement initial version of nocal Raycast extension with features for searching notes, creating notes, managing RSVPs, and viewing upcoming meetings. Includes a new changelog, updated package.json for version 1.0.0, and various UI components for user interaction. Replaces SVG icon with PNG and adds preference management for API and authentication URLs. - Initial Raycast extension scaffold
|
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 10-15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile SummaryThis PR adds a new nocal extension providing four commands — Search Notes, Create Note, Pending RSVPs, and Upcoming Meetings — backed by a clean OAuth PKCE flow and a typed API client. The overall code quality is solid, but there are several housekeeping items to resolve before merging. Issues found:
Confidence Score: 2/5
Important Files Changed
Prompt To Fix All With AIThis is a comment left during a code review.
Path: extensions/nocal-raycast-extension/.prettierrc
Line: 1-5
Comment:
**Non-standard Raycast Prettier configuration**
All Raycast extensions must use `"printWidth": 120` and `"singleQuote": false`. The current config uses `"singleQuote": true` and omits `printWidth`, which diverges from the required standard.
```suggestion
{
"printWidth": 120,
"singleQuote": false
}
```
**Rule Used:** What: All extensions must use the standard Raycast... ([source](https://app.greptile.com/review/custom-context?memory=7be27780-7fcb-4602-9122-17c47fdd52ee))
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/CHANGELOG.md
Line: 3
Comment:
**Changelog must use `{PR_MERGE_DATE}` placeholder**
The entry uses a hardcoded date (`2026-03-19`) instead of the required `{PR_MERGE_DATE}` template variable. The header should also follow the `[Initial Release]` bracket format. The merge date is automatically populated by Raycast's CI when the PR is merged.
```suggestion
## [Initial Release] - {PR_MERGE_DATE}
```
**Rule Used:** What: Changelog entries must use `{PR_MERGE_DATE}`... ([source](https://app.greptile.com/review/custom-context?memory=c2214c11-df56-490a-b1c0-09a385df481a))
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/src/preferences.ts
Line: 3-9
Comment:
**Avoid manually defining preference types**
Raycast auto-generates preference types in `raycast-env.d.ts` when the extension runs. Manually defining `ExtensionPreferences` (and using it as the type parameter for `getPreferenceValues`) can become out of sync with the actual `package.json` preferences schema.
Use the auto-generated `Preferences` type instead:
```typescript
import { getPreferenceValues } from "@raycast/api";
export function getPreferences() {
const preferences = getPreferenceValues<Preferences>();
return {
apiBaseUrl: preferences.apiBaseUrl.replace(/\/+$/, ""),
authBaseUrl: preferences.authBaseUrl.replace(/\/+$/, ""),
};
}
```
**Rule Used:** What: Don't manually define `Preferences` for `get... ([source](https://app.greptile.com/review/custom-context?memory=d93fc9fb-a45d-4479-a6a4-b1b4af98ebc8))
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/eslint.config.js
Line: 1-14
Comment:
**ESLint config should use `@raycast/eslint-config` with `defineConfig` from `eslint/config`**
The current config bypasses `@raycast/eslint-config` entirely and uses raw `@eslint/js` + `typescript-eslint`. The standard pattern for Raycast extensions in ESLint v9 is to import `defineConfig` from `"eslint/config"` and spread `@raycast/eslint-config`:
```javascript
import { defineConfig } from "eslint/config";
import raycast from "@raycast/eslint-config";
export default defineConfig([...raycast]);
```
This also means `@raycast/eslint-config` should be added as a dev dependency.
**Rule Used:** What: Enforce importing `defineConfig` from `"esli... ([source](https://app.greptile.com/review/custom-context?memory=645a7150-4078-490e-a70c-d6aad94e0cf5))
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/src/create-note.tsx
Line: 21-35
Comment:
**Missing error handling in `onSubmit`**
If `createNote` (or any subsequent awaited call) throws — e.g., due to a network failure or API error — no error feedback is shown to the user. The other commands (`needs-rsvp.tsx`, `upcoming-meetings.tsx`) all handle errors explicitly. Consider wrapping the body in a `try/catch` to show a failure toast:
```typescript
onSubmit={async (values: CreateNoteFormValues) => {
try {
const note = await createNote({
title: values.title.trim(),
content: values.content,
});
if (values.openAfterCreate) {
await openNocalDeepLink(`note?id=${note.id}`);
}
await popToRoot();
await showApiSuccess("Note Created", note.title || "Untitled");
} catch (error) {
await showToast({
style: Toast.Style.Failure,
title: "Could not create note",
message: getErrorMessage(error),
});
}
}}
```
How can I resolve this? If you propose a fix, please make it concise.Last reviewed commit: "Add nocal-raycast-ex..." |
| @@ -0,0 +1,10 @@ | |||
| # nocal Changelog | |||
|
|
|||
| ## 1.0.0 - 2026-03-19 | |||
There was a problem hiding this comment.
Changelog must use
{PR_MERGE_DATE} placeholder
The entry uses a hardcoded date (2026-03-19) instead of the required {PR_MERGE_DATE} template variable. The header should also follow the [Initial Release] bracket format. The merge date is automatically populated by Raycast's CI when the PR is merged.
| ## 1.0.0 - 2026-03-19 | |
| ## [Initial Release] - {PR_MERGE_DATE} |
Rule Used: What: Changelog entries must use {PR_MERGE_DATE}... (source)
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/CHANGELOG.md
Line: 3
Comment:
**Changelog must use `{PR_MERGE_DATE}` placeholder**
The entry uses a hardcoded date (`2026-03-19`) instead of the required `{PR_MERGE_DATE}` template variable. The header should also follow the `[Initial Release]` bracket format. The merge date is automatically populated by Raycast's CI when the PR is merged.
```suggestion
## [Initial Release] - {PR_MERGE_DATE}
```
**Rule Used:** What: Changelog entries must use `{PR_MERGE_DATE}`... ([source](https://app.greptile.com/review/custom-context?memory=c2214c11-df56-490a-b1c0-09a385df481a))
How can I resolve this? If you propose a fix, please make it concise.| type ExtensionPreferences = { | ||
| apiBaseUrl: string | ||
| authBaseUrl: string | ||
| } | ||
|
|
||
| export function getPreferences() { | ||
| const preferences = getPreferenceValues<ExtensionPreferences>() |
There was a problem hiding this comment.
Avoid manually defining preference types
Raycast auto-generates preference types in raycast-env.d.ts when the extension runs. Manually defining ExtensionPreferences (and using it as the type parameter for getPreferenceValues) can become out of sync with the actual package.json preferences schema.
Use the auto-generated Preferences type instead:
import { getPreferenceValues } from "@raycast/api";
export function getPreferences() {
const preferences = getPreferenceValues<Preferences>();
return {
apiBaseUrl: preferences.apiBaseUrl.replace(/\/+$/, ""),
authBaseUrl: preferences.authBaseUrl.replace(/\/+$/, ""),
};
}Rule Used: What: Don't manually define Preferences for `get... (source)
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/nocal-raycast-extension/src/preferences.ts
Line: 3-9
Comment:
**Avoid manually defining preference types**
Raycast auto-generates preference types in `raycast-env.d.ts` when the extension runs. Manually defining `ExtensionPreferences` (and using it as the type parameter for `getPreferenceValues`) can become out of sync with the actual `package.json` preferences schema.
Use the auto-generated `Preferences` type instead:
```typescript
import { getPreferenceValues } from "@raycast/api";
export function getPreferences() {
const preferences = getPreferenceValues<Preferences>();
return {
apiBaseUrl: preferences.apiBaseUrl.replace(/\/+$/, ""),
authBaseUrl: preferences.authBaseUrl.replace(/\/+$/, ""),
};
}
```
**Rule Used:** What: Don't manually define `Preferences` for `get... ([source](https://app.greptile.com/review/custom-context?memory=d93fc9fb-a45d-4479-a6a4-b1b4af98ebc8))
How can I resolve this? If you propose a fix, please make it concise.- Update ESLint configuration to CommonJS format and upgrade @raycast/eslint-config to version 2.1.1 in package.json and package-lock.json. This change enhances compatibility with the current Node.js environment. - Refactor nocal Raycast extension configuration and code structure. Updated .prettierrc for formatting, modified ESLint configuration to use @raycast/eslint-config, and adjusted package.json and package-lock.json for versioning and dependencies. Enhanced API and component files for improved readability and consistency.
…finitions in the project.
|
Hey all, just hoping to bump this for review if possible. We have some eager users! |
- Added Raycast-specific ignores to .gitignore for better management. - Updated package.json to improve title casing and added new scripts for linting and publishing. - Refined date formatting in components for consistency and clarity. - Improved search functionality with request cancellation to prevent outdated results. - Standardized action titles to "Open in Nocal" for better user experience.
- Refactored item removal logic to use a single variable for removed items. - Improved readability by eliminating redundant code. - Ensured consistent state updates for RSVP handling.
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@brianmuse). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |
- refactor: 简化 Action.CopyToClipboard 组件调用 (url-parse.tsx) - chore: 移除 delink 扩展中的图标配置项 - chore: 删除图标文件并更新配置引用新图标 - Merge branch \'raycast:main\' into main - Update CODEOWNERs (768930b) - Add nocal extension (raycast#26482) - Update CODEOWNERs (7c0e492) - Add caaals extension (raycast#26443)
- feat[extensions/qq-mail]: 添加QQ邮箱扩展及配置文件 - Merge branch \'raycast:main\' into main - Update CODEOWNERs (9944a1b) - [XKCD Comics] Add viewing history (raycast#26704) - refactor: 增加useCallback并更新tsconfig配置 - Update CODEOWNERs (9b7c8a4) - Add Kafka UI extension (raycast#26259) - Merge branch \'raycast:main\' into main - refactor: 简化 Action.CopyToClipboard 组件调用 (url-parse.tsx) - chore: 移除 delink 扩展中的图标配置项 - chore: 删除图标文件并更新配置引用新图标 - Update CODEOWNERs (756e9da) - Update ascii-art-wallpaper extension (raycast#26707) - Update CODEOWNERs (23ee8a8) - Add paper-agent extension (raycast#26367) - Merge branch \'raycast:main\' into main - chore: 更新 delink 扩展变更日志并移除旧版本记录 - Update CODEOWNERs (768930b) - Add nocal extension (raycast#26482) - Update CODEOWNERs (7c0e492) - Add caaals extension (raycast#26443) - Merge branch \'raycast:main\' into main - docs: 更新 delink 扩展文档及快捷键说明 - Update CODEOWNERs (41a12f0) - Update mirror-displays extension (raycast#26445) - chore: 更新 delink 扩展的版本信息为初始发布版 - docs: 调整 delink 扩展快捷键说明顺序 - Merge branch \'raycast:main\' into main - feat:up - Update CODEOWNERs (2134dff) - Update hetzner extension (raycast#26705) - Update CODEOWNERs (840e5a9) - Add ram-prices extension (raycast#26564) - Update CODEOWNERs (45fad15) - Add habitica-todos extension (raycast#26446) - Update CODEOWNERs (3e686e1) - Add Bundles extension (raycast#25680) - Update CODEOWNERs (f6261fd) - Update tmux-cheatsheet extension (raycast#26379) - Changelog Alignment (raycast#26824) - Update prism-launcher extension (raycast#26816) - Merge branch \'raycast:main\' into main - feat: add metadata folder and language setting - Update picgo extension (raycast#26818) - Update CODEOWNERs (bd7023d) - Add clockodo extension (raycast#26432) - feat: add raycast extension delink - Update CODEOWNERs (868aef4)
Description
nocal is a notes, tasks, and calendar app for Windows and MacOS. This extension adds some popular nocal shortcuts right into raycast:
See more about nocal at https://nocal.app
Screencast
submission-demo.mp4
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder