UI Overhaul, Language Flow Fix & Project Cleanup for KrishiMitra #49
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.
This pull request brings a major UI enhancement to the KrishiMitra project along with general codebase improvements.
🌾 Key Highlights:
1. Complete UI Overhaul:
• Introduced a new welcome screen with language and region selection to personalize user experience.
• Designed a cleaner, modern interface by removing the sidebar and aligning content centrally.
• Ensured smoother navigation flow using st.session_state to manage transitions between screens.
• Refactored layout and text elements for improved readability and user engagement.
2. Improved Language Logic:
• Fixed language-based content rendering for better localization.
• Structured LANGUAGE_DATA for easier future expansion.
3. Project Cleanup:
• Removed a duplicate comment in the Loan/Subsidy section of app.py.
• Added a .gitignore file to exclude development artifacts like:
• .venv/, pycache/, .streamlit/, *.pyc, logs, and local data files.
✅ These changes significantly improve the user experience, simplify code maintenance, and ensure a cleaner development workflow.
