stash icon indicating copy to clipboard operation
stash copied to clipboard

[Feature] Show Sub Items in all pages

Open ciaron88 opened this issue 3 years ago • 3 comments

Add a global option to show all sub-studios, sub-tags etc... on the Parent Studio/Tag etc... page by default. like you currently can when using the filter on Scenes, Images etc...

So for example

  • Studio A is the parent of Studio B
  • Video A is tagged as part of Studio B

Currently, Video A will only show on Studio B's page. I want Video A to show on, Studio A's AND Studio B's page (like if you would use the filter with include sub-scene ticked). Maybe also with a line under the title saying "Part of sub-studio Studio B" on Studio A's page

Thanks

ciaron88 avatar Oct 10 '21 07:10 ciaron88

+1 for having this functionality.

Another approach could involve leveraging the existing functionality of setting the default filter. This way users could customize the filter once to display sub-studios/tags/etc and save that as the default.

I'm seeing this function in the SavedFilterList.tsx component:

function maybeRenderSetDefaultButton() {
  if (persistState === PersistanceLevel.ALL) {
    return (
      <Button
        className="set-as-default-button"
        variant="secondary"
        size="sm"
        onClick={() => onSetDefaultFilter()}
      >
        {intl.formatMessage({ id: "actions.set_as_default" })}
      </Button>
    );
  }
}

I just found this repo yesterday and am just finding my bearings in the code (so forgive my ignorance) but could this be done by passing PersistanceLevel.ALL to the entity lists inside the various Tag/Studio panels?

ed36080666 avatar Oct 13 '21 21:10 ed36080666

I would really love this feature as well. And maybe the same could be done for the performers? So the parent studios displays the performers of the substudios as well.

Daitaiva avatar Nov 08 '21 12:11 Daitaiva

Is this addressed by #2832?

WithoutPants avatar Oct 10 '22 22:10 WithoutPants