Skip to content

feat: add multi option for priority queryParam#330

Merged
rodrigooler merged 1 commit into
SOS-RS:developfrom
diegodario88:filtro-shelters
May 29, 2024
Merged

feat: add multi option for priority queryParam#330
rodrigooler merged 1 commit into
SOS-RS:developfrom
diegodario88:filtro-shelters

Conversation

@diegodario88

@diegodario88 diegodario88 commented May 27, 2024

Copy link
Copy Markdown
Contributor

PR para issue -> SOS-RS/backend#145

value: data.priority,
}
: null,
priority: [],

@rhuam rhuam May 27, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colocar o valor inicial para persistir o filtro quando o usuário fechar e abrir novamente.

@diegodario88 diegodario88 May 28, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Olá @rhuam, existem algumas outras issues que estão sendo desenvolvidas especialmente para esse item, será que não seria melhor deixar essa implementação com apenas a opção de simultaneidade do filtro de prioridade?

Relacionados:

@rodrigooler rodrigooler May 28, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diegodario88 acredito que o @rhuam quis dizer isso aqui

priority: data.priority?.split(',') || []

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rodrigooler perfeito, eu implementei conforme a sugestão. Por favor revise novamente

Screencast.from.2024-05-28.16-17-26.mp4

@rodrigooler rodrigooler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aparentemente está OK, bom trabalho!

@rodrigooler rodrigooler added the enhancement New feature or request label May 27, 2024
@diegodario88 diegodario88 force-pushed the filtro-shelters branch 2 times, most recently from bf42e8b to 558b17f Compare May 28, 2024 19:08
@rodrigooler rodrigooler merged commit f05a08f into SOS-RS:develop May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants