acikyazilimagi / deprem-yardim-frontend

release canditate: https://rc.afetharita.com/
https://afetharita.com/
Apache License 2.0
898 stars 284 forks source link

refactor: add scan area button disabled state #1180

Closed tolgakisin closed 1 year ago

tolgakisin commented 1 year ago

Description

When clicked scan area button, stores router.query params component's state and compares equality between old query params and new query params. The button is disabled if both param objects have same value.

discord username: Tolga#1490

closes #1164

Please describe your changes. Also describe your aim and content. Do not forget to list the dependencies required caused by those changes.

 Things to check before creating a PR

Creating PR rules

Changes

How were these changes tested?

Please describe the tests you did to test the changes you made. Please also specify your test configuration.

Test Configuration:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
deprem-yardim-frontend ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 9:32PM (UTC)
MaksuCode commented 1 year ago

I tested this one on the feature branch both for mobile and web. It ıs working as expected as far as I can see. The button is disabled when the query parameters are equal. @sevilayerkan Can you please edit the tags since I do not have the persmission.