Repository navigation
Add bangumi extension - #28641
Add bangumi extension#28641
Conversation
|
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. |
Greptile SummaryThis PR introduces a new Bangumi extension for Raycast, a full-featured client for the Chinese ACGN platform bgm.tv. It supports OAuth login, collection management, episode progress tracking, daily anime calendar, subject/character search, and AI tool integrations.
Confidence Score: 4/5Safe to merge after fixing the three missing getImageUrl calls and the CHANGELOG date placeholder. Three list/grid views (collection list, subject search, character search) pass raw API image URLs directly to Raycast icon props without the HTTP→HTTPS upgrade that the rest of the codebase applies via getImageUrl. The Bangumi CDN serves HTTP URLs, so these thumbnails will render as broken images in all three screens. The CHANGELOG date is also hardcoded instead of using the required template variable. Both issues are straightforward to fix. extensions/bangumi/src/components/lists/CollectionSubjectList.tsx, extensions/bangumi/src/search-subjects.tsx, extensions/bangumi/src/search-characters.tsx (missing getImageUrl), and extensions/bangumi/CHANGELOG.md (hardcoded date). Important Files Changed
Reviews (23): Last reviewed commit: "Update CHANGELOG.md and optimise images" | Re-trigger Greptile |
|
@greptile What overall rules do you have? |
|
Here are the custom rules I follow when reviewing PRs in this repository:
|
|
@greptile Reply with the following format: |
|
What: Don't manually define Why: Manual definitions can become out of sync with your actual Good: import { getPreferenceValues } from "@raycast/api";
const preferences = getPreferenceValues<Preferences>();Bad: interface Preferences {
apiKey: string;
theme: "light" | "dark";
}
const preferences = getPreferenceValues<Preferences>(); |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
…ck to existing data during optimistic updates
…matting in update-episodes tool
…s error on last page
…ript instead of blockquote
…s for better modularity
- Reorganize components into `lists/` and `details/` subdirectories - Rename MyCollection to CollectionSubjectList - Rename ProgressViewer to ProgressGrid - Move getCollectionTag to src/shared/utils.ts - Restore translatedText to useAITranslate hook return values - Create barrel exports (index.ts) for components/lists, components/details, and api - Refactor project-wide imports to use path aliases (@/api, @/components/lists, etc.)
|
You mentioned: |
|
That makes sense — the optional chaining in |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Dependency limit exceeded — report not shown. This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report. Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard. Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Remove unused .gitignore entries and obsolete documentation files - Update package.json scripts, dependencies, and add esbuild override - Add translation and display helpers (translateBangumiLabel, translateInfoboxKey, getSubjectDisplay, getRelationColor) in utils - Refactor components to use new utils for titles, subtitles, infobox keys, and relation colors - Simplify AI translation hook to default to English and drop preference handling - Clean up generated OpenAPI types by deduplicating shared schemas and using shared response types
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
* Add bangumi extension * Update extensions/bangumi/src/tools/get-calendar.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * chore: update changelog * fix(ProgressViewer): add null checks for currentCollection and fallback to existing data during optimistic updates * sync changes * refactor: centralize episode collection and type naming configurations in constants * chore: update extension categories * feat: add translation state to AITranslateAction to prevent redundant requests * refactor: use EpisodeCollectionTypeName mapping for status string formatting in update-episodes tool * feat: add day filter dropdown to daily calendar grid * fix(search): prevent parallel double-fetch from throwing out-of-bounds error on last page * chore: update changelog * docs: update image * docs: update description * refactor(EpisodeDetail): update original title display to use superscript instead of blockquote * docs: fix * refactor(ai-translation): remove unnecessary target language fallback * chore: update deps * refactor: improve BangumiApiError message formatting * refactor: extract AI translation logic and centralize type definitions for better modularity * refactor: reorganize components and extract barrel exports - Reorganize components into `lists/` and `details/` subdirectories - Rename MyCollection to CollectionSubjectList - Rename ProgressViewer to ProgressGrid - Move getCollectionTag to src/shared/utils.ts - Restore translatedText to useAITranslate hook return values - Create barrel exports (index.ts) for components/lists, components/details, and api - Refactor project-wide imports to use path aliases (@/api, @/components/lists, etc.) * refactor: decouple character and subject list data fetching to individual components * docs: update strict schema usage guidelines * refactor(ai-translation): optimize AITranslate caching strategy * Sync changes to fork (#3) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Sync changes to fork * Sync changes to fork (raycast#5) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * refactor(bangumi): consolidate display utilities and clean up repo - Remove unused .gitignore entries and obsolete documentation files - Update package.json scripts, dependencies, and add esbuild override - Add translation and display helpers (translateBangumiLabel, translateInfoboxKey, getSubjectDisplay, getRelationColor) in utils - Refactor components to use new utils for titles, subtitles, infobox keys, and relation colors - Simplify AI translation hook to default to English and drop preference handling - Clean up generated OpenAPI types by deduplicating shared schemas and using shared response types * Update CHANGELOG.md and optimise images --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Dhruv Suthar <[email protected]> Co-authored-by: raycastbot <[email protected]>
Description
Bangumi(https://bgm.tv/) is a Chinese ACGN sharing and community platform. This extension is built as a Raycast client, allowing you to browse and manage your anime, books, and games collections, as well as track your progress, directly within Raycast.
Features
Screencast
Details
@bangumi— “What new anime episodes are there today?”Responded using the
get-calendartoolChecklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool