-
Notifications
You must be signed in to change notification settings - Fork 190
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
Menu directive is hidden when the route changes #1502
Comments
Update I tried to load the I have tried to put the content of the I've simplified everything to a simple HTML file that only contains the I'm trying to make all |
Update I've tried to create nested templates with Also, I tried to use |
Update I changed |
Update I set the |
Update I've tried to extend all the pug from a template that only has the Pug documentation: https://pugjs.org/language/inheritance.html |
Update I thought in change the routing system to ui-router which permits use nested states and views, but while working on this I realized that the change will be huge. Also, I've tried to use |
Update I've tried to use But the template is loaded: Now, I'm trying to fix this problem, I think that if I could load the respective templates and changing the behavior of the |
Update I've tried several ways to load the other controllers inside the main controller in order to the I created an index template and the main controller: TemplateAny method worked properly. Main controllerI tried to import in the controllers the HTML and PUG templates, from the HTML templates I receive the HTML code but when I used At the moment, no methods work properly. |
Update I loaded ui-router in the Now I load ui-router only in the But when accessing the App I receive the following error: |
Update The error found in the previous comment is provoked because ngRoute is not loaded and when trying to access to $route fails: Once is removed $route this error disappears but I get these others:
This error comes from: |
Update The error |
Update The
And when using devToolsTemplate variable in the If I use the path |
Update The logic which makes that the Now only is necessary to import a function and execute it:
|
Update 30.07.19 I merged with 3.10-7.2 and resolved the conflicts. Also, I adapted to the dark mode theme and test it in the following browsers:
|
Update 13/08/2019 All previous logic has been deleted. We have abandoned the solution approach using jQuery. What has been done now is to use Kibana's The solution we are going to adopt then is to take the This is done here: And that's what it looks like now: |
Update 14/08/2019 Today I've fixed some minor things:
|
|
Hi @jesusgn90 1, 2 and 3 have been solved here: 513162c 4 I have not been able to replicate it. I will continue to investigate and debugging it. |
Update The 4th point has been fixed calling the initialization of the |
Description
Menu directive is hidden when the route changes.
Steps to reproduce
Let's say you are in Wazuh > Overview, now click on Wazuh > Management, the menu directive is hidden until the new controller loads.
Screenshots
Proposal
The menu directive should be persistent regardless of the route.
The text was updated successfully, but these errors were encountered: