stash-box icon indicating copy to clipboard operation
stash-box copied to clipboard

[Feature] Custom fields for all objects

Open echo6ix opened this issue 1 year ago • 1 comments

Implement the ability for administrators to create custom fields for objects (scenes, studios, tags, performers). This will allow for flexible customization, mitigate requests for specific fields, and let different installations of stash-box tailor themselves to their niche.

Why This is Useful

  • Avoids hardcoding specific fields, making the app more adaptable.
  • Allows customization based on administrative/community preferences without requiring developer to implement a new field
  • Mitigates frequent requests for adding various specific fields.
  • We don't always think of the fields we need in the present for what may be useful in the future, and considering developer resources may be very limited it would be easy for the administrator to create custom field

Custom Field Types

Custom fields would have a set type of definable field values for an administrative to choose from:

  • Multi field values
  • Integer
  • Date
  • Select/Lookup (pulls data from database in dropdown select field. Admin would select which fields to reference from a predefined list "Performer name", "Studio name", etc)
  • List (with predefined values)
  • Images (with definable limitations, such as aspect ratio, size, and resolution)
  • Strings

Related issues

  • https://github.com/stashapp/stash-box/issues/676
  • https://github.com/stashapp/stash-box/issues/790
  • https://github.com/stashapp/stash-box/issues/707
  • https://github.com/stashapp/stash-box/issues/345
  • https://github.com/stashapp/stash-box/issues/346
  • https://github.com/stashapp/stash-box/issues/334
  • https://github.com/stashapp/stash-box/issues/237
  • https://github.com/stashapp/stash-box/issues/206
  • https://github.com/stashapp/stash-box/issues/205
  • https://github.com/stashapp/stash-box/issues/204
  • https://github.com/stashapp/stash-box/issues/663

echo6ix avatar Oct 14 '24 03:10 echo6ix

Related issues

  • https://github.com/stashapp/stash-box/issues/784
  • https://github.com/stashapp/stash-box/issues/553
  • https://github.com/stashapp/stash-box/issues/234
  • https://github.com/stashapp/stash-box/issues/210

DogmaDragon avatar Dec 07 '24 20:12 DogmaDragon