Skip to content

WEBDEV-8378 Migrate dropdown-style search bar from Offshoot#41

Merged
latonv merged 25 commits into
mainfrom
webdev8378-migrate-dropdown-search-bar
May 7, 2026
Merged

WEBDEV-8378 Migrate dropdown-style search bar from Offshoot#41
latonv merged 25 commits into
mainfrom
webdev8378-migrate-dropdown-search-bar

Conversation

@latonv

@latonv latonv commented May 1, 2026

Copy link
Copy Markdown
Member

We currently have a search bar component in Offshoot that incorporates a built-in dropdown menu with search categories. We'd like to use this in contexts outside of Offshoot too, so we are migrating it into Elements.

The component has a custom categories property defining what options to show in the dropdown, as well several further options like whether/how to show an Advanced Search link and whether to show its loading state. One may also omit the dropdown piece entirely to use it as a plain search bar if desired.

Notably, this component presently depends on two other packages @internetarchive/ia-dropdown and @internetarchive/ia-clearable-text-input which are slated to eventually be migrated here as well.

Comment thread src/elements/ia-dropdown-search-bar/ia-dropdown-search-bar-story.ts Fixed
@latonv latonv force-pushed the webdev8378-migrate-dropdown-search-bar branch from ba9c07c to 70df15a Compare May 1, 2026 01:06
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-07 18:43 UTC

@codecov-commenter

codecov-commenter commented May 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 78.56%. Comparing base (8ba7353) to head (4a0f090).

Files with missing lines Patch % Lines
...s/ia-dropdown-search-bar/ia-dropdown-search-bar.ts 96.96% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   77.55%   78.56%   +1.00%     
==========================================
  Files          15       16       +1     
  Lines         606      639      +33     
  Branches      156      165       +9     
==========================================
+ Hits          470      502      +32     
  Misses         95       95              
- Partials       41       42       +1     

☔ 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.

Comment thread src/elements/ia-dropdown-search-bar/ia-dropdown-search-bar-story.ts Outdated
@latonv latonv force-pushed the webdev8378-migrate-dropdown-search-bar branch from 665e2e6 to 89a496c Compare May 6, 2026 16:15
@latonv latonv force-pushed the webdev8378-migrate-dropdown-search-bar branch from 5a83a83 to 1dec141 Compare May 7, 2026 01:31
@latonv latonv force-pushed the webdev8378-migrate-dropdown-search-bar branch from 1dec141 to f65177b Compare May 7, 2026 02:16
@latonv latonv merged commit 5d1a95e into main May 7, 2026
3 checks passed
@latonv latonv deleted the webdev8378-migrate-dropdown-search-bar branch May 7, 2026 18:42
jbuckner added a commit that referenced this pull request May 28, 2026
* origin/main: (28 commits)
  WEBDEV-8518: Add CI caching and standardize workflow hygiene (#55)
  WEBDEV-8464 Make ia-dropdown-search-bar propagate selection changes immediately (#46)
  WEBDEV-8447 Upgrade ia-dropdown version to address z-index bug (#45)
  v0.2.5 (#44)
  WEBDEV-8378 Migrate dropdown-style search bar from Offshoot (#41)
  0.2.3 (#43)
  WEBDEV-8393 Add full OTP form (#42)
  WEBDEV-8327 Add basic OTP input (#40)
  Update instructions for adding component stories (#38)
  Demo page enhancements
  WEBDEV-8131 Encapsulate property settings (#36)
  WEBDEV-8167: Add demo and publishing sections to readme (#35)
  0.2.2
  WEBDEV-8162: Support Lit 2/3, Combobox fixes (#34)
  0.2.1
  WEBDEV-8151: Improve build compatibility (#32)
  v0.2.0 (#31)
  WEBDEV-8119 Add basic combo-box component (#24)
  Update npm-publish workflow
  Update npm-publish action
  ...

# Conflicts:
#	demo/app-root.ts
#	demo/story-template.ts
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.

3 participants