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

Added burger menu to home page #149

Merged
merged 5 commits into from
May 14, 2024

Conversation

sombraSoft
Copy link
Contributor

Notion Task

  • Added burger menu
  • Removed header button to add shelters since it was added to the burger menu
  • Partner links render conditionally. Currently we don't have any partner links but it can be added to the partnerLinks array.
  • Login information is currently disabled because we don't have a login page yet. Once it's implemented we can uncomment

chrome_ejdOuBS3xG

@sombraSoft
Copy link
Contributor Author

@giovanifranz subi PR novo e já fiz a alteração do z-index!

Copy link
Contributor

@kelvinsb kelvinsb left a comment

Choose a reason for hiding this comment

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

Ficou bacana, já deixou salvo os casos de uso de login, links de parceiros/relacionados e fez uso de variantes no Sheet com cva(conheci só agora com a PR)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Apaga os comentários para podermos margear.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removi comentários do import e o exemplo de como adicionar links parceiros.
Fiquei hesitante na hora de apagar o comentário dos botões de login.. Acho que fica melhor deixar comentado e assim que tivermos página de login e logout, só é necessário tirar o comentário que está pronto.
Se mesmo assim quiser tirar, só me confirma que eu mando a alteração!

Choose a reason for hiding this comment

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

Página de login: https://sos-rs.com/entrar

Choose a reason for hiding this comment

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

Mas acredito q é só pra adm

Copy link
Contributor Author

@sombraSoft sombraSoft May 14, 2024

Choose a reason for hiding this comment

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

perfeito, tirei o comentário do botão de login e está funcionando!
aproveitei para implementar uma função de duas linhas que desloga o usuário. ela apenas deleta o token do local storage e dá um refresh na tela.

src/components/BurgerMenu/BurgerMenu.tsx Show resolved Hide resolved
@AndersonCRocha
Copy link

Ficou bacana, já deixou salvo os casos de uso de login, links de parceiros/relacionados e fez uso de variantes no Sheet com cva(conheci só agora com a PR)

O projeto usa shadcn e ele é um pouquinho diferente a forma de usar, quando vc quer usar algum componente ao invés de só instalar o pacote e depois importar e usar, vc roda um comando que """clona""" o código do componente pra dentro do projeto, no caso do SOS-RS está trazendo os componentes para a pasta /components/ui

@sombraSoft
Copy link
Contributor Author

@fagundesjg tem algum link de parceiro que eu já possa adicionar? deixei preparado para adicionar no front mesmo mas se já tiver eu coloco nesse PR!

@fagundesjg fagundesjg merged commit dfc7f9c into SOS-RS:develop May 14, 2024
rhuam pushed a commit that referenced this pull request May 15, 2024
* [fix] Config readme

* wip: loading

* Delete yarn.lock

* refact: created shelter list view component in home page

