MainUI on Vue 3: Beta testing bug reporting #3381
Replies: 20 comments 94 replies
-
|
The search field in the navbar doesn't respect dark mode:
|
Beta Was this translation helpful? Give feedback.
-
|
This has nothing to do with the Vue3 upgrade, but since you're all deep in this anyway now, maybe you could give it a bit of thought: https://community.openhab.org/t/mainui-how-to-handle-http-status-204/166100 The problem is simple, the REST API responds with HTTP status 204 in situations where the answer is "empty" (ask for a list of something where there are no elements etc.). This isn't received well by MainUI since it expects a JSON payload to parse, which fails, since there's no content with a 204. I guess the "smoothest" solution would be if whatever receive the replies ( |
Beta Was this translation helpful? Give feedback.
-
|
So first off , great Job, i'm running this now and it looks great! Also is seems generally snappier , especially on some older android tablets i have been phasing out b/c the Main UI was always kinda painful on them, its actually quite useable now. My iPad minis are smoother then ever, so thats also awesome! Couple notes:
Again, awesome work. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I just checked out the latest I don't know to which degree these are relevant or not, but it didn't use to be that many warnings and errors AFAICR: [Vue warn]: Property "forceEditMode" was accessed during render but is not defined on instance.
at <F7Tab id="design" class="layout-editor-design-tab" tab-active=true >
at <F7Tabs class="layout-editor-tabs" >
at <F7PageContent ptr=false ptrDistance=undefined ptrPreloader=true ... >
at <F7Page onPage:afterin=fn<bound onPageAfterIn> onPage:beforeout=fn<bound onPageBeforeOut> class="layout-editor" >
at <LayoutEdit key="1761933696974_6" uid="overview" f7router= Router ... >
at <F7View url="/" main=true class="safe-areas" ... >
at <F7App key=0 id="org.openhab.ui" name="openHAB" ... >
at <App>
[ECharts] Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.
:8081/rest/persistence/items/CurrentPower?starttime=2025-10-30T18%3A05%3A36.079Z&endtime=2025-10-31T18%3A05%3A36.078Z&boundary=true&itemState=true:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
[Vue warn]: Unhandled error during execution of watcher getter
at <OhChartComponent ref="chart" context= Object class="oh-chart-page-chart with-toolbar analyzer-chart" ... >
at <AsyncComponentWrapper ref="chart" context= Object class="oh-chart-page-chart with-toolbar analyzer-chart" ... >
at <OhChart ref="chart" class="oh-chart-page-chart with-toolbar analyzer-chart" style= Object ... >
at <OhChartPage class="analyzer-chart" key="4adf0f62ae" context= Object >
at <AsyncComponentWrapper class="analyzer-chart" key="4adf0f62ae" context= Object >
at <F7PageContent ptr=false ptrDistance=undefined ptrPreloader=true ... >
at <F7Page class="analyzer-content" >
at <Analyzer ref="analyzer" f7router= Router f7route= Object >
at <AsyncComponentWrapper ref="analyzer" f7router= Router f7route= Object >
at <F7Popup tablet-fullscreen="" backdrop=false class="analyzer-popup" ... >
at <AnalyzerPopup key="1761933935257_9" f7router= Router f7route= Object >
at <F7RoutableModals>
at <F7App key=0 id="org.openhab.ui" name="openHAB" ... >
at <App>
warn$1 @ runtime-core.esm-bundler.js:51
:8081/analyzer/?item…tem=&aggregation=:1 Uncaught (in promise) Bad Request
Error evaluating async computed property: undefined
echart localisation loading failed: NOMost of these are repeated several times. The persistence error is probably because I don't have any persistence installed - still it could be handled more gracefully? |
Beta Was this translation helpful? Give feedback.
-
|
There also seems to be some router error here still. When I click "Back" from In fact I'm "trapped" inside the settings when I make the window narrow enough that the left menu disappears... |
Beta Was this translation helpful? Give feedback.
-
|
When I navigate to "Add-on Store", there are nothing in the navbar, not even a back button (although clicking where it should have been takes me back, so it might just be invisible):
|
Beta Was this translation helpful? Give feedback.
-
|
Great work everyone! I've been too busy with work to try this out until today, but this is already in really good shape. There are few minor css issues that I've seen (it'll take a bit to track down whether they are my fault, so I'll report back later). The only bug I've come across so far is that clicking on a pinned item in the Developer Tools panel does not bring up the popover to change the item state. (Also FYI: it appears that Alt + Shift + D, brings up the new Vue developer tools overlay in addition to toggling the Developer Tools panel.) |
Beta Was this translation helpful? Give feedback.
-
|
Expanded cell contents z-index has been lost it seems: |
Beta Was this translation helpful? Give feedback.
-
|
If the UI setting to disable card animations is set: All model cards fail to display (model pages are blank):
|
Beta Was this translation helpful? Give feedback.
-
|
@florian-h05 - i have a weird error - if I bring up your emsEnergyflow widget in the widget-edit and then bring up the "set props" window, none of the labels/titles show up:
Do you get the same on your end? I've debugged this to parameter-item / item-picker props interface and for some reason, the name of "title" as the prop name is causing issues. If I change the name of the prop to title2, things work??? |
Beta Was this translation helpful? Give feedback.
-
|
I'm probably doing something wrong, but my Vue devtools are all acting up now. The Vue devtools didn't use to work in Firefox, so I've used Edge for Vue (don't use it for anything else, so it's otherwise "clean"). After the upgrade, it's broken. It complained that I had two versions of Vue devtools running, so I disabled the Vue 2 (6.4.0) version and enabled the "new" version (7.7.7). The little floating thing at the bottom of the screen shows up, but it's quite awkward to work with since it's just a panel that covers part of the page, and can't be "propertly controlled". When I try to open up the Edge dev tools and go to the Vue tab, everything goes wrong. All I see is the Vue "loading logo", which goes on forever. The other tabs are still functional, so it's not a "full hang", but the Vue page never loads. Further, it is no longer possible to refresh the page I'm on (but I can navigate the version that's there), and most crucially I cannot close the dev tools. Nothing happens when I try to close them, so it's pretty clear to me that the Vue tools is blocking both reload and closing. The only way to get out of this is to close the tab. The same thing happens over and over again, it's not only sometimes - it seems to be permanently broken. Does anybody have an idea why it is like this? I've quite impossible to work with now... |
Beta Was this translation helpful? Give feedback.
-
|
Doesn't look like the oh-knob can render at all. Any attempt to use it results in: |
Beta Was this translation helpful? Give feedback.
-
|
I've found a new problem, that might or might not be router-related: If I work on a widget (e.g. The browser console doesn't reveal anything of interest, it merely states: ...which I assume says something about how far the loading comes before it hangs. Eventually, the browser will inform me that "the page isn't responding", but that's after quite a long timeout. This makes it quite hard to work with widgets. Changing the address in the address bar to something "further up" than the widget address, will let the page reload, but you then have to navigate back to the widget itself. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
The android app has been slow (up to 10 seconds) on many page first loads (and opening the left panel) since vue3. But now, having just updated to Build #4912 Main UI Commit e2fc3c3, the andriod app cannot open any of the administration pages. User pages will open (again with a lag), but Setting, Add-on Store, Developer Tools, and Help & About all fail to open. |
Beta Was this translation helpful? Give feedback.
-
|
I don't know if this is related to the Vue 3 change or not, but I'm having some issues with the "image view". I haven't managed to figure out which component/vue file handles this, since the Vue dev tools acts like it doesn't exist (so many this is pure JS or something?), but: When I'm on So, whether this is related to Vue 3 or not, it's somewhat broken. I haven't used it much in the past, so I don't really know how it used to behave. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Just noticed that dayjs() does not return localised values any more. E.g., |
Beta Was this translation helpful? Give feedback.
















Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please report bugs & issues with the Main UI Vue 3 Beta version here.
Beta Was this translation helpful? Give feedback.
All reactions