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

[bug]: Views are opened in visualization during editing #366

Open
1 task done
manuxi opened this issue Feb 14, 2024 · 6 comments
Open
1 task done

[bug]: Views are opened in visualization during editing #366

manuxi opened this issue Feb 14, 2024 · 6 comments
Labels
bug 🐞 Something isn't working

Comments

@manuxi
Copy link

manuxi commented Feb 14, 2024

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

If I edit any view, it is suddenly displayed in the browser (on the various devices such as PC, tablet).

I outsource a lot of things so as not to pack too much into a single view and not to create duplicate content (e.g. navigation). These views are then integrated via "View in Widget".
When such a view is then displayed on my prod tablet, it is very... unattractive. Unfortunately it happens all the time.

To Reproduce

Open a browser session to the view, open the editor in another tab and edit any view there. Back to the view, refresh, then suddenly the last edited view is open.

Expected behavior

The visualization doesn't interfere with the editor.

Screenshots & Logfiles

Opened this small view snippet in editor, refresh visualization in browser, voila:

image

Adapter version

2.9.11

js-controller version

5.0.17

Node version

18.17.1

Operating system

Buanet docker image v8.x

Additional context

No response

@manuxi manuxi added the bug 🐞 Something isn't working label Feb 14, 2024
@foxriver76
Copy link
Collaborator

this only happens when using view in widget? Just tested with a small project (just 2 views) opening a view in runtime, then opening another view of the project in edit, then modifying this view by moving a widget. Runtime did not change to the newly edited view.

@manuxi
Copy link
Author

manuxi commented Feb 16, 2024

Hm, no. All views that aren't in my navigation are included via "View in Widget" or "Tabs". The above screenshot from Chrome shows a view which should be displayed in a tab.
(What changed in Tabs to Vis-1: the last chosen view is displayed on reload, which is cool. But perhaps the source of the problem?)
Whenever I edit a view and refresh my browser (with another/different view), its displayed.

@manuxi
Copy link
Author

manuxi commented Feb 16, 2024

Just checked again on a different machine.
Opened 3 views (Header, Header_FireTablet, Übersicht), another browser tab pointed to http://192.168.178.10:8082/vis-2/index.html#Übersicht.
Edit Header, refresh browser: stayed at index.html#Übersicht. Looks good.
Refreshed editor (still with Header view) and refreshed browser: sudden points to http://192.168.178.10:8082/vis-2/index.html#Header.

@foxriver76
Copy link
Collaborator

Hm okay, does this also happen when you use the project name too in url? Like localhost:8082/vis-2/index.html?projectName#viewName

@manuxi
Copy link
Author

manuxi commented Feb 16, 2024

Deleted all the caches in Chrome, cannot reproduce it at the moment.
Edit:
Error back again, ?project#view doesn't help

@github-ngc-de
Copy link

I have the same issue. The Problem is, that I haven't found a way to reproduce this issue in a reliable manner. But I can confirm that this occurs.
Maybe it has the same root cause: Also when I am in the editing mode of a view and I resize the browser (I am using Chrome) it sometimes opens a completely different view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants