Skip to content
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

Media Tags should support multiple user input #406

Open
CocoisBuggy opened this issue Nov 3, 2024 · 0 comments
Open

Media Tags should support multiple user input #406

CocoisBuggy opened this issue Nov 3, 2024 · 0 comments

Comments

@CocoisBuggy
Copy link
Contributor

I may have to come back and close this issue if I have mis-understood something - but I think tags currently do not have a source?

export interface EntityTag {
  _id: mongoose.Types.ObjectId
  targetId: MUUID
  type: number
  ancestors: string
  climbName?: string
  areaName: string
  lnglat?: Point
  topoData?: object
}

Media uploaded to the database should be manage-able by multiple users for this particular data-type. If someone uploads a photo of a crag, and then a new route is opened or someone comes along who can identify other routes, there should be a structured way to receive this auxiliary contribution.

I would suggest that tags need to be sourced based on who submitted them.

export interface EntityTag {
  /** The user who created this tag */
  owner: MUUID,
  /**
    users who want to contest the accuracy of a tag can flag it.
    this would not be the same as deletion - but could allow us to negatively weight tags by usefulness.
    A more fine-grained approach would be to have tags rated 0-5
    tagRating: { user: MUUID, rating: 0 | 1 | 2 | 3 | 5, }[]
   */  
  tagContest: MUUID[]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant