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
[Vue] migrate siteselector directive and quick-access directive #18292
Conversation
…ty method (all untested)
…se v-model, add event parameters to createAngularAdapter, allow translate to use variadic args or one string array + rebuild
…s in between nodes while vue 3 does not
…ndling to just reset back to the previous date since it was easier in vue to do that)
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.
That works for me perfectly, maybe still need to do resolve conflicts, also just a tiny suggestion maybe on key up autocomplete event maybe we need a debounce.
} else if (isEscKey && areSearchResultsDisplayed) { | ||
this.deactivateSearch(); | ||
} else { | ||
setTimeout(() => { |
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.
There wasn't one before but we can add one.
} else if (isEscKey && areSearchResultsDisplayed) { | ||
this.deactivateSearch(); | ||
} else { | ||
setTimeout(() => { |
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.
There wasn't one before but we can add one.
@diosmosis also I got an question for function naming. export { default as Menudropdown } from './Menudropdown/Menudropdown.vue'; |
Yes, that would probably be better 👍 |
converted to draft so it won't get merged until after the 4.6.0 release |
PRs merged to 4.x-dev won't be released in 4.6.0 |
@justinvelluppillai ok, removing draft status |
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.
looks good to me.
@diosmosis I'm currently doing some local testing of the changes. Will leave some more comments when I find something else.
|
It's sanitized so dangerous HTML is removed. The other html I guess isn't being escaped properly. |
Can you check again? this is working for me:
Looks like there's a bug in the original code. Should be fixed in the vue PR now.
Fixed.
Fixed.
Found the issue, will fix in PR to next_release. |
@diosmosis hm. funny. It works when searching for |
@sgiehl should be fixed. Looks like the issue only occurred when searching for html entity letters (eg, searching for |
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.
works now 👍
Description:
This PR is based off of #18225.
This PR has a breaking change to createAngularAdapter() so other Vue PRs in progress may need to be modified (unless they are merged before this, then I'll fix the conflicts here).
Changes:
require:
field to the angularjs directive that is created.noclear
for siteselector)showAjaxLoading = false
parameter so MatomoUrl.updateUrl() will stay simple. Doesn't seem to have much of an effect IMO so I think it's ok.Review