manuel-rw / grocy-scanner Goto Github PK
View Code? Open in Web Editor NEWYour Grocy companion to scan and add products to your stock with a single click.
License: GNU General Public License v3.0
Your Grocy companion to scan and add products to your stock with a single click.
License: GNU General Public License v3.0
The locations service seem to throw an exception on my TrueNAS instance.
The Android app crashes for unknown reason when trying to consume a product, that was created using this application.
First love the app it's so clean and exactly what I've been looking for!
I was wondering if there are any plans to integrate functionality that would allow using the website on an ios phone and being able to use the camera? Also do you plan on adding a mode/button to add straight to a shopping list?
Additionally, I've encountered a minor issue on mobile where clicking the fullscreen or minimize buttons in the bottom right corner results in an "error has occurred" message.
Thank you!
FullScreen trace error in question:
warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
Unhandled exception rendering component: window.document.documentElement.requestFullscreen is not a function. (In 'window.document.documentElement.requestFullscreen()', 'window.document.documentElement.requestFullscreen' is undefined)
openFullScreen@http://192.168.1.XX:7575/scanner:86:54
openFullScreen@[native code]
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3511
Promise@[native code]
beginInvokeJSFromDotNet@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3491
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:75071
asyncFunctionResume@[native code]
_processIncomingData@http://192.168.1.XX:7575/_framework/blazor.server.js:1:72709
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:51325
Microsoft.JSInterop.JSException: window.document.documentElement.requestFullscreen is not a function. (In 'window.document.documentElement.requestFullscreen()', 'window.document.documentElement.requestFullscreen' is undefined)
openFullScreen@http://192.168.1.XX:7575/scanner:86:54
openFullScreen@[native code]
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3511
Promise@[native code]
beginInvokeJSFromDotNet@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3491
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:75071
asyncFunctionResume@[native code]
_processIncomingData@http://192.168.1.XX:7575/_framework/blazor.server.js:1:72709
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:51325
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at GrocyScanner.Service.Shared.Components.FullScreenToggle.OnClickFullScreen() in /src/GrocyScanner.Service/Shared/Components/FullScreenToggle.razor:line 13
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit '1fJiEYrVwZOnz9CXHczx-5vOjc1E8TRXi4xPv4j18ps'.
Microsoft.JSInterop.JSException: window.document.documentElement.requestFullscreen is not a function. (In 'window.document.documentElement.requestFullscreen()', 'window.document.documentElement.requestFullscreen' is undefined)
openFullScreen@http://192.168.1.XX:7575/scanner:86:54
openFullScreen@[native code]
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3511
Promise@[native code]
beginInvokeJSFromDotNet@http://192.168.1.XX:7575/_framework/blazor.server.js:1:3491
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:75071
asyncFunctionResume@[native code]
_processIncomingData@http://192.168.1.XX:7575/_framework/blazor.server.js:1:72709
@http://192.168.1.XX:7575/_framework/blazor.server.js:1:51325
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at GrocyScanner.Service.Shared.Components.FullScreenToggle.OnClickFullScreen() in /src/GrocyScanner.Service/Shared/Components/FullScreenToggle.razor:line 13
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
I use grocy on a raspberry pi with a touchscreen. Works great, but the touchscreen is basically tablet sized and the date picker gets cut off:
I did some testing and it looks like that this happens when the height of the display is lower than 750.
I'm not familiar with Mudblazor so I haven't been able to find a quick fix. I intend to look into it later, but I'm raising an issue in case you have an easy solution.
Perhaps it would be better to detect a landscape-type display and provide a horizontal version of the entire purchase dialog box. That will avoid issues with scrolling and such, too.
Great app, by the way!
Hey. I just noticed your project on Reddit post in r/grocy. I'm sorry if i didn't do proper research but it would be awesome if you could pull products whom barcode was scanned through your app from OpenFoodFacts. It probably is the biggest database of all the products from around the world.
PS: Discussion section would be also nice so i wouldn't need to open issue uselessly to just know from where are the products pulled.
Currently the slider does not change anything.
It should be implemented and change the action that is being executed, after a barcode has been scanned.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.