🎥 Make videos programmatically with React
`@remotion/studio`: Hide redundant missing skill status
Jonny Burger1288663939a3
diff --git a/packages/example/e2e/studio.test.mts b/packages/example/e2e/studio.test.mtsindex 3b00fcc430..3efe674915 100644--- a/packages/example/e2e/studio.test.mts+++ b/packages/example/e2e/studio.test.mts@@ -1728,6 +1728,10 @@ test.describe('visual mode', () => {name: 'Install',exact: true,});+ await expect(installButton).toBeVisible();+ await expect(+ captionsSkill.getByText('Not installed', {exact: true}),+ ).toHaveCount(0);await installButton.click();await expect(dialog.getByText('Could not download skills', {exact: true}),diff --git a/packages/studio/src/components/SkillsSettings.tsx b/packages/studio/src/components/SkillsSettings.tsxindex 9f3fef421c..2900462f20 100644--- a/packages/studio/src/components/SkillsSettings.tsx+++ b/packages/studio/src/components/SkillsSettings.tsx@@ -206,7 +206,7 @@ export const SkillsSettings: React.FC = () => {? 'Project': skill.installedGlobally? 'Global'- : 'Not installed';+ : null;return (<div@@ -219,7 +219,9 @@ export const SkillsSettings: React.FC = () => {}><span style={skillName}>/{skill.name}</span>- <span style={status}>{installedLocation}</span>+ {installedLocation ? (+ <span style={status}>{installedLocation}</span>+ ) : null}{installed ? (<CheckCircleFilledaria-hidden