-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
Model render refactor #5894
Model render refactor #5894
Conversation
- Use proper permission checks
- Improve in-line render for different order types
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- Rendering is a bit broken currently, as the barcode scan does not send back the model data
- Rendering is a bit broken currently, as the barcode scan does not send back the model data - Required refactoring enumerations out into separate files - Some strange race condition / import loop was happening
…actor # Conflicts: # src/frontend/src/components/tables/plugin/PluginListTable.tsx
- Use unique key
To me it seems we lose functionality with this refactor. My renderers had the option to link to the object they were rendering while yours were just text/images. This greatly reduces the clicks needed to get to a specific object - I think that should be reintroduced. |
@matmair happy to add that in. But not happy for two ways to render a single model! If you think this has rescued functionality please make a PR :) |
Yeah most of my WIP UI stuff seems to break after this, I will have to read the diff a bit deeper an reintroduce a few things |
Yes, the api changes will also break my WIP things. |
this removed so much of the interactivenes of renderes, I will revert this for my code base and work with the old variant for now to meet my deadlines |
Removes duplicate model rendering code in the new react interface