From 127878982e6ee31b0bf2a3bb0c181bb97f6a28b3 Mon Sep 17 00:00:00 2001 From: Kemar Christie Date: Fri, 30 Jan 2026 12:57:57 -0500 Subject: [PATCH 1/2] feat(ios-resolution): Added MacBook as Devices Type - Added MacBook family to device types - Included MacBook Air (M1-M4) and MacBook Pro (M1-M5) models - Added MacBook filter option with monitor icon - Updated extension description to include MacBook - Added kemar.christie to contributors list - Updated CHANGELOG with MacBook support entry --- extensions/ios-resolution/CHANGELOG.md | 5 + extensions/ios-resolution/README.md | 2 +- extensions/ios-resolution/package.json | 5 +- .../ios-resolution/src/data/devices.json | 252 ++++++++++++++++++ .../ios-resolution/src/list-all-devices.tsx | 4 +- extensions/ios-resolution/src/types.ts | 2 +- 6 files changed, 266 insertions(+), 4 deletions(-) diff --git a/extensions/ios-resolution/CHANGELOG.md b/extensions/ios-resolution/CHANGELOG.md index 8eca234e05b2..a70c02da6b9e 100644 --- a/extensions/ios-resolution/CHANGELOG.md +++ b/extensions/ios-resolution/CHANGELOG.md @@ -1,5 +1,10 @@ # iOS Resolution Changelog +[Addition of Device Type (MacBook)] - {PR_MERGE_DATE} +- Addition of New Device type (MacBook) +- Browse all MacBook models +- View MacBook specifications: logical/physical resolution, PPI, scale factor, screen diagonal, aspect ratio + ## [Initial Version] - 2026-01-23 - Browse all devices (iPhone, iPad, iPod touch, Apple Watch) diff --git a/extensions/ios-resolution/README.md b/extensions/ios-resolution/README.md index cbc135c7242d..b71392cf8781 100644 --- a/extensions/ios-resolution/README.md +++ b/extensions/ios-resolution/README.md @@ -1,3 +1,3 @@ # iOS Resolution -Display properties of every iPhone, iPad, iPod touch and Apple Watch Apple ever made +Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made. \ No newline at end of file diff --git a/extensions/ios-resolution/package.json b/extensions/ios-resolution/package.json index 6bcbde10fafa..b54f6493f004 100644 --- a/extensions/ios-resolution/package.json +++ b/extensions/ios-resolution/package.json @@ -2,9 +2,12 @@ "$schema": "https://www.raycast.com/schemas/extension.json", "name": "ios-resolution", "title": "iOS Resolution", - "description": "Display properties of every iPhone, iPad, iPod touch and Apple Watch Apple ever made", + "description": "Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made.", "icon": "extension-icon.png", "author": "ertem_biyik", + "contributors": [ + "kemar.christie" + ], "platforms": [ "macOS", "Windows" diff --git a/extensions/ios-resolution/src/data/devices.json b/extensions/ios-resolution/src/data/devices.json index af909de158e1..fc2a9c4765c4 100644 --- a/extensions/ios-resolution/src/data/devices.json +++ b/extensions/ios-resolution/src/data/devices.json @@ -1734,5 +1734,257 @@ "screenDiagonal": "3.5\"", "aspectRatio": "2:3", "releaseDate": "2007-06-29" + }, + { + "id": "macbook-air-13-m1", + "name": "MacBook Air 13\" (M1)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 2560, + "physicalHeight": 1600, + "ppi": 227, + "scaleFactor": 2, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2020-11-17" + }, + { + "id": "macbook-air-13-m2", + "name": "MacBook Air 13\" (M2)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 832, + "physicalWidth": 2560, + "physicalHeight": 1664, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "13.6\"", + "aspectRatio": "16:10", + "releaseDate": "2022-07-15" + }, + { + "id": "macbook-air-13-m3", + "name": "MacBook Air 13\" (M3)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 832, + "physicalWidth": 2560, + "physicalHeight": 1664, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "13.6\"", + "aspectRatio": "16:10", + "releaseDate": "2024-03-08" + }, + { + "id": "macbook-air-13-m4", + "name": "MacBook Air 13\" (M4)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 832, + "physicalWidth": 2560, + "physicalHeight": 1664, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "13.6\"", + "aspectRatio": "16:10", + "releaseDate": "2025-03-12" + }, + { + "id": "macbook-air-15-m2", + "name": "MacBook Air 15\" (M2)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 932, + "physicalWidth": 2880, + "physicalHeight": 1864, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "15.3\"", + "aspectRatio": "16:10", + "releaseDate": "2023-06-05" + }, + { + "id": "macbook-air-15-m3", + "name": "MacBook Air 15\" (M3)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 932, + "physicalWidth": 2880, + "physicalHeight": 1864, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "15.3\"", + "aspectRatio": "16:10", + "releaseDate": "2024-03-08" + }, + { + "id": "macbook-air-15-m4", + "name": "MacBook Air 15\" (M4)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 932, + "physicalWidth": 2880, + "physicalHeight": 1864, + "ppi": 224, + "scaleFactor": 2, + "screenDiagonal": "15.3\"", + "aspectRatio": "16:10", + "releaseDate": "2025-03-12" + }, + { + "id": "macbook-pro-13-m1", + "name": "MacBook Pro 13\" (M1)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 2560, + "physicalHeight": 1600, + "ppi": 227, + "scaleFactor": 2, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2020-11-17" + }, + { + "id": "macbook-pro-13-m2", + "name": "MacBook Pro 13\" (M2)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 2560, + "physicalHeight": 1600, + "ppi": 227, + "scaleFactor": 2, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2022-06-24" + }, + { + "id": "macbook-pro-14-m1", + "name": "MacBook Pro 14\" (M1 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1512, + "logicalHeight": 982, + "physicalWidth": 3024, + "physicalHeight": 1964, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "14.2\"", + "aspectRatio": "16:10", + "releaseDate": "2021-10-26" + }, + { + "id": "macbook-pro-14-m2", + "name": "MacBook Pro 14\" (M2 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1512, + "logicalHeight": 982, + "physicalWidth": 3024, + "physicalHeight": 1964, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "14.2\"", + "aspectRatio": "16:10", + "releaseDate": "2023-01-24" + }, + { + "id": "macbook-pro-14-m3", + "name": "MacBook Pro 14\" (M3/Pro/Max)", + "family": "MacBook", + "logicalWidth": 1512, + "logicalHeight": 982, + "physicalWidth": 3024, + "physicalHeight": 1964, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "14.2\"", + "aspectRatio": "16:10", + "releaseDate": "2023-11-07" + }, + { + "id": "macbook-pro-14-m4", + "name": "MacBook Pro 14\" (M4/Pro/Max)", + "family": "MacBook", + "logicalWidth": 1512, + "logicalHeight": 982, + "physicalWidth": 3024, + "physicalHeight": 1964, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "14.2\"", + "aspectRatio": "16:10", + "releaseDate": "2024-11-08" + }, + { + "id": "macbook-pro-14-m5", + "name": "MacBook Pro 14\" (M5)", + "family": "MacBook", + "logicalWidth": 1512, + "logicalHeight": 982, + "physicalWidth": 3024, + "physicalHeight": 1964, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "14.2\"", + "aspectRatio": "16:10", + "releaseDate": "2025-10-22" + }, + { + "id": "macbook-pro-16-m1", + "name": "MacBook Pro 16\" (M1 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1728, + "logicalHeight": 1117, + "physicalWidth": 3456, + "physicalHeight": 2234, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "16.2\"", + "aspectRatio": "16:10", + "releaseDate": "2021-10-26" + }, + { + "id": "macbook-pro-16-m2", + "name": "MacBook Pro 16\" (M2 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1728, + "logicalHeight": 1117, + "physicalWidth": 3456, + "physicalHeight": 2234, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "16.2\"", + "aspectRatio": "16:10", + "releaseDate": "2023-01-24" + }, + { + "id": "macbook-pro-16-m3", + "name": "MacBook Pro 16\" (M3 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1728, + "logicalHeight": 1117, + "physicalWidth": 3456, + "physicalHeight": 2234, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "16.2\"", + "aspectRatio": "16:10", + "releaseDate": "2023-11-07" + }, + { + "id": "macbook-pro-16-m4", + "name": "MacBook Pro 16\" (M4 Pro/Max)", + "family": "MacBook", + "logicalWidth": 1728, + "logicalHeight": 1117, + "physicalWidth": 3456, + "physicalHeight": 2234, + "ppi": 254, + "scaleFactor": 2, + "screenDiagonal": "16.2\"", + "aspectRatio": "16:10", + "releaseDate": "2024-11-08" } ] diff --git a/extensions/ios-resolution/src/list-all-devices.tsx b/extensions/ios-resolution/src/list-all-devices.tsx index e2ec99f1586c..53551e81c5fd 100644 --- a/extensions/ios-resolution/src/list-all-devices.tsx +++ b/extensions/ios-resolution/src/list-all-devices.tsx @@ -1,10 +1,11 @@ -import { ActionPanel, Action, Icon, List } from "@raycast/api"; +import { Action, ActionPanel, Icon, List } from "@raycast/api"; import { useMemo, useState } from "react"; import devices from "./data/devices.json"; import { Device } from "./types"; const FAMILY_ICONS: Record = { iPhone: Icon.Mobile, + MacBook: Icon.Monitor, iPad: Icon.Window, "iPod touch": Icon.Music, "Apple Watch": Icon.Clock, @@ -97,6 +98,7 @@ export default function Command() { + diff --git a/extensions/ios-resolution/src/types.ts b/extensions/ios-resolution/src/types.ts index 9f2c2c2f37b0..cdaa8387f955 100644 --- a/extensions/ios-resolution/src/types.ts +++ b/extensions/ios-resolution/src/types.ts @@ -1,7 +1,7 @@ export interface Device { id: string; name: string; - family: "iPhone" | "iPad" | "iPod touch" | "Apple Watch"; + family: "iPhone" | "MacBook" | "iPad" | "iPod touch" | "Apple Watch"; logicalWidth: number; logicalHeight: number; physicalWidth: number; From 1c53b06ce26efa771f966c58814f7c4b4a9159d6 Mon Sep 17 00:00:00 2001 From: Kemar Christie Date: Fri, 30 Jan 2026 13:54:39 -0500 Subject: [PATCH 2/2] refactor(ios-resolution): added legacy MacBook models and fixed formatting - Added 10 legacy MacBook models to devices data - Fixed CHANGELOG heading syntax - Removed trailing periods from descriptions --- extensions/ios-resolution/CHANGELOG.md | 2 +- extensions/ios-resolution/README.md | 2 +- extensions/ios-resolution/package.json | 2 +- .../ios-resolution/src/data/devices.json | 140 ++++++++++++++++++ 4 files changed, 143 insertions(+), 3 deletions(-) diff --git a/extensions/ios-resolution/CHANGELOG.md b/extensions/ios-resolution/CHANGELOG.md index a70c02da6b9e..eecfc02f992b 100644 --- a/extensions/ios-resolution/CHANGELOG.md +++ b/extensions/ios-resolution/CHANGELOG.md @@ -1,6 +1,6 @@ # iOS Resolution Changelog -[Addition of Device Type (MacBook)] - {PR_MERGE_DATE} +## [Addition of Device Type (MacBook)] - {PR_MERGE_DATE} - Addition of New Device type (MacBook) - Browse all MacBook models - View MacBook specifications: logical/physical resolution, PPI, scale factor, screen diagonal, aspect ratio diff --git a/extensions/ios-resolution/README.md b/extensions/ios-resolution/README.md index b71392cf8781..e033d17c314e 100644 --- a/extensions/ios-resolution/README.md +++ b/extensions/ios-resolution/README.md @@ -1,3 +1,3 @@ # iOS Resolution -Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made. \ No newline at end of file +Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made \ No newline at end of file diff --git a/extensions/ios-resolution/package.json b/extensions/ios-resolution/package.json index b54f6493f004..6e1337f9dff6 100644 --- a/extensions/ios-resolution/package.json +++ b/extensions/ios-resolution/package.json @@ -2,7 +2,7 @@ "$schema": "https://www.raycast.com/schemas/extension.json", "name": "ios-resolution", "title": "iOS Resolution", - "description": "Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made.", + "description": "Display properties of every iPhone, MacBook, iPad, iPod touch and Apple Watch Apple ever made", "icon": "extension-icon.png", "author": "ertem_biyik", "contributors": [ diff --git a/extensions/ios-resolution/src/data/devices.json b/extensions/ios-resolution/src/data/devices.json index fc2a9c4765c4..3a483b2d67bb 100644 --- a/extensions/ios-resolution/src/data/devices.json +++ b/extensions/ios-resolution/src/data/devices.json @@ -1986,5 +1986,145 @@ "screenDiagonal": "16.2\"", "aspectRatio": "16:10", "releaseDate": "2024-11-08" + }, + { + "id": "macbook-pro-aluminium", + "name": "MacBook Pro Aluminium (Intel Core Duo)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 900, + "physicalWidth": 1440, + "physicalHeight": 900, + "ppi": 110, + "scaleFactor": 1, + "screenDiagonal": "15.4\"", + "aspectRatio": "16:10", + "releaseDate": "2006-02-14" + }, + { + "id": "macbook-2006", + "name": "MacBook (Intel Core Duo)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 1280, + "physicalHeight": 800, + "ppi": 100, + "scaleFactor": 1, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2006-05-16" + }, + { + "id": "macbook-air-unibody", + "name": "MacBook Air Unibody (Intel Core 2 Duo)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 1280, + "physicalHeight": 800, + "ppi": 113, + "scaleFactor": 1, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2008-01-15" + }, + { + "id": "macbook-aluminum-unibody", + "name": "MacBook Aluminum Unibody (Intel Core 2 Duo)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 1280, + "physicalHeight": 800, + "ppi": 113, + "scaleFactor": 1, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2008-10-14" + }, + { + "id": "macbook-air-tapered-unibody", + "name": "MacBook Air Tapered Unibody (Intel Core 2 Duo)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 900, + "physicalWidth": 1440, + "physicalHeight": 900, + "ppi": 128, + "scaleFactor": 1, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2010-10-20" + }, + { + "id": "macbook-pro-retina", + "name": "MacBook Pro Retina (Intel Core i5/i7)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 900, + "physicalWidth": 2880, + "physicalHeight": 1800, + "ppi": 220, + "scaleFactor": 2, + "screenDiagonal": "15.4\"", + "aspectRatio": "16:10", + "releaseDate": "2012-06-11" + }, + { + "id": "macbook-retina-12", + "name": "MacBook Retina 12-inch (Intel Core M)", + "family": "MacBook", + "logicalWidth": 1280, + "logicalHeight": 800, + "physicalWidth": 2304, + "physicalHeight": 1440, + "ppi": 226, + "scaleFactor": 2, + "screenDiagonal": "12\"", + "aspectRatio": "16:10", + "releaseDate": "2015-04-10" + }, + { + "id": "macbook-pro-touch-bar", + "name": "MacBook Pro with Touch Bar (Intel Core i5/i7)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 900, + "physicalWidth": 2880, + "physicalHeight": 1800, + "ppi": 220, + "scaleFactor": 2, + "screenDiagonal": "15.4\"", + "aspectRatio": "16:10", + "releaseDate": "2016-10-27" + }, + { + "id": "macbook-air-retina-2018", + "name": "MacBook Air Retina (Intel Core i5)", + "family": "MacBook", + "logicalWidth": 1440, + "logicalHeight": 900, + "physicalWidth": 2560, + "physicalHeight": 1600, + "ppi": 227, + "scaleFactor": 2, + "screenDiagonal": "13.3\"", + "aspectRatio": "16:10", + "releaseDate": "2018-10-30" + }, + { + "id": "macbook-pro-16-2019", + "name": "MacBook Pro 16-inch (Intel Core i7/i9)", + "family": "MacBook", + "logicalWidth": 1536, + "logicalHeight": 960, + "physicalWidth": 3072, + "physicalHeight": 1920, + "ppi": 226, + "scaleFactor": 2, + "screenDiagonal": "16\"", + "aspectRatio": "16:10", + "releaseDate": "2019-11-13" } ]