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(NcAppNavigation): Provide consistent in-app search #5831

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jul 18, 2024

☑️ Resolves

NcAppNaviation now provides an optional in-app search when show-search is set. This allows apps which have in app filtering / search to use a consistent layout.

🖼️ Screenshots

vokoscreenNG-2024-07-18_17-02-03.webm

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews feature: app-navigation Related to the app-navigation component labels Jul 18, 2024
@susnux susnux added this to the 8.15.0 milestone Jul 18, 2024
@susnux
Copy link
Contributor Author

susnux commented Jul 18, 2024

/backport to next

@susnux susnux force-pushed the feat/app-navigation-search branch 2 times, most recently from dccdc53 to aa44c07 Compare July 18, 2024 15:49
@susnux susnux force-pushed the feat/app-navigation-search branch 2 times, most recently from fd420ff to b24b457 Compare July 19, 2024 14:42
@susnux susnux requested a review from ShGKme July 19, 2024 14:43
@ShGKme

This comment was marked as resolved.

@susnux susnux force-pushed the feat/app-navigation-search branch from b24b457 to 296a074 Compare July 22, 2024 12:08
@susnux

This comment was marked as resolved.

@susnux susnux force-pushed the feat/app-navigation-search branch from 59fc155 to fae0202 Compare July 22, 2024 12:54
`NcAppNaviation` now provides an optional in-app search when `show-search` is set.
This allows apps which have in app filtering / search to use a consistent layout.

There is also an actions slot to provide some inline actions like filters.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the feat/app-navigation-search branch from b28f617 to f582bae Compare July 22, 2024 13:03
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the feat/app-navigation-search branch from f582bae to eacab9a Compare July 22, 2024 13:04
@susnux susnux requested a review from ShGKme July 22, 2024 13:04
Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Thanks! 💙

@susnux susnux merged commit 7afe655 into master Jul 22, 2024
19 checks passed
@susnux susnux deleted the feat/app-navigation-search branch July 22, 2024 15:07
}

&__body {
overflow-y: scroll;
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the idea behind this? It causes scrolling in Mail:
image

Copy link
Contributor

Choose a reason for hiding this comment

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

replace <template #default> with <template #search>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

replace <template #default> with <template #search>

Only if for the search component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What's the idea behind this? It causes scrolling in Mail:

To have the app navigation scroll but not the search, see this:
#5831 (comment)

But I see, we should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: app-navigation Related to the app-navigation component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants