Android and iOS - #20
Merged
Merged
Conversation
…EADME and CONTRIBUTING
… and tesler-core integration
… roadmap, fix broken README icon path
…laCam clips - Added ClipCard component to render individual clips with thumbnail and delete functionality. - Introduced ClipDetail component to show detailed view of selected clips, including video playback. - Integrated Storage Access Framework (SAF) for accessing TeslaCam USB drive on Android. - Updated App component to manage clip selection and folder picking. - Enhanced user experience with loading states and error handling. - Added ClipList component to list available clips and handle permissions. - Updated app.json to include expo-video plugin. - Updated package.json to add necessary dependencies for video playback and async storage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts the repository into a pnpm workspace monorepo with three packages, so the Tesla Sentry/Saved clip viewer can be shared across a desktop app and a new mobile app.
tesler-coretesler-desktop/src/types:Areas,Event,TeslaEventJSON,Part,Videos, plus theformatReasonhelper (moved out ofClip.tsx).dist/index.mjs+.d.mts).README.md(usage/API) andCONTRIBUTING.md(contribution rules, publish steps), ready to publish to npm astesler-core.tesler-desktoppackages/tesler-desktopwith no logic changes — same Electron main/preload, same components, same build config (vite.config.ts,electron-builder.json,tsconfig.jsonall untouched aside from their new location).tesler-core(workspace:*) instead of its localsrc/types/*.pnpm dev,pnpm build,pnpm package,pnpm previewat the repo root still work — they now delegate to the package viapnpm --filter tesler-desktop.scripts/update-docs.mjs(thepnpm versionlifecycle hook) updated to readtesler-desktop/package.jsonand keep its version in sync with the workspace root version.tesler-app(new)create-expo-app(TypeScript template).#e31937) and MD3 dark theme.Event/formatReasonfromtesler-coreto render a mock clip list (no native file-system/USB reader yet — that's future work, mirroringtesler-desktop'swindow.sentinel).metro.config.jsconfigured for the pnpm workspace (watchFolders + symlink resolution) so it correctly resolves thetesler-coreworkspace dependency.Root workspace
pnpm-workspace.yaml: addedpackages: - 'packages/*'.package.jsonis now a thin orchestrator (tesler-workspace) withdev/build/package/preview/core:build/app:start/app:ios/app:androidscripts delegating viapnpm --filter.AGENTS.mdupdated to document the new monorepo structure and conventions.Validation
pnpm build(tesler-desktop): tsc + Vite build ✅pnpm --filter tesler-core build: tsdown build ✅tsc --noEmitintesler-app✅npx expo export --platform ios: Metro successfully bundlestesler-app(773 modules), confirming the workspace-linkedtesler-corepackage resolves correctly through pnpm symlinks ✅Not included in this PR
tesler-coreto npm (structure is ready; publish is a manual follow-up).