diff --git a/extensions/ios-resolution/CHANGELOG.md b/extensions/ios-resolution/CHANGELOG.md index 8eca234e05b2..eecfc02f992b 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..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, 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..6e1337f9dff6 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..3a483b2d67bb 100644 --- a/extensions/ios-resolution/src/data/devices.json +++ b/extensions/ios-resolution/src/data/devices.json @@ -1734,5 +1734,397 @@ "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" + }, + { + "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" } ] 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;