-
-
Notifications
You must be signed in to change notification settings - Fork 65
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] Show pending scene submissions on performer page #447
Comments
the title of #301 doesn't make it obvious, but it's basically the same feature for both performers and studios. |
This has been implemented and can be closed. |
Can you point me to the commit where this was implemented? |
Ah ok, I understand after you changed the title. |
Yes, I think the word "edits" was misleading. Should be rather easy to implement with a query. |
@InfiniteStash Would you prefer this to work by modifying the existing |
I think it makes the most sense to add a subquery to the existing condition here: stash-box/pkg/sqlx/querybuilder_edit.go Line 223 in 6dbce61
That one is already wired up on the frontend. It should just be a matter of selecting edits which have |
Okay I think I understand now, so your preferred solution modifies the existing queryEdits with a target id to not just return edits to the performer, for example, but to return both edits to the performer, and pending scene edits containing the performer, and have both displayed along side each other in the Edits tab. This would also mean we get the same for studios without further changes (get not just studio edits, but also scene edits containing the studio in the tab). |
This adds all pending scene creation edits to the edits tabs for performers, studios, and tags. Resolves stashapp#301 and stashapp#447.
Have the above working in PR #925, I don't love how the code looks generally but don't really see a super clean way to organize the code at this time. Spent all too much time looking at query plans for these queries, managed to get them all looking good, no nested loops. Querying the performers with |
Is your feature request related to a problem? Please describe.
Since there is no search function on the edits page currently, it's hard to figure out if a new scene has already been posted.
(Happens with fresh releases)
Describe the solution you'd like
Show on the performers page a link to current pending scenes (just like performer edits right now)
The text was updated successfully, but these errors were encountered: