Remove voice entries - #256
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request removes the “voice entries” feature set, including its AI (RubyLLM/Gemini) integration, frontend recording UI, backend processing endpoint, and the associated user feature flag column.
Changes:
- Remove the RubyLLM dependency and initializer used for voice entry processing.
- Remove voice entry UI/Stimulus controller, backend controller/service, and the
voice_entriesroute. - Drop
users.voice_entries_enabledfrom the database via migration and schema update.
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Gemfile.lock | Removes ruby_llm and related HTTP/event-stream dependencies from the lockfile. |
| Gemfile | Removes the ruby_llm gem entry previously used for voice processing. |
| db/schema.rb | Updates schema version and removes the voice_entries_enabled column from users. |
| db/migrate/20260806002628_remove_voice_entries_enabled_from_users.rb | Adds migration to drop users.voice_entries_enabled. |
| config/routes.rb | Removes the voice_entries#create route. |
| config/initializers/ruby_llm.rb | Deletes RubyLLM configuration initializer for Gemini. |
| config/credentials.yml.enc | Updates encrypted credentials (presumably removing related secrets/config). |
| app/views/entries/new.html.haml | Removes conditional voice-entry UI and always renders the manual form. |
| app/views/entries/_voice_recorder.html.haml | Deletes the voice recorder partial. |
| app/views/entries/_form.html.haml | Removes data-voice-recorder-target attributes previously used to populate fields. |
| app/services/voice_entry_processor.rb | Deletes the service that called RubyLLM to extract structured entry data. |
| app/javascript/controllers/voice_recorder_controller.js | Deletes the Stimulus controller that recorded/uploaded audio and populated the form. |
| app/controllers/voice_entries_controller.rb | Deletes the controller handling voice entry uploads, access checks, and rate limiting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.