Repository navigation
Add ram-prices extension - #26564
Add ram-prices extension#26564
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 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 Two issues to address before merging:
Confidence Score: 4/5
Important Files Changed
Prompt To Fix All With AIThis is a comment left during a code review.
Path: extensions/ram-prices/package.json
Line: 1-12
Comment:
**Missing `categories` field**
The `package.json` has no `categories` field, which is required for Raycast store publication. Since this extension tracks RAM market pricing (DDR4/DDR5 average prices), the most appropriate category is `"Finance"`.
```suggestion
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "ram-prices",
"title": "RAM Prices",
"description": "Track DDR4 and DDR5 market pricing from RamRadar.",
"icon": "extension-icon.png",
"author": "alexi.build",
"categories": ["Finance"],
"platforms": [
"macOS",
"Windows"
],
```
**Rule Used:** What: Assign at least one predefined category to e... ([source](https://app.greptile.com/review/custom-context?memory=f49debbf-b6f6-4c0d-9b35-e1927815992b))
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/ram-prices/src/market-trends-menu-bar.tsx
Line: 9-11
Comment:
**Unformatted price in menu bar title**
The menu bar title uses the raw floating-point number (`$${entry.latest.avgPricePerGb}`) rather than the `formatUsdPerGb` helper used everywhere else. This will display unrounded values (e.g. `DDR5 $5.123456789`) instead of the consistently formatted `$5.12/GB`. Consider using `formatUsdPerGb` (or at minimum `formatUsd`) for consistency:
```suggestion
const title =
series.length > 0
? series.map((entry) => `${entry.generation} ${formatUsdPerGb(entry.latest.avgPricePerGb)}`).join(" · ")
: "RAM Trends";
```
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "init" | Re-trigger Greptile |
- Added note about `Market Trends Menu Bar` command being macOS only. - Updated pricing format in the menu bar to use a consistent currency formatting function. - Removed redundant category from package.json for better classification.
|
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. |
- chore: 更新 delink 扩展的版本信息为初始发布版 - docs: 调整 delink 扩展快捷键说明顺序 - Merge branch \'raycast:main\' into main - 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)
- 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
Track DDR4 and DDR5 market pricing from RamRadar in Raycast.
Calling this one ram-prices because I anticipate that the API for the data may change in the future.
Commands
Show Market Trendsshows DDR4 and DDR5 pricing in a searchable list.Market Trends Menu Barshows the latest prices in the Raycast menu bar.Show Market Trends
The main command includes:
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder