-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Move contactsmenu to vue #22274
Move contactsmenu to vue #22274
Conversation
4f10fe4
to
2d5fca4
Compare
2d5fca4
to
a7ce86b
Compare
I moved the styles to vue components, but also left them in styles.scss, since it seems required by the jquery version of contactsmenu, not sure what to do with that one |
a7ce86b
to
e9d6ac8
Compare
e9d6ac8
to
0519568
Compare
|
||
onInput: debounce(function(query) { | ||
// load contacts on input | ||
this.loadContacts() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to comply to the min search length
$minSearchStringLength = $this->config->getSystemValueInt('sharing.minSearchStringLength', 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed this in a previous commit; though is it intended that with minSearchStringLength>0 the contacts menu will be empty initially? That's how the backend did it, so I copied the behavior to frontend
If you use the contacts vcf url and add |
0519568
to
4f68cb1
Compare
Contacts already returned an avatar image, it just didn't work on the backend - fixed it |
apps/accessibility/css/dark.scss
Outdated
@@ -19,7 +19,7 @@ $color-border-dark: lighten($color-main-background, 14%); | |||
|
|||
#app-navigation > ul > li > a:first-child, | |||
#app-navigation > ul > li > ul > li > a:first-child, | |||
#contactsmenu-menu a, | |||
.contacts-menu__contacts-list a, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do it directly in the ContactsMenu.
Use body.theme--dark
to narrow the selector :)
b6185d2
to
00d779a
Compare
Any news @dk1a ? :) |
Signed-off-by: Kirill Dmitriev <dk1a@protonmail.com>
00d779a
to
0a1a987
Compare
I'd added min search length, moved dark style; |
Jsunit is legit. |
Do we really want min search length? UX wise it’s always a bit of a hassle, and the current Contacts menu doesn’t have any minimum either. |
we have it everywhere. Unified search, sharing, contactsmenu... etc |
Hey! Any news on this? :) |
We're in beta now. I'd say let's get this in in a few weeks when 21 was branched off. @dk1a could you please rebase and rebuild your branch to resolve the conflicts? Thanks ✌️ |
Let's close this for now. We can reopen it at any time again, but this one here just didn't got any update recently. |
@MorrisJobke May I suggest to just get rid of the contacts menu now that we have unified search? |
|
Fix #12905
Fix #17483
Signed-off-by: Kirill Dmitriev dk1a@protonmail.com