Remove Tempo Labs and EmailJS dependencies to fix errors and simplify codebase #17
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.
Problem
The application was experiencing console errors and unnecessary complexity due to two unused services:
GET https://api.tempolabs.ai/proxy-asset net::ERR_ADDRESS_INVALIDerrors in the browser consoleSolution
This PR performs a comprehensive cleanup by removing all references to Tempo Labs and EmailJS from the codebase.
Changes Made
Tempo Labs Removal
index.htmlTempoDevtoolsimport and initialization fromsrc/main.tsxtempo-routesimport and conditional routing logic fromsrc/routes/index.tsxvite.config.tsby removing Tempo plugin imports, conditional Babel plugins, andallowedHostsconfigurationtempo-devtoolspackage fromdevDependenciesinpackage.jsonEmailJS Removal
@emailjs/browserimport fromsrc/components/chat/useChatState.tssetUserNamefunction by removing async email notification logic (removed try-catch block with emailjs.send).env.example@emailjs/browserpackage fromdependenciesinpackage.jsonImpact
Performance & Size:
Security:
Code Quality:
Testing
Expected Behavior After Merge
ERR_ADDRESS_INVALIDerrors in browser consoleFiles Modified
index.html- Removed Tempo script tagsrc/main.tsx- Removed Tempo initializationsrc/routes/index.tsx- Removed Tempo routessrc/components/chat/useChatState.ts- Removed EmailJS integrationvite.config.ts- Simplified configurationpackage.json- Removed both dependencies.env.example- Removed EmailJS variablespackage-lock.json- Auto-updated from npm installOriginal prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.