Skip to content

Conversation

@clarasb
Copy link
Collaborator

@clarasb clarasb commented Jan 28, 2025

This PR closes #101.

This PR:

  • adds the prop multiple to the Select Component

@clarasb clarasb requested review from b-yogesh and forman January 28, 2025 10:30
@codecov
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.39%. Comparing base (fe89934) to head (f60370e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
+ Coverage   89.36%   89.39%   +0.03%     
==========================================
  Files          84       84              
  Lines        1438     1443       +5     
  Branches      213      217       +4     
==========================================
+ Hits         1285     1290       +5     
  Misses        124      124              
  Partials       29       29              
Flag Coverage Δ
backend 100.00% <100.00%> (ø)
frontend 77.06% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@forman forman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

  • Please add an entry to CHANGES.md.
  • Always form Python code using "black" (or "ruff") and for TS use "prettier"

@clarasb clarasb requested a review from forman February 24, 2025 14:27
Copy link
Member

@forman forman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • do not format entire CHANGES.md files only because you added a new item
  • avoid updating package-lock.json when package.json hasn't changed

EDIT

In addition:

  • the formatting of TypeScript files uses a wrong style, use prettier
  • Select.tsx coverage dropped by ~5%, please add a test case that covers the multiple property

Copy link
Collaborator

@b-yogesh b-yogesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks good. Please have a look at my comments and change requests. Thanks :)

ext.add(my_panel_2)
ext.add(my_panel_3)
ext.add(my_panel_4)
ext.add(my_panel_5)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer if we limit the number of demo's here, as there is already some backlog with a few more demos. It would be good, if we can add your demo to Panel C as it already has a Select element, and you can now show that we can use multiple elements by updating the text accordingly (which is also very similar to your demo).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer, if no longer continue that way. In another pull request we should rearrange the demo app entirely.

clarasb and others added 2 commits March 3, 2025 09:34
Co-authored-by: b-yogesh <yogesh09121995@gmail.com>
@clarasb clarasb requested review from b-yogesh and forman March 3, 2025 13:31
clarasb added 4 commits March 3, 2025 16:05
…multiple

# Conflicts:
#	chartlets.js/CHANGES.md
#	chartlets.py/CHANGES.md
#	chartlets.py/demo/my_extension/__init__.py
#	chartlets.py/demo/my_extension/my_panel_5.py
@b-yogesh b-yogesh merged commit e18dc5c into main Mar 10, 2025
7 checks passed
@clarasb clarasb deleted the clarasb-101_select_component_add_multiple branch October 28, 2025 08:26
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.

Select Compoment: add option to select multiple elements

4 participants