Skip to content

[FEATURE] Implement collapsible() Component for UI Layout #682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sandeepsalwan1
Copy link

name: "Collapsible UI Component"
about: Add the new collapsible() component to Preswald’s UI layout
title: "Implement collapsible() Component"
labels: enhancement
assignees: sandeepsalwan1


Related Issue

Closes #519

Description of Changes

I’ve added a brand‑new collapsible() component to Preswald so you can group UI elements into sections that users can expand or collapse. This helps keep things tidy and makes your interface feel more organized.

Type of Change

  • Bug fix (non‑breaking change)
  • New feature (non‑breaking change)
  • Documentation update
  • Breaking change
  • New example
  • Test improvement

Testing

Verified in the iris example app:

  • Sections expand/collapse smoothly
  • Child components render correctly
  • Both open=true and open=false work as expected
  • Styles match our design standards

Checklist

  • Code follows project style guidelines
  • Self‑review completed
  • Comments added in tricky areas
  • Documentation updated
  • No new warnings introduced
  • Examples run without errors
  • Downstream modules updated as needed
Screenshot 2025-04-19 at 12 34 55 AM Screenshot 2025-04-19 at 12 35 14 AM Screenshot 2025-04-19 at 12 35 28 AM

@amrutha97 amrutha97 force-pushed the main branch 2 times, most recently from 6ac1dad to bdb2c4e Compare April 24, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Implement collapsible() Component for UI Layout
1 participant