You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Netlify check is failing because "flutter build apk" is being used in deployment, but Flutter doesn’t seem to be available in the Netlify environment. My changes are related only to chatbot error handling and not deployment configuration.
Hi @andoriyaprashant , my PR has the gssoc26 and difficulty labels but it is still not showing in my contributions after ~15 hours. Could you please check if the required labels (gssoc:approved etc.) are correctly added and synced for the leaderboard?
Hi @andoriyaprashant , my PR has the gssoc26 and difficulty labels but it is still not showing in my contributions after ~15 hours. Could you please check if the required labels (gssoc:approved etc.) are correctly added and synced for the leaderboard?
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
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.
🐛 424 - ChatBot Bug Fix + API Key Security Improvement
Describe Problem / Root Cause
1. Chatbot Issue
Identified issues:
null➡️ This caused a broken chat experience where only user messages appeared and bot responses were missing.
2. Security Issue
Solution Proposed
ChatBot Fix
try-catchto handle runtime errors safely_messagesusingsetStateSecurity Fix (dotenv implementation)
flutter_dotenvdependency.envfile for secure API storagemain.dartto load environment variables:Security Improvement (IMPORTANT)
.envfile to.gitignoreto prevent sensitive data from being pushed to GitHub.envAdditional Improvements
🧪 Testing Done
.envconfiguration working properly.envfile is ignored from Git trackingScreenshots
Before Fix (Bug)
User message appears
Bot response missing or blank
Add here:
After Fix (Working + Secure)
Bot responds correctly
Messages display properly
API key removed from source code
.envworking successfullyAdd here:
Notes
.envfile is added to.gitignoreto ensure security