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

Issue with dashboard widget in 1.3.0 #174

Open
andberFEV opened this issue Oct 11, 2024 · 3 comments
Open

Issue with dashboard widget in 1.3.0 #174

andberFEV opened this issue Oct 11, 2024 · 3 comments

Comments

@andberFEV
Copy link

andberFEV commented Oct 11, 2024

Hi,

I have an issue with viewing dashboards in PE app 1.3.0. The target path does not seem to be handled correctly when trying to navigate, see attached screenshots.

Screenshot_20241011_142401 (Custom) | Screenshot_20241011_142413 (Custom)

A breakpoint on row 150 in dashboard_widget.dart renders
bild

That path will then fail in the if statement on row 80 in dashboard_controller.dart
bild

Am I missing something here, or how can I get the dashboard widget to work?

Also, the widget renders quite poorly at the moment.

@ybeshkarov
Copy link
Contributor

Hey,

I've created branch for you https://github.com/thingsboard/flutter_thingsboard_pe_app/tree/dashboard-navigation.
Please check if it's what you looking for.

@andberFEV
Copy link
Author

Hi,

Thanks and sorry for the late reply. I'm away and haven't had the possibility to check this yet. I'm back in next week and will be able to try it then.

All the best

@andberFEV
Copy link
Author

Hi,

I had a problem with the branch, primarily errors with alarm handling, but instead of trying to understand that I just took your lines from the commit (this).

It works as expected, except that "all" never renders for me. If I try to go there I get stuck with the loading blobs/circles. But the direct links to dashboards work nicely.

To get the widget to render better on mobile, I made a change in Widget CSS to hide the "Add dashboard" button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants