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(SearchBar): fetch and open note once clicked on a suggestion #774

Merged
merged 2 commits into from
Aug 22, 2022

Conversation

trollepierre
Copy link
Contributor

@trollepierre trollepierre commented Aug 18, 2022

See PR description of #773

@trollepierre trollepierre marked this pull request as ready for review August 18, 2022 08:52
@trollepierre trollepierre marked this pull request as draft August 18, 2022 09:29
@trollepierre trollepierre changed the title fix(search): open url of the selected suggestion feat(SearchBar): fetch and open note once clicked on a suggestion Aug 18, 2022
@trollepierre trollepierre marked this pull request as ready for review August 18, 2022 12:24
{barSearch || (searchBarEnabled ? <SearchBar /> : null)}
{barSearch ||
(searchBarEnabled ? (
<SearchBar client={this.props.cozyClient} />
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the gain to pass client as props? Why not using withClient as the rest of our codebase?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@trollepierre trollepierre force-pushed the search-bar-redirect-note branch 2 times, most recently from 19fd238 to 26c634a Compare August 22, 2022 09:20
@cozy-bot
Copy link

🎉 This PR is included in version 8.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants