Skip to content
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

feat: SubNavHeader searchPlaceholder prop #1202

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ChristopheCVB
Copy link

What does it do?

Add a searchPlaceholder prop to SubNavHeader component

Why is it needed?

resolves #1201

Related issue(s)/PR(s)

#1201

@vercel
Copy link

vercel bot commented Jul 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 0:48am
design-system-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 0:48am

Copy link
Contributor

@gu-stav gu-stav left a comment

Choose a reason for hiding this comment

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

Thank you for this contribution! Would you be able to add a test for this case? 🙏🏼

@ChristopheCVB
Copy link
Author

ChristopheCVB commented Jul 13, 2023

Unfortunately, when I run yarn setup on the root project, I get some errors, here's one:

lerna notice cli v7.1.1


    ×  @strapi/ui-primitives:build
       vite v4.4.3 building for production...
src/components/Collection/Collection.tsx(24,10): error TS4060: Return type of exported function has or is using private name 'CollectionProviderProps'.

✓ 0 modules transformed.
✓ built in 1.72s
Entry module "src/index.ts" cannot be external.
error during build:
RollupError: Entry module "src/index.ts" cannot be external.
    at error (file:///C:/Users/chris/Documents/Personal/design-system/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
    at ModuleLoader.loadEntryModule (file:///C:/Users/chris/Documents/Personal/design-system/node_modules/rollup/dist/es/shared/node-entry.js:24677:20)
    at async Promise.all (index 0)


    ×  @strapi/icons:build

Also, I'm not a React developer, never dealt with tests in that environment :/
Do you have some tips?


I've seen #997 to be able to run setup, but every single e2e test fails :/ I'm clueless at this point

@gu-stav
Copy link
Contributor

gu-stav commented Jul 14, 2023

@ChristopheCVB Sorry to hear. I see you are running windows? Are you using WSL or something else? I think we have some known problems here and if you prefer I can add tests for you, because fixing the setup might take a bit.

@ChristopheCVB
Copy link
Author

Yeah, windows, no wsl, using power shell 7.
If you can add them for me, I'll be extremely grateful

@gu-stav gu-stav self-assigned this Aug 9, 2023
@joshuaellis joshuaellis added pr: enhancement This PR adds or updates some part of the codebase or features source: design-system relates to design-system package labels Oct 9, 2023
@joshuaellis joshuaellis self-requested a review April 18, 2024 12:39
@joshuaellis joshuaellis changed the base branch from main to develop April 18, 2024 12:43
Copy link

changeset-bot bot commented Apr 18, 2024

⚠️ No Changeset found

Latest commit: c20f933

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community pr: enhancement This PR adds or updates some part of the codebase or features source: design-system relates to design-system package
Projects
Status: To be reviewed (Open)
Development

Successfully merging this pull request may close these issues.

[feat]: SubNavHeader search's placeholder can't be customized
4 participants