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

feat: add multi option for priority queryParam #330

Merged
merged 1 commit into from
May 29, 2024

Conversation

diegodario88
Copy link
Contributor

@diegodario88 diegodario88 commented May 27, 2024

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

value: data.priority,
}
: null,
priority: [],
Copy link
Contributor

@rhuam rhuam May 27, 2024

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.

Copy link
Contributor Author

@diegodario88 diegodario88 May 28, 2024

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:

Copy link
Contributor

@rodrigooler rodrigooler May 28, 2024

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
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

Copy link
Contributor

@rodrigooler rodrigooler left a comment

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