-
-
Couldn't load subscription status.
- Fork 162
Feature custom part status #1053
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
Feature custom part status #1053
Conversation
|
My preliminary remarks from a quick look at the PR:
|
|
@jbtronics, please excuse me for not getting back to you on this matter yet. |
e88c354 to
6cea41b
Compare
|
Hello @jbtronics, thank you for your patience. Regarding your comments:
In everyday use, it has proven useful to be able to use functions similar to those of the other entities, such as uploading descriptive attachments or hierarchically storing desired status types. The possibility of storing notes is also not to be overlooked. This allows the administrator to specify at the time of creation exactly when the status should be used in everyday life and why it was ultimately created.
That's done.
Now there are also corresponding tests which I have added analogously to other entities.
I recently made an adjustment, which may have caused the problem. Thanks for everything so far! I've pushed the additional adjustments. |
|
I wonder if it would be useful that a part can have more than one custom state. Maybe in combination with a simple constraint that ensures that only one status out of a single parent type is selected. That way the system is a bit more universal, and would allow for different kind of states... I have also fixed the test issues and some translation inconsistency (for every other entity the plural is used in the admin page title and tree node. I just changed it for english as in german this would lead to some weird words). However i cannot push the changes, as it tells me "Permission denied". Besides these points, i would say the PR is ready for merge. |
Zunächst MySQL, SQLite Statements integrieren.
Die Sidebar wurde um die Anzeige des benutzerdefinierten Bauteilstatus erweitert, inklusive Vorschaubild, sofern vorhanden.
6cea41b to
b4130f2
Compare
|
@jbtronics, thank you very much for your efforts and preparation! I've checked the "Allow maintainer changes" box in the pull request. We haven't had to set multiple statuses in practice yet, but there might be other Part-DB users who would welcome something like that. I am very pleased about the trusting cooperation, which I enjoy, and your comments and improvements :) Best regards, |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1053 +/- ##
============================================
+ Coverage 57.82% 58.62% +0.79%
- Complexity 7068 7094 +26
============================================
Files 568 571 +3
Lines 23086 22673 -413
============================================
- Hits 13350 13291 -59
+ Misses 9736 9382 -354 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Hello @jbtronics,
In relation to #1051 the feature for custom part states.
Also mentioned in the discussion under #1041, section 3.
I am grateful for integration!
Best regards,
Marcel