Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions website/app/jetbrains/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type {Metadata} from 'next';
import Image from 'next/image';
import Link from 'next/link';
import {notFound} from 'next/navigation';
import {ArrowLeft,Download,ExternalLink,Github} from 'lucide-react';
Expand All @@ -16,9 +17,9 @@ export async function generateMetadata({params}:{params:Promise<{slug:string}>})
if(!p) return {};
return {
title:`${p.name} for JetBrains IDEs`,
description:`${p.summary} For ${JETBRAINS_IDES.slice(0,6).join(', ')} and every JetBrains IDE, version ${p.since} or newer. Free.`,
description:`${p.summary} ${p.ides?`For ${p.ides.join(' and ')}`:`For ${JETBRAINS_IDES.slice(0,6).join(', ')} and every JetBrains IDE`}, version ${p.since} or newer. Free.`,
alternates:{canonical:`/jetbrains/${p.slug}`},
openGraph:{url:`/jetbrains/${p.slug}`,title:`${p.name} for JetBrains IDEs`,description:p.tagline},
openGraph:{url:`/jetbrains/${p.slug}`,title:`${p.name} for ${p.ides?.[0]??'JetBrains IDEs'}`,description:p.tagline},
};
}

Expand All @@ -43,7 +44,7 @@ export default async function JetBrainsPluginPage({params}:{params:Promise<{slug
{/* eslint-disable-next-line @next/next/no-img-element -- the plugin's own SVG icon */}
<img src={p.icon} alt={`${p.name} icon`}/>
<div>
<span className="jb-kicker"><b/>For JetBrains IDEs · {p.since}+</span>
<span className="jb-kicker"><b/>For {p.ides?p.ides.join(' and '):'JetBrains IDEs'} · {p.since}+</span>
<h1>{p.name.replace(/ Veyra$/,'')} <span>Veyra</span></h1>
</div>
</div>
Expand All @@ -54,13 +55,27 @@ export default async function JetBrainsPluginPage({params}:{params:Promise<{slug
:<a className="jb-btn primary" href={p.file} download><Download/>Download the plugin (.zip, {p.size})</a>}
<a className="jb-btn ghost" href={p.source}><Github/>Source code</a>
</div>
<div className="jb-ides" aria-label="Works in">{JETBRAINS_IDES.map(ide=><span key={ide}>{ide}</span>)}</div>
<div className="jb-ides" aria-label="Works in">{(p.ides??JETBRAINS_IDES).map(ide=><span key={ide}>{ide}</span>)}</div>
</div>
</section>

{p.shot&&<section className="jb-section">
<div className="jb-wrap jb-shot">
<figure>
<Image src={p.shot.src} width={p.shot.width} height={p.shot.height} alt={p.shot.alt} sizes="(max-width: 700px) 70vw, 320px"/>
</figure>
<div>
<small>SEE IT</small>
<h2>A real device, one click.</h2>
<p>{p.shot.caption}</p>
<p className="jb-dim">Every setting goes back with Reset, so your phone is never left in a strange state.</p>
</div>
</div>
</section>}

<section className="jb-section">
<div className="jb-wrap">
<header className="jb-head"><div><small>FEATURES</small><h2>What it does.</h2></div><p>Version {p.version} · Free · MIT · Windows, macOS and Linux</p></header>
<header className="jb-head"><div><small>FEATURES</small><h2>What it does.</h2></div><p>Version {p.version} · Free · MIT · Windows, macOS and Linux{p.ides?' · Android 8 and newer, emulators and real phones':''}</p></header>
<div className="jb-features">{p.features.map(f=><article key={f.title}><h3>{f.title}</h3><p>{f.copy}</p></article>)}</div>
</div>
</section>
Expand Down
10 changes: 10 additions & 0 deletions website/app/jetbrains/jetbrains.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,13 @@
@media (max-width:900px){.jb-steps,.jb-features{grid-template-columns:1fr 1fr}.jb-plugin-hero{grid-template-columns:1fr}}
@media (max-width:560px){.jb-hero{padding:104px 0 50px}.jb-steps,.jb-features{grid-template-columns:1fr}.jb-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.jb-fields i{animation:none}.jb-card,.jb-btn{transition:none}}

/* A real screenshot next to its story (Device Lab) */
.jb-shot{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:56px;align-items:center}
.jb-shot figure{margin:0;padding:10px;border-radius:34px;background:linear-gradient(160deg,#2b2b36,#0b0b0f);border:1px solid var(--jb-line);box-shadow:0 30px 80px #0009}
.jb-shot img{display:block;width:100%;height:auto;border-radius:26px}
.jb-shot small{color:var(--jb-dim);font:600 12px/1 var(--font-mono,monospace);letter-spacing:.14em}
.jb-shot h2{margin:12px 0 0;font-size:clamp(30px,4vw,48px);letter-spacing:-.03em}
.jb-shot p{margin:18px 0 0;max-width:520px;color:#d6d6e0;font-size:17px;line-height:1.65}
.jb-shot p.jb-dim{color:var(--jb-dim);font-size:15px}
@media (max-width:760px){.jb-shot{grid-template-columns:1fr;gap:28px}.jb-shot figure{max-width:280px;margin:0 auto}}
29 changes: 29 additions & 0 deletions website/lib/jetbrains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export type JetBrainsPlugin = {
features: { title: string; copy: string }[];
/** Where to find it in the IDE. */
where: string[];
/** The IDEs it is made for, when not every JetBrains IDE. */
ides?: string[];
/** A real screenshot of what it does. */
shot?: { src: string; width: number; height: number; alt: string; caption: string };
};

export const JETBRAINS_IDES = ['IntelliJ IDEA', 'WebStorm', 'PyCharm', 'GoLand', 'PhpStorm', 'Rider', 'CLion', 'RubyMine', 'RustRover', 'DataGrip', 'Android Studio'];
Expand Down Expand Up @@ -52,6 +56,31 @@ export const JETBRAINS_PLUGINS: JetBrainsPlugin[] = [
],
where: ['View → Tool Windows → Ports', 'Tools → Show Ports in Use', 'Tools → Free a Port…', 'The “N ports” counter in the status bar'],
},
{
slug: 'device-lab',
name: 'Device Lab Veyra',
tagline: 'Test your Android app the way your users really use it.',
summary: 'A control panel for your phone or emulator in Android Studio: dark theme, the largest font, Arabic and right-to-left, slow animations, airplane mode, permissions and deep links, each in one click.',
version: '1.0.0',
file: '/downloads/jetbrains/device-lab-veyra-1.0.0.zip',
size: '97 KB',
icon: '/device-lab-jetbrains.svg',
since: '2024.3',
marketplace: null,
source: 'https://github.com/fcopensource/jetbrains-plugins/tree/main/device-lab-veyra',
released: '2026-11-15',
features: [
{ title: 'Worst case, in one click', copy: 'The largest font, the largest display size, right-to-left and dark theme at once: the hardest screen your layout will ever meet. Reset puts the phone back exactly as it was.' },
{ title: 'Every look your users have', copy: 'Light, dark or auto theme, font size up to 200 %, display size from Small to Largest. Find cut-off text and hard-coded colours in seconds.' },
{ title: 'Any language, right-to-left', copy: 'Switch only your app to Arabic, Hebrew, German, Thai, Japanese and more (Android 13+), or Android’s pseudolocales to spot text you forgot to translate.' },
{ title: 'Permissions with a checkbox', copy: 'Grant or revoke each runtime permission your app asks for, to test every “permission denied” path without reinstalling.' },
{ title: 'Your deep links, ready to open', copy: 'Reads the links in your AndroidManifest.xml and Navigation graphs. Open one and see which screen opened, cold or warm, and how fast.' },
{ title: 'Debug switches and screenshots', copy: 'Animations off to 10× slower, layout bounds, show taps, airplane mode, and a clean 12:00 status bar for store screenshots, saved straight into the editor.' },
],
where: ['View → Tool Windows → Device Lab (right side)', 'Tools → Open Device Lab', 'Tools → Device Lab: Set adb Path… (only if your Android SDK is somewhere unusual)'],
ides: ['Android Studio', 'IntelliJ IDEA'],
shot: { src: '/device-lab-worst-case.png', width: 1080, height: 2400, alt: 'An Android emulator showing Settings in Arabic, right-to-left, dark theme, with the largest font and layout bounds', caption: 'One click on Worst case, then Layout bounds and a clean status bar: Settings on an Android 16 emulator in Arabic, right-to-left, dark, at 200 % font.' },
},
];

export const jetbrainsPlugin = (slug: string) => JETBRAINS_PLUGINS.find(p => p.slug === slug);
15 changes: 15 additions & 0 deletions website/public/device-lab-jetbrains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/public/device-lab-worst-case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading