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

Include WebPartTitle for SearchBox WebPart #3414

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

kachihro
Copy link
Contributor

To ensure consistency for the SearchResults, Filter and Verticals - I've included a TITLE for the WebPart for SearchBox.

This is especially useful on a HOME PAGE - when needing to 'send query to new page'.

@kachihro
Copy link
Contributor Author

Have configured PGP to ensure the code commit is verified

@kachihro
Copy link
Contributor Author

This is the end result - with the ability to have a webpart title - rather than a separate TEXT block (and big space/gap)

image

Copy link

sonarcloud bot commented Dec 18, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@kachihro
Copy link
Contributor Author

** How do I sign/verify the 'prior' commits ??

@wobba wobba changed the base branch from main to develop January 11, 2024 15:14
let renderTitle: JSX.Element = null;

// WebPart title
renderTitle = <WebPartTitle
Copy link
Collaborator

Choose a reason for hiding this comment

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

If a property is not filled out, will this render with no pixels taken?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct. I've checked the output/html - and no title has zero impact to the rendered content. No additional pixels.

image

@wobba wobba merged commit 42e83ff into microsoft-search:develop Feb 5, 2024
1 check passed
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.

None yet

2 participants