-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
States "genericity" #16198
States "genericity" #16198
Conversation
b281004
to
d43240d
Compare
ping @cedric-anne @orthagh As said already on internal channel, I need a first validation/talk on this one. Main problem will be search options; I do not even know if current system can handle current PR. |
868deeb
to
2b1c405
Compare
2b1c405
to
f18ba1c
Compare
Commit to support the new state visibilties in the new API: This info for states can only be seen through GraphQL at the moment (POST request at /api.php/GraphQL). query {
Computer(limit: 10) {
id
status {
name
visibilities {
computer
monitor
}
}
}
} |
I've never been able to use API; if tests are OK, that's OK for me (need someone else to do the review). |
Is there a technical issue with it that I need to check/fix? |
No :) I just cannot test API side if any state change are working. |
bbfe926
to
0fcf292
Compare
I've fixed all remaining cases I saw; should be OK now. |
I pushed a commit to check that all items having the
@orthagh @trasher Are you OK to remove this field?
I think the first solution is sufficient, as an already define status will still be displayed in the dropdown: |
Add new relation table, Drop existign columns, Add migration, Adapt add/update Add tests
ddb3502
to
ad00a68
Compare
Should be more or less OK.
No SO is working.
Naming is probably not OK everywhere.
Since I'm not sure the way I've chosen is OK, I don't waste more time on that for now.