* Fix: mobile UI has broken for mobile devices (#22)

*Fix: mobile UI has broken for mobile devices

* fix: remove chip as fixed as no wrap property

* chore: add shelter card clickable

* chore: remove Fragment component

* build: add set sm as max mobile dimension
          sm: 425px

* style: add responsive layout

* refactor: filter page

* fix: priority

* fix: filter parameters

* fix: fixed volunteer supply that had been fulfilled displaying on shelter page

* fix: improve readability

* feat: hidden filter button if filter is empty

* feat: cache in axios request

* fix: cache search params

* feat: cache clean on searchs

* wip: donation tags

* fix: clean search params

* Update README.md

[fix] Retirando a seção Funcionalidades e Backlog

* fix: donation tags / componentized the urgent supplies section

* fix: removed empty shelter tags empty row

* feat: full edit shelter and improved interface of pet friendly in shelter page

* refact: add live link and tech stack to readme

* Fix/develop bugs (#90)

* fix: cache bug (invalite cache on create/update operation)

* feat: added update many shelter supplies and admin rule

* Add license (#81)

Closes #65.

* fix: app port (#80)

* docs: added shadcn/ui reference

* fix for volunteer shelter title (#95)

* treat contact link as a proper link

* simplified href

* docs: add discord link on readme

* Normalizes search string in supply filter so it ignores accents (#125)

* normalized search string to ignore accents

* revert removed button

* add a copy to clipboard button to PIX and contact info (#124)

* add a copy to clipboard button to PIX and contact info

* use && operator instead of ternary

* Substitui onClick e useNavigate por <Link> para melhorar acessibilidade (#128)

* replaced navigate in favour of html link and added card hover

* fixed lint warnings

* fix: change shelter title style (#106)

Prevents badge misalignment on very large titles

* Add new feature and creating LoadingSkeleton (#115)

* Add new feature and creating LoadingSkeleton

* fix/add: add favicon and canonical metatag (#136)

* fix/add: add favicon and canonical metatag

* fix: fixed the path

* refactor: changed order of shelters to updated at instead priority sum (#137)

* Remove zod dependency (#143)

* replaced zod validation with yup

* removed zod dependency from package.json

* sort dependencies

* fixed validation schema variable name

* removed .shape() and added .strict()

* deleted unused file

* Added burger menu to home page (#149)

* Implemented Burger menu

* commented unused components

* feat: Update BurgerMenu to display user's name when logged in

* removed comments

* implemented login and logout button

* Feat/partners (#155)

* fix: menu bar with api partners

* fix: menu bar with api partners

* fix: remove unused session in burguer menu / removed import all icons from lucide and use link icon instead custom icons

* [BUG] Botão de Limpar Filtro sumindo após remover input de busca (#147)

* fix: clean filter button disappearing after removing search input manually

* fix: removing log

* Modificação nas telas de abrigos para adicionar cidades (#110)

* feat: filter shlters by cities

* feat: city on shelter forms, info and list

* feat: shelter city quantities on filter

* fix: wrong conditional

* fix: bug that removing city filter on home doesnt affect the filter

* feat: new address fields on shelter forms

* feat: useDebouncedValue, useViaCep

* feat: adapt useFetch for conditional paths and different response

* feat: address fields required and zipCode triggering viaCep

* feat: address fields required on update shelter

* feat: address fields on shelter details when theres no address field

* fix: suggestions(shorthand, optional chaining, separated zipCode, formatted city on list)

* feat: sticky footer on filter dialog

* fix: reset errors on zipcode search; copy filter change

* fix: timeoutId not assigned value; InfoRow copy can copy undefined

* Campo de quantidade adicionado quando adicionar suprimento a um abrigo (#46)

* feat(shelter-supply): input to add quantity supply

* feat(shelter-supply): show quantity supply at Shelter page and EditShelter page

* resolve conflict

---------

Co-authored-by: Lipe <lip3pacheco@gmail.com>

* feat: google analytics

* feat: edit shelter supply item quantity (#170)

* fix: send address field formatted (#171)

* feat: add a template to log bugs/defects (#168)

* feat: add a template to log bugs/defects

* Feat/privacy terms about us (#169)

* feat: privacy policy page

* feat: done about us page

* fix: removed redundant value check in info row component

* fix: ordering the list of items on the shelter edit page (#166)

* feat: Melhoria no esquema de cores dos chip's e ajuste de acessibilidade (#162)

* feat: new text colors with adjusted light var colors

* feat: change chip element tag to span and improve a11y

* feat: added update date information to shelter page (#159)

* Adding update date to shelter page

* (Aditional) Informing when no update date for shelter in main page

* feat: ajuste de textos de voluntários e doações (#129)

* hotfix: shelter list item broken div tag

* Feat/back navigation to home (#177)

* feat: added back navigation to home when click in header label

* Hotfix/merge bugs (#183)

* fix: shelter list item duplicate code after merge

* fix: order in filter select menu, filter supplies by category and useSupplies interface

* fix: update shelter validation schema and created useAuthRoles hook to reduce complexity of code

* fix: conflicts with master branch

---------

Co-authored-by: helenapaixao <hp.helenapaixao@gmail.com>
Co-authored-by: Luccas Specht <luccas.specht.dev@gmail.com>
Co-authored-by: MatheusDubin <matheusdsilveira@gmail.com>
Co-authored-by: danmqs <daniel.marques@sudema.pb.gov.br>
Co-authored-by: Giovanni Bassi <334958+giggio@users.noreply.github.com>
Co-authored-by: Felipe Monteiro <fm3209742@gmail.com>
Co-authored-by: André Ferraz <74271823+decofma@users.noreply.github.com>
Co-authored-by: Sombrio <sombrio@sombrasoft.dev>
Co-authored-by: Filipe Pacheco de Fraga <lip3pacheco@gmail.com>
Co-authored-by: Daniel Marques <dev.danielmarques@outlook.com>
Co-authored-by: Matheus Dubin Da Silveira <46721495+MatheusDubin@users.noreply.github.com>
Co-authored-by: Miguel Dalberto <65927539+migueldalberto@users.noreply.github.com>
Co-authored-by: Pablo A. Maximo <pabloadrianomc@gmail.com>
Co-authored-by: Marcos Nascimento <62677231+Marcos-Nacimento@users.noreply.github.com>
Co-authored-by: Gilmar José <99229360+g42puts@users.noreply.github.com>
Co-authored-by: Kelvin <kelvinbr11@gmail.com>
Co-authored-by: Jhonatan David <82552187+jotahdavid@users.noreply.github.com>
Co-authored-by: Alexander Scheibler <60936422+alexanderscheibler@users.noreply.github.com>
Co-authored-by: Giovani Andrino Carnaval <gi.carnaval@hotmail.com>
Co-authored-by: Thiago Oliveira <55795035+thdq@users.noreply.github.com>
Co-authored-by: Henrique Uhlmann Gobbi <hgugobbi@gmail.com>
Co-authored-by: Janderson Soares <7406406+jandersonsc@users.noreply.github.com>
rhuam added a commit that referenced this pull request May 18, 2024
* [fix] Config readme

* wip: loading

* Delete yarn.lock

* refact: created shelter list view component in home page

* Fix: mobile UI has broken for mobile devices (#22)

*Fix: mobile UI has broken for mobile devices

* fix: remove chip as fixed as no wrap property

* chore: add shelter card clickable

* chore: remove Fragment component

* build: add set sm as max mobile dimension
          sm: 425px

* style: add responsive layout

* refactor: filter page

* fix: priority

* fix: filter parameters

* fix: fixed volunteer supply that had been fulfilled displaying on shelter page

* fix: improve readability

* feat: hidden filter button if filter is empty

* feat: cache in axios request

* fix: cache search params

* feat: cache clean on searchs

* wip: donation tags

* fix: clean search params

* Update README.md

[fix] Retirando a seção Funcionalidades e Backlog

* fix: donation tags / componentized the urgent supplies section

* fix: removed empty shelter tags empty row

* feat: full edit shelter and improved interface of pet friendly in shelter page

* refact: add live link and tech stack to readme

* Fix/develop bugs (#90)

* fix: cache bug (invalite cache on create/update operation)

* feat: added update many shelter supplies and admin rule

* Add license (#81)

Closes #65.

* fix: app port (#80)

* docs: added shadcn/ui reference

* fix for volunteer shelter title (#95)

* treat contact link as a proper link

* simplified href

* docs: add discord link on readme

* Normalizes search string in supply filter so it ignores accents (#125)

* normalized search string to ignore accents

* revert removed button

* add a copy to clipboard button to PIX and contact info (#124)

* add a copy to clipboard button to PIX and contact info

* use && operator instead of ternary

* Substitui onClick e useNavigate por <Link> para melhorar acessibilidade (#128)

* replaced navigate in favour of html link and added card hover

* fixed lint warnings

* fix: change shelter title style (#106)

Prevents badge misalignment on very large titles

* Add new feature and creating LoadingSkeleton (#115)

* Add new feature and creating LoadingSkeleton

* fix/add: add favicon and canonical metatag (#136)

* fix/add: add favicon and canonical metatag

* fix: fixed the path

* refactor: changed order of shelters to updated at instead priority sum (#137)

* Remove zod dependency (#143)

* replaced zod validation with yup

* removed zod dependency from package.json

* sort dependencies

* fixed validation schema variable name

* removed .shape() and added .strict()

* deleted unused file

* Added burger menu to home page (#149)

* Implemented Burger menu

* commented unused components

* feat: Update BurgerMenu to display user's name when logged in

* removed comments

* implemented login and logout button

* Feat/partners (#155)

* fix: menu bar with api partners

* fix: menu bar with api partners

* fix: remove unused session in burguer menu / removed import all icons from lucide and use link icon instead custom icons

* [BUG] Botão de Limpar Filtro sumindo após remover input de busca (#147)

* fix: clean filter button disappearing after removing search input manually

* fix: removing log

* Modificação nas telas de abrigos para adicionar cidades (#110)

* feat: filter shlters by cities

* feat: city on shelter forms, info and list

* feat: shelter city quantities on filter

* fix: wrong conditional

* fix: bug that removing city filter on home doesnt affect the filter

* feat: new address fields on shelter forms

* feat: useDebouncedValue, useViaCep

* feat: adapt useFetch for conditional paths and different response

* feat: address fields required and zipCode triggering viaCep

* feat: address fields required on update shelter

* feat: address fields on shelter details when theres no address field

* fix: suggestions(shorthand, optional chaining, separated zipCode, formatted city on list)

* feat: sticky footer on filter dialog

* fix: reset errors on zipcode search; copy filter change

* fix: timeoutId not assigned value; InfoRow copy can copy undefined

* Campo de quantidade adicionado quando adicionar suprimento a um abrigo (#46)

* feat(shelter-supply): input to add quantity supply

* feat(shelter-supply): show quantity supply at Shelter page and EditShelter page

* resolve conflict

---------

Co-authored-by: Lipe <lip3pacheco@gmail.com>

* feat: google analytics

* feat: edit shelter supply item quantity (#170)

* fix: send address field formatted (#171)

* feat: add a template to log bugs/defects (#168)

* feat: add a template to log bugs/defects

* Feat/privacy terms about us (#169)

* feat: privacy policy page

* feat: done about us page

* fix: removed redundant value check in info row component

* fix: ordering the list of items on the shelter edit page (#166)

* feat: Melhoria no esquema de cores dos chip's e ajuste de acessibilidade (#162)

* feat: new text colors with adjusted light var colors

* feat: change chip element tag to span and improve a11y

* feat: added update date information to shelter page (#159)

* Adding update date to shelter page

* (Aditional) Informing when no update date for shelter in main page

* feat: ajuste de textos de voluntários e doações (#129)

* hotfix: shelter list item broken div tag

* Feat/back navigation to home (#177)

* feat: added back navigation to home when click in header label

* Hotfix/merge bugs (#183)

* fix: shelter list item duplicate code after merge

* fix: order in filter select menu, filter supplies by category and useSupplies interface

* fix: update shelter validation schema and created useAuthRoles hook to reduce complexity of code

* fix: conflicts with master branch

* feat: dev and staging gh actions

* wip

* feat: done supporters page

* feat: added shelter category (#250)

Co-authored-by: José Fagundes <fagundesjg@outlook.com>

---------

Co-authored-by: helenapaixao <hp.helenapaixao@gmail.com>
Co-authored-by: José Fagundes <fagundesjg@outlook.com>
Co-authored-by: Luccas Specht <luccas.specht.dev@gmail.com>
Co-authored-by: MatheusDubin <matheusdsilveira@gmail.com>
Co-authored-by: danmqs <daniel.marques@sudema.pb.gov.br>
Co-authored-by: Giovanni Bassi <334958+giggio@users.noreply.github.com>
Co-authored-by: Felipe Monteiro <fm3209742@gmail.com>
Co-authored-by: André Ferraz <74271823+decofma@users.noreply.github.com>
Co-authored-by: Sombrio <sombrio@sombrasoft.dev>
Co-authored-by: Filipe Pacheco de Fraga <lip3pacheco@gmail.com>
Co-authored-by: Daniel Marques <dev.danielmarques@outlook.com>
Co-authored-by: Matheus Dubin Da Silveira <46721495+MatheusDubin@users.noreply.github.com>
Co-authored-by: Miguel Dalberto <65927539+migueldalberto@users.noreply.github.com>
Co-authored-by: Pablo A. Maximo <pabloadrianomc@gmail.com>
Co-authored-by: Marcos Nascimento <62677231+Marcos-Nacimento@users.noreply.github.com>
Co-authored-by: Gilmar José <99229360+g42puts@users.noreply.github.com>
Co-authored-by: Kelvin <kelvinbr11@gmail.com>
Co-authored-by: Jhonatan David <82552187+jotahdavid@users.noreply.github.com>
Co-authored-by: Alexander Scheibler <60936422+alexanderscheibler@users.noreply.github.com>
Co-authored-by: Giovani Andrino Carnaval <gi.carnaval@hotmail.com>
Co-authored-by: Thiago Oliveira <55795035+thdq@users.noreply.github.com>
Co-authored-by: Henrique Uhlmann Gobbi <hgugobbi@gmail.com>
Co-authored-by: Janderson Soares <7406406+jandersonsc@users.noreply.github.com>
AlchemistByte pushed a commit to AlchemistByte/frontend that referenced this pull request Jun 6, 2024
* Implemented Burger menu

* commented unused components

* feat: Update BurgerMenu to display user's name when logged in

* removed comments

* implemented login and logout button
AlchemistByte pushed a commit to AlchemistByte/frontend that referenced this pull request Jun 6, 2024
* [fix] Config readme

* wip: loading

* Delete yarn.lock

* refact: created shelter list view component in home page

* Fix: mobile UI has broken for mobile devices (SOS-RS#22)

*Fix: mobile UI has broken for mobile devices

* fix: remove chip as fixed as no wrap property

* chore: add shelter card clickable

* chore: remove Fragment component

* build: add set sm as max mobile dimension
          sm: 425px

* style: add responsive layout

* refactor: filter page

* fix: priority

* fix: filter parameters

* fix: fixed volunteer supply that had been fulfilled displaying on shelter page

* fix: improve readability

* feat: hidden filter button if filter is empty

* feat: cache in axios request

* fix: cache search params

* feat: cache clean on searchs

* wip: donation tags

* fix: clean search params

* Update README.md

[fix] Retirando a seção Funcionalidades e Backlog

* fix: donation tags / componentized the urgent supplies section

* fix: removed empty shelter tags empty row

* feat: full edit shelter and improved interface of pet friendly in shelter page

* refact: add live link and tech stack to readme

* Fix/develop bugs (SOS-RS#90)

* fix: cache bug (invalite cache on create/update operation)

* feat: added update many shelter supplies and admin rule

* Add license (SOS-RS#81)

Closes SOS-RS#65.

* fix: app port (SOS-RS#80)

* docs: added shadcn/ui reference

* fix for volunteer shelter title (SOS-RS#95)

* treat contact link as a proper link

* simplified href

* docs: add discord link on readme

* Normalizes search string in supply filter so it ignores accents (SOS-RS#125)

* normalized search string to ignore accents

* revert removed button

* add a copy to clipboard button to PIX and contact info (SOS-RS#124)

* add a copy to clipboard button to PIX and contact info

* use && operator instead of ternary

* Substitui onClick e useNavigate por <Link> para melhorar acessibilidade (SOS-RS#128)

* replaced navigate in favour of html link and added card hover

* fixed lint warnings

* fix: change shelter title style (SOS-RS#106)

Prevents badge misalignment on very large titles

* Add new feature and creating LoadingSkeleton (SOS-RS#115)

* Add new feature and creating LoadingSkeleton

* fix/add: add favicon and canonical metatag (SOS-RS#136)

* fix/add: add favicon and canonical metatag

* fix: fixed the path

* refactor: changed order of shelters to updated at instead priority sum (SOS-RS#137)

* Remove zod dependency (SOS-RS#143)

* replaced zod validation with yup

* removed zod dependency from package.json

* sort dependencies

* fixed validation schema variable name

* removed .shape() and added .strict()

* deleted unused file

* Added burger menu to home page (SOS-RS#149)

* Implemented Burger menu

* commented unused components

* feat: Update BurgerMenu to display user's name when logged in

* removed comments

* implemented login and logout button

* Feat/partners (SOS-RS#155)

* fix: menu bar with api partners

* fix: menu bar with api partners

* fix: remove unused session in burguer menu / removed import all icons from lucide and use link icon instead custom icons

* [BUG] Botão de Limpar Filtro sumindo após remover input de busca (SOS-RS#147)

* fix: clean filter button disappearing after removing search input manually

* fix: removing log

* Modificação nas telas de abrigos para adicionar cidades (SOS-RS#110)

* feat: filter shlters by cities

* feat: city on shelter forms, info and list

* feat: shelter city quantities on filter

* fix: wrong conditional

* fix: bug that removing city filter on home doesnt affect the filter

* feat: new address fields on shelter forms

* feat: useDebouncedValue, useViaCep

* feat: adapt useFetch for conditional paths and different response

* feat: address fields required and zipCode triggering viaCep

* feat: address fields required on update shelter

* feat: address fields on shelter details when theres no address field

* fix: suggestions(shorthand, optional chaining, separated zipCode, formatted city on list)

* feat: sticky footer on filter dialog

* fix: reset errors on zipcode search; copy filter change

* fix: timeoutId not assigned value; InfoRow copy can copy undefined

* Campo de quantidade adicionado quando adicionar suprimento a um abrigo (SOS-RS#46)

* feat(shelter-supply): input to add quantity supply

* feat(shelter-supply): show quantity supply at Shelter page and EditShelter page

* resolve conflict

---------

Co-authored-by: Lipe <lip3pacheco@gmail.com>

* feat: google analytics

* feat: edit shelter supply item quantity (SOS-RS#170)

* fix: send address field formatted (SOS-RS#171)

* feat: add a template to log bugs/defects (SOS-RS#168)

* feat: add a template to log bugs/defects

* Feat/privacy terms about us (SOS-RS#169)

* feat: privacy policy page

* feat: done about us page

* fix: removed redundant value check in info row component

* fix: ordering the list of items on the shelter edit page (SOS-RS#166)

* feat: Melhoria no esquema de cores dos chip's e ajuste de acessibilidade (SOS-RS#162)

* feat: new text colors with adjusted light var colors

* feat: change chip element tag to span and improve a11y

* feat: added update date information to shelter page (SOS-RS#159)

* Adding update date to shelter page

* (Aditional) Informing when no update date for shelter in main page

* feat: ajuste de textos de voluntários e doações (SOS-RS#129)

* hotfix: shelter list item broken div tag

* Feat/back navigation to home (SOS-RS#177)

* feat: added back navigation to home when click in header label

* Hotfix/merge bugs (SOS-RS#183)

* fix: shelter list item duplicate code after merge

* fix: order in filter select menu, filter supplies by category and useSupplies interface

* fix: update shelter validation schema and created useAuthRoles hook to reduce complexity of code

* fix: conflicts with master branch

---------

Co-authored-by: helenapaixao <hp.helenapaixao@gmail.com>
Co-authored-by: Luccas Specht <luccas.specht.dev@gmail.com>
Co-authored-by: MatheusDubin <matheusdsilveira@gmail.com>
Co-authored-by: danmqs <daniel.marques@sudema.pb.gov.br>
Co-authored-by: Giovanni Bassi <334958+giggio@users.noreply.github.com>
Co-authored-by: Felipe Monteiro <fm3209742@gmail.com>
Co-authored-by: André Ferraz <74271823+decofma@users.noreply.github.com>
Co-authored-by: Sombrio <sombrio@sombrasoft.dev>
Co-authored-by: Filipe Pacheco de Fraga <lip3pacheco@gmail.com>
Co-authored-by: Daniel Marques <dev.danielmarques@outlook.com>
Co-authored-by: Matheus Dubin Da Silveira <46721495+MatheusDubin@users.noreply.github.com>
Co-authored-by: Miguel Dalberto <65927539+migueldalberto@users.noreply.github.com>
Co-authored-by: Pablo A. Maximo <pabloadrianomc@gmail.com>
Co-authored-by: Marcos Nascimento <62677231+Marcos-Nacimento@users.noreply.github.com>
Co-authored-by: Gilmar José <99229360+g42puts@users.noreply.github.com>
Co-authored-by: Kelvin <kelvinbr11@gmail.com>
Co-authored-by: Jhonatan David <82552187+jotahdavid@users.noreply.github.com>
Co-authored-by: Alexander Scheibler <60936422+alexanderscheibler@users.noreply.github.com>
Co-authored-by: Giovani Andrino Carnaval <gi.carnaval@hotmail.com>
Co-authored-by: Thiago Oliveira <55795035+thdq@users.noreply.github.com>
Co-authored-by: Henrique Uhlmann Gobbi <hgugobbi@gmail.com>
Co-authored-by: Janderson Soares <7406406+jandersonsc@users.noreply.github.com>
AlchemistByte pushed a commit to AlchemistByte/frontend that referenced this pull request Jun 6, 2024
* [fix] Config readme

* wip: loading

* Delete yarn.lock

* refact: created shelter list view component in home page

* Fix: mobile UI has broken for mobile devices (SOS-RS#22)

*Fix: mobile UI has broken for mobile devices

* fix: remove chip as fixed as no wrap property

* chore: add shelter card clickable

* chore: remove Fragment component

* build: add set sm as max mobile dimension
          sm: 425px

* style: add responsive layout

* refactor: filter page

* fix: priority

* fix: filter parameters

* fix: fixed volunteer supply that had been fulfilled displaying on shelter page

* fix: improve readability

* feat: hidden filter button if filter is empty

* feat: cache in axios request

* fix: cache search params

* feat: cache clean on searchs

* wip: donation tags

* fix: clean search params

* Update README.md

[fix] Retirando a seção Funcionalidades e Backlog

* fix: donation tags / componentized the urgent supplies section

* fix: removed empty shelter tags empty row

* feat: full edit shelter and improved interface of pet friendly in shelter page

* refact: add live link and tech stack to readme

* Fix/develop bugs (SOS-RS#90)

* fix: cache bug (invalite cache on create/update operation)

* feat: added update many shelter supplies and admin rule

* Add license (SOS-RS#81)

Closes SOS-RS#65.

* fix: app port (SOS-RS#80)

* docs: added shadcn/ui reference

* fix for volunteer shelter title (SOS-RS#95)

* treat contact link as a proper link

* simplified href

* docs: add discord link on readme

* Normalizes search string in supply filter so it ignores accents (SOS-RS#125)

* normalized search string to ignore accents

* revert removed button

* add a copy to clipboard button to PIX and contact info (SOS-RS#124)

* add a copy to clipboard button to PIX and contact info

* use && operator instead of ternary

* Substitui onClick e useNavigate por <Link> para melhorar acessibilidade (SOS-RS#128)

* replaced navigate in favour of html link and added card hover

* fixed lint warnings

* fix: change shelter title style (SOS-RS#106)

Prevents badge misalignment on very large titles

* Add new feature and creating LoadingSkeleton (SOS-RS#115)

* Add new feature and creating LoadingSkeleton

* fix/add: add favicon and canonical metatag (SOS-RS#136)

* fix/add: add favicon and canonical metatag

* fix: fixed the path

* refactor: changed order of shelters to updated at instead priority sum (SOS-RS#137)

* Remove zod dependency (SOS-RS#143)

* replaced zod validation with yup

* removed zod dependency from package.json

* sort dependencies

* fixed validation schema variable name

* removed .shape() and added .strict()

* deleted unused file

* Added burger menu to home page (SOS-RS#149)

* Implemented Burger menu

* commented unused components

* feat: Update BurgerMenu to display user's name when logged in

* removed comments

* implemented login and logout button

* Feat/partners (SOS-RS#155)

* fix: menu bar with api partners

* fix: menu bar with api partners

* fix: remove unused session in burguer menu / removed import all icons from lucide and use link icon instead custom icons

* [BUG] Botão de Limpar Filtro sumindo após remover input de busca (SOS-RS#147)

* fix: clean filter button disappearing after removing search input manually

* fix: removing log

* Modificação nas telas de abrigos para adicionar cidades (SOS-RS#110)

* feat: filter shlters by cities

* feat: city on shelter forms, info and list

* feat: shelter city quantities on filter

* fix: wrong conditional

* fix: bug that removing city filter on home doesnt affect the filter

* feat: new address fields on shelter forms

* feat: useDebouncedValue, useViaCep

* feat: adapt useFetch for conditional paths and different response

* feat: address fields required and zipCode triggering viaCep

* feat: address fields required on update shelter

* feat: address fields on shelter details when theres no address field

* fix: suggestions(shorthand, optional chaining, separated zipCode, formatted city on list)

* feat: sticky footer on filter dialog

* fix: reset errors on zipcode search; copy filter change

* fix: timeoutId not assigned value; InfoRow copy can copy undefined

* Campo de quantidade adicionado quando adicionar suprimento a um abrigo (SOS-RS#46)

* feat(shelter-supply): input to add quantity supply

* feat(shelter-supply): show quantity supply at Shelter page and EditShelter page

* resolve conflict

---------

Co-authored-by: Lipe <lip3pacheco@gmail.com>

* feat: google analytics

* feat: edit shelter supply item quantity (SOS-RS#170)

* fix: send address field formatted (SOS-RS#171)

* feat: add a template to log bugs/defects (SOS-RS#168)

* feat: add a template to log bugs/defects

* Feat/privacy terms about us (SOS-RS#169)

* feat: privacy policy page

* feat: done about us page

* fix: removed redundant value check in info row component

* fix: ordering the list of items on the shelter edit page (SOS-RS#166)

* feat: Melhoria no esquema de cores dos chip's e ajuste de acessibilidade (SOS-RS#162)

* feat: new text colors with adjusted light var colors

* feat: change chip element tag to span and improve a11y

* feat: added update date information to shelter page (SOS-RS#159)

* Adding update date to shelter page

* (Aditional) Informing when no update date for shelter in main page

* feat: ajuste de textos de voluntários e doações (SOS-RS#129)

* hotfix: shelter list item broken div tag

* Feat/back navigation to home (SOS-RS#177)

* feat: added back navigation to home when click in header label

* Hotfix/merge bugs (SOS-RS#183)

* fix: shelter list item duplicate code after merge

* fix: order in filter select menu, filter supplies by category and useSupplies interface

* fix: update shelter validation schema and created useAuthRoles hook to reduce complexity of code

* fix: conflicts with master branch

* feat: dev and staging gh actions

* wip

* feat: done supporters page

* feat: added shelter category (SOS-RS#250)

Co-authored-by: José Fagundes <fagundesjg@outlook.com>

---------

Co-authored-by: helenapaixao <hp.helenapaixao@gmail.com>
Co-authored-by: José Fagundes <fagundesjg@outlook.com>
Co-authored-by: Luccas Specht <luccas.specht.dev@gmail.com>
Co-authored-by: MatheusDubin <matheusdsilveira@gmail.com>
Co-authored-by: danmqs <daniel.marques@sudema.pb.gov.br>
Co-authored-by: Giovanni Bassi <334958+giggio@users.noreply.github.com>
Co-authored-by: Felipe Monteiro <fm3209742@gmail.com>
Co-authored-by: André Ferraz <74271823+decofma@users.noreply.github.com>
Co-authored-by: Sombrio <sombrio@sombrasoft.dev>
Co-authored-by: Filipe Pacheco de Fraga <lip3pacheco@gmail.com>
Co-authored-by: Daniel Marques <dev.danielmarques@outlook.com>
Co-authored-by: Matheus Dubin Da Silveira <46721495+MatheusDubin@users.noreply.github.com>
Co-authored-by: Miguel Dalberto <65927539+migueldalberto@users.noreply.github.com>
Co-authored-by: Pablo A. Maximo <pabloadrianomc@gmail.com>
Co-authored-by: Marcos Nascimento <62677231+Marcos-Nacimento@users.noreply.github.com>
Co-authored-by: Gilmar José <99229360+g42puts@users.noreply.github.com>
Co-authored-by: Kelvin <kelvinbr11@gmail.com>
Co-authored-by: Jhonatan David <82552187+jotahdavid@users.noreply.github.com>
Co-authored-by: Alexander Scheibler <60936422+alexanderscheibler@users.noreply.github.com>
Co-authored-by: Giovani Andrino Carnaval <gi.carnaval@hotmail.com>
Co-authored-by: Thiago Oliveira <55795035+thdq@users.noreply.github.com>
Co-authored-by: Henrique Uhlmann Gobbi <hgugobbi@gmail.com>
Co-authored-by: Janderson Soares <7406406+jandersonsc@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

5 participants