Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
refactor: use kebab-case for new editor modules
Richie McIlroy443d83483c37
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsxindex fc8fedd9b..19fdf51d9 100644--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx@@ -135,7 +135,7 @@ import {} from "./context";import { FontPicker } from "./FontPicker";import { GradientEditor } from "./GradientEditor";-import { ImageSegmentConfig } from "./ImageSegmentConfig";+import { ImageSegmentConfig } from "./image-segment-config";import { KeyboardTab } from "./KeyboardTab";import {encodeMaskEffect,@@ -155,7 +155,7 @@ import {DEFAULT_SPLIT_LAYOUT,} from "./projectConfig";import ShadowSettings from "./ShadowSettings";-import { StyleGroupToggle, StyleSegmentConfig } from "./StyleSegmentConfig";+import { StyleGroupToggle, StyleSegmentConfig } from "./style-segment-config";import { TextInput } from "./TextInput";import {TEXT_FONT_SIZE_MAX,diff --git a/apps/desktop/src/routes/editor/FrameButton.tsx b/apps/desktop/src/routes/editor/FrameButton.tsxindex acf0ab2d5..ceb3d7afc 100644--- a/apps/desktop/src/routes/editor/FrameButton.tsx+++ b/apps/desktop/src/routes/editor/FrameButton.tsx@@ -12,7 +12,7 @@ import IconLucideBan from "~icons/lucide/ban";import IconLucideGlobe from "~icons/lucide/globe";import IconLucideLaptop from "~icons/lucide/laptop";import { EditorStyleContext, useEditorContext } from "./context";-import { StyleGroupToggle } from "./StyleSegmentConfig";+import { StyleGroupToggle } from "./style-segment-config";import { EditorButton, Input } from "./ui";const DEFAULT_FRAME_CONFIG: FrameConfiguration = {diff --git a/apps/desktop/src/routes/editor/Player.tsx b/apps/desktop/src/routes/editor/Player.tsxindex c857c97d3..9dcb2486f 100644--- a/apps/desktop/src/routes/editor/Player.tsx+++ b/apps/desktop/src/routes/editor/Player.tsx@@ -19,7 +19,7 @@ import { CaptionsRegenerateBadge } from "./CaptionsRegenerateBadge";import { createCaptionTrackSegments } from "./captions";import { type EditorPreviewQuality, FPS, useEditorContext } from "./context";import { FrameButton } from "./FrameButton";-import { ImageOverlay } from "./ImageOverlay";+import { ImageOverlay } from "./image-overlay";import { MaskOverlay } from "./MaskOverlay";import { PerformanceOverlay } from "./PerformanceOverlay";import { SplitScreenOverlay } from "./SplitScreenOverlay";diff --git a/apps/desktop/src/routes/editor/Timeline/ImageTrack.tsx b/apps/desktop/src/routes/editor/Timeline/image-track.tsxsimilarity index 60%rename from apps/desktop/src/routes/editor/Timeline/ImageTrack.tsxrename to apps/desktop/src/routes/editor/Timeline/image-track.tsxindex a5d7b931b..42d69374a 100644--- a/apps/desktop/src/routes/editor/Timeline/ImageTrack.tsx+++ b/apps/desktop/src/routes/editor/Timeline/image-track.tsx@@ -1,4 +1,4 @@-import { OverlayTrack, type OverlayTrackProps } from "./StyleTrack";+import { OverlayTrack, type OverlayTrackProps } from "./style-track";export function ImageTrack(props: OverlayTrackProps) {return <OverlayTrack {...props} type="image" />;diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsxindex bb3558737..431746859 100644--- a/apps/desktop/src/routes/editor/Timeline/index.tsx+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx@@ -24,8 +24,8 @@ import { produce } from "solid-js/store";import toast from "solid-toast";import IconLucidePalette from "~icons/lucide/palette";import { stylesRevealCamera } from "../style";-import { ImageTrack } from "./ImageTrack";-import { type OverlayDragState, StyleTrack } from "./StyleTrack";+import { ImageTrack } from "./image-track";+import { type OverlayDragState, StyleTrack } from "./style-track";import "./styles.css";diff --git a/apps/desktop/src/routes/editor/Timeline/StyleTrack.tsx b/apps/desktop/src/routes/editor/Timeline/style-track.tsxsimilarity index 100%rename from apps/desktop/src/routes/editor/Timeline/StyleTrack.tsxrename to apps/desktop/src/routes/editor/Timeline/style-track.tsxdiff --git a/apps/desktop/src/routes/editor/ImageOverlay.tsx b/apps/desktop/src/routes/editor/image-overlay.tsxsimilarity index 100%rename from apps/desktop/src/routes/editor/ImageOverlay.tsxrename to apps/desktop/src/routes/editor/image-overlay.tsxdiff --git a/apps/desktop/src/routes/editor/ImageSegmentConfig.tsx b/apps/desktop/src/routes/editor/image-segment-config.tsxsimilarity index 100%rename from apps/desktop/src/routes/editor/ImageSegmentConfig.tsxrename to apps/desktop/src/routes/editor/image-segment-config.tsxdiff --git a/apps/desktop/src/routes/editor/StyleSegmentConfig.tsx b/apps/desktop/src/routes/editor/style-segment-config.tsxsimilarity index 100%rename from apps/desktop/src/routes/editor/StyleSegmentConfig.tsxrename to apps/desktop/src/routes/editor/style-segment-config.tsx