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: list/rank soil inconsistency workaround #2569

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shrouxm
Copy link
Member

@shrouxm shrouxm commented Nov 29, 2024

Description

Changes the fetchLocationBasedSoilMatches redux action to secretly call the fetchDataBasedSoilMatches endpoint with an empty set of data. See discussion on techmatters/soil-id-algorithm#126 for why this is desirable behaviorally. This is in draft because it puts the codebase in a kinda hacky state where the method names aren't really honest anymore, but I wanted to record my progress before I take time off.

Checklist

  • Corresponding issue has been opened

Related Issues

Related to techmatters/soil-id-algorithm#126. Depends on techmatters/terraso-client-shared#1112.

Verification steps

There should be no difference in the soil ID results now before or after creating a site.

@shrouxm shrouxm changed the title Feat/list rank soil inconsistency workaround feat: list rank soil inconsistency workaround Nov 29, 2024
@shrouxm shrouxm changed the title feat: list rank soil inconsistency workaround feat: list/rank soil inconsistency workaround Nov 29, 2024
@shrouxm shrouxm force-pushed the feat/list-rank-soil-inconsistency-workaround branch from 5c80e5a to bcdc04b Compare November 29, 2024 01:56
@shrouxm shrouxm force-pushed the feat/list-rank-soil-inconsistency-workaround branch from bcdc04b to 44ced8e Compare November 29, 2024 02:01
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.

1 participant