Skip to content

UI/UX and Data Clean #69

@RiyanshiTomar

Description

@RiyanshiTomar

🖼️ Current UI/UX Behavior

  1. Raw JSON Data Displayed to End Users

    • Currently, the app displays API or backend JSON data directly on the main page.
    • This makes the interface look technical and is confusing for non-technical users.
    • It also clutters the UI and exposes raw data unnecessarily.
  2. Cluttered Layout

    • All elements are shown in a single scroll without proper sections or navigation.
    • No clear separation between controls, data summaries, and visualizations.
  3. Poor Visual Hierarchy & Styling

    • No consistent font sizes, colors, or spacing between sections.
    • Lack of headings/subheadings makes it hard to follow content flow.
  4. Lack of User-Friendly Data Presentation

    • Instead of charts or summary cards, raw tables and JSON are shown.
    • No key highlights or quick metrics for users to understand trends.
  5. No Thematic Branding

    • The app uses default Streamlit colors and lacks a consistent color palette that matches the "KrishiDost" theme.
    • Feels generic instead of agriculture/crop-market themed.

✨ Suggested Improvement

  • Hide Raw JSON

    • Remove direct st.write(json_data) calls from UI.
    • If needed for debugging, place JSON in a developer-only section or behind a collapsible toggle.
  • Better Layout

    • Move all filters & inputs to a sidebar.
    • Use tabs for different views: Overview, Charts, Raw Data.
  • Improve Visual Hierarchy

    • Add clear headings, subheadings, and spacing between sections.
    • Use st.markdown() for styled section labels.
  • Replace Raw Data with Visuals

    • Use st.metric(), st.bar_chart(), st.line_chart() to make the interface more engaging.
    • Provide summary cards showing average, highest, lowest crop prices.
  • Custom Theme

    • Apply a green-and-earth-tone palette to reflect agriculture theme.
    • Adjust font sizes and padding for a more professional look.

📎 Screenshots / Visual Aids

Image

🙌 Contributor Checklist

  • I agree to follow this project's Code of Conduct
  • I am a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions