dev-pira / dev-pira/site

Mudar definição de tipo de parceiro

Open
#280 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16
Forks
10
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/user-attachments/assets/f38a2a72-ff9a-4579-b1a8-d6af728ba539)

O tipo da parceria está vinculado ao cadastro do parceiro e não ao evento.
Assim quando vamos aproveitar o cadastro de um parceiro que já atuou junto antes ele vem com o tipo definido em seu cadastro, porém para esse novo evento/parceria ele está com uma condição diferente.
Exemplo: Frogssumit foi patrocinador prata no festival, porém no DEVPIRA .NET WKND ele era o patrocinador principal ou somente "Patrocinador". A indentificação Prata está vinculada ao cadastro do parceiro então caso seja alterada vai afetar o evento Festival também.
A sugestão é que essa informação faça parte no cadastro do parceiro no evento e não no cadastro da "entidade parceiro"

Contributor guide

Open the contributing guide

Research direction

Start by tracing the partner and event data model and the screens or entry points that read and edit the partnership type. Compare the Festival and DEVPIRA .NET WKND examples to identify where the value is currently stored. Done means the same partner can have different partnership types for different events without changing other events.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.