Skip to content

rapid recording, schema 1.0, db migration system#418

Merged
CalJosKos merged 611 commits into
mainfrom
dev
Nov 4, 2025
Merged

rapid recording, schema 1.0, db migration system#418
CalJosKos merged 611 commits into
mainfrom
dev

Conversation

@CalJosKos
Copy link
Copy Markdown
Collaborator

No description provided.

ryderwishart and others added 30 commits October 24, 2025 11:57
- Introduced APP_SCHEMA_VERSION constant for schema version tracking in constants.ts.
- Updated drizzleSchema.ts to import APP_SCHEMA_VERSION from constants.ts.
- Modified opMetadata.ts to log schema version and utilize the new constant.
- Enhanced metadata initialization in drizzleSchemaColumns.ts to use a default function for _metadata field.
- Introduced migration_0_0_to_1_0 to handle existing data without schema_version.
- Updated migration logic to initialize versioning for legacy records.
- Enhanced migration utilities to support schema changes and data transformations.
- Adjusted migration checks to ensure proper handling of unversioned data in the database.
- Bumped APP_SCHEMA_VERSION to '1.1' in constants.ts.
- Added a new notes field to the asset table schema in drizzleSchemaColumns.ts.
- Created a migration template from version 1.0 to 1.1, demonstrating the process of adding a new column and initializing data.
- Enhanced migration utilities to support schema modifications and added documentation for best practices.
- Updated MigrationScreen to reflect error display changes for better user feedback.
- Introduced AppUpgradeScreen component to display upgrade requirements when the app version is incompatible with the server.
- Updated AuthContext to manage app upgrade state and errors.
- Implemented schema version checking in the system initialization process to enforce app upgrades when necessary.
- Added localization strings for upgrade messages and instructions.
- Created schemaVersionService to handle schema version comparisons and throw AppUpgradeNeededError when mismatches are detected.
…tionality

- Updated UpdateBanner to display error messages when update downloads fail.
- Added functionality to dismiss the update banner and track dismissal state.
- Introduced localization strings for new error messages and retry options.
- Refactored useExpoUpdates hook to manage update visibility based on dismissal state.
- Introduced OTAUpdateDebugControls component to facilitate testing of OTA update UI.
- Added functionality to toggle error simulation, switch update versions, reset dismissal state, and view current update status.
- Integrated local store for managing dismissed update state and timestamps.
- Updated AppView to include debug controls (commented out by default for development use only).
- Created a mock implementation of useExpoUpdates for simulating update behavior during testing.
…eadability and functionality

- Cleaned up formatting in OTAUpdateDebugControls for better code readability.
- Enhanced error handling in useExpoUpdates and useExpoUpdatesMock to ensure consistent behavior.
- Updated UpdateBanner to improve the display of loading indicators and error messages.
- Adjusted logic for determining current update version to prioritize clarity and maintainability.
… performance

- Adjusted import formatting for better readability.
- Removed unnecessary dependency from useEffect hook to optimize performance. (was causing some render loop issues)
- Introduced new localization strings for VAD display modes (fullscreen and footer).
- Updated local store to manage VAD display mode settings.
- Created FullScreenVADOverlay component for enhanced user experience during voice activity detection.
- Modified RecordingControls and RecordingViewSimplified components to support display mode preferences.
- Enhanced VADSettingsDrawer to allow users to select their preferred display mode.
Changed v0_to_v1 function (active/visible casting, coalescing change (fixed int/bool error)
add logging
In apply_table_mutation, replaced foreach ... in array(select...)
Add vote.translation_id field
made asset.order_index nullable
…tion-issues

Corrected various bugs in rpc and schema logic
ryderwishart and others added 21 commits November 3, 2025 16:45
- Updated the UpdateBanner component to include a top margin for better visual separation.
…ployment workflows

- Updated the deploy-to-preview.yml and deploy-to-production.yml files to include an 'environment' parameter for both preview and production jobs, ensuring clarity in the deployment process.
- Deleted the 'entitlements' section related to Wi-Fi info from the app.config.ts file, streamlining the configuration.
fix: ios all glory to our Lord Jesus Christ and God our Father (thanks Ryder)
feat: add fingerprint config all glory to God our Father and our Lord Jesus Christ
- Changed the method of obtaining the current update version to use the first 8 characters of the group UUID from the manifest, improving version identification accuracy.
refactor: update version identifier logic in useExpoUpdates hook
- Replaced manual version extraction from updateId with a helper function that retrieves the version from the manifest's group UUID, enhancing code clarity and maintainability.
refactor: streamline version extraction logic in AppDrawer component
- Added 'environment: preview' to the deploy-to-preview.yml workflow for Android and iOS build checks.
- Added 'environment: production' to the deploy-to-production.yml workflow for Android and iOS build checks and submissions.
…preview

chore: update deployment workflows to include environment specifications
Copy link
Copy Markdown
Contributor

@ryderwishart ryderwishart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

feat: Empty commit all glory to Jesus Christ and God our Father
@CalJosKos CalJosKos closed this Nov 4, 2025
@CalJosKos CalJosKos reopened this Nov 4, 2025
@supabase
Copy link
Copy Markdown

supabase Bot commented Nov 4, 2025

Updates to Preview Branch (dev) ↗︎

Deployments Status Updated
Database Tue, 04 Nov 2025 03:45:07 UTC
Services Tue, 04 Nov 2025 03:45:07 UTC
APIs Tue, 04 Nov 2025 03:45:07 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations ⚠️ Tue, 04 Nov 2025 03:45:07 UTC
Migrations Tue, 04 Nov 2025 03:45:07 UTC
Seeding Tue, 04 Nov 2025 03:45:07 UTC
Edge Functions Tue, 04 Nov 2025 03:45:16 UTC

⚠️ Warning — You can configure a persistent branch with config.toml:
[remotes.staging]
project_id = "yjgdgsycxmlvaiuynlbv"


View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

- Changed check-name format to use double quotes for consistency.
- Added git-branch parameter set to "dev" for improved environment specification.
- Enhanced error handling by outputting container logs for debugging in case of validation failure.
…ate-pr

chore: update validate-sync-rules-pr workflow configuration
@CalJosKos CalJosKos merged commit 8a6e3fe into main Nov 4, 2025
17 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants