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: Work on inputs #719

Merged
merged 7 commits into from
Jan 3, 2024
Merged

feat: Work on inputs #719

merged 7 commits into from
Jan 3, 2024

Conversation

david-code
Copy link
Contributor

Description

  • Changes the Projects Input screen to update the presets on the backend
  • With the backend PR, actually updates the backend and displays the project intervals
  • Still need to do a few styling things and update when the add interval button is displayed

Checklist

  • Corresponding issue has been opened
  • New tests added

Related Issues

Fixes #....

Verification steps

@david-code david-code merged commit 489aa5d into main Jan 3, 2024
5 checks passed
@david-code david-code deleted the feat/work-on-inputs branch January 3, 2024 19:30
david-code pushed a commit that referenced this pull request Jan 5, 2024
* fix(ci): Change working directory for ios

* chore: Bump ios version

* fix: Fix env var file location

* chore: Bump ios version

* feat: Change project depth interval preset on backend

* Update dev-client/src/translations/en.json

---------

Co-authored-by: Paul Schreiber <[email protected]>
david-code pushed a commit that referenced this pull request Jan 5, 2024
* feat: Display error on switch request failure

In order to avoid laggy radio switches, I've changed the update to
that it is automatically applied to the redux store. However, this
means that we absolutely need to let the user know if the request
wasn't actually applied on the backend due to a connection error. This
commit displays a toast at the top level if the requests fails.

* fix: Update soil ID status type

* fix: Linting fixes

* feat: Hook applyToAll checkbox to actually work

* feat: Use required project settings in interval editing

* fix: Fix linting errors

* chore: Copyright

* Update dev-client/src/translations/en.json

Co-authored-by: Paul Schreiber <[email protected]>

* chore(deps-dev): bump eslint from 8.55.0 to 8.56.0 in /dev-client (#724)

Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.55.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump yup from 1.3.2 to 1.3.3 in /dev-client (#723)

Bumps [yup](https://github.com/jquense/yup) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/jquense/yup/releases)
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md)
- [Commits](jquense/yup@v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: yup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @testing-library/react-native in /dev-client (#704)

Bumps [@testing-library/react-native](https://github.com/callstack/react-native-testing-library) from 12.4.1 to 12.4.2.
- [Release notes](https://github.com/callstack/react-native-testing-library/releases)
- [Changelog](https://github.com/callstack/react-native-testing-library/blob/main/.release-it.json)
- [Commits](https://github.com/callstack/react-native-testing-library/commits)

---
updated-dependencies:
- dependency-name: "@testing-library/react-native"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @rnmapbox/maps from 10.0.15 to 10.1.3 in /dev-client (#721)

* chore(deps): bump @rnmapbox/maps from 10.0.15 to 10.1.3 in /dev-client

Bumps [@rnmapbox/maps](https://github.com/rnmapbox/maps) from 10.0.15 to 10.1.3.
- [Release notes](https://github.com/rnmapbox/maps/releases)
- [Changelog](https://github.com/rnmapbox/maps/blob/main/CHANGELOG.md)
- [Commits](rnmapbox/maps@v10.0.15...v10.1.3)

---
updated-dependencies:
- dependency-name: "@rnmapbox/maps"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: update @rnmapbox paths

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Schreiber <[email protected]>

* chore: update CocoaPods dependencies (#726)

* chore: update MapboxMaps to 10.16.3

* chore: update Podfile

* fix: update npm and ruby dependencies (#727)

* chore: update react-native-gesture-handler
* chore: update NPM packages
* chore: update package-lock.json
* chore: update gems (except reative-native)

* chore: update dependencies for all fixes, not just security fixes (#728)

* chore(deps): bump @react-aria/combobox in /dev-client (#729)

Bumps [@react-aria/combobox](https://github.com/adobe/react-spectrum) from 3.7.1 to 3.8.1.
- [Release notes](https://github.com/adobe/react-spectrum/releases)
- [Commits](https://github.com/adobe/react-spectrum/compare/@react-aria/[email protected]...@react-aria/[email protected])

---
updated-dependencies:
- dependency-name: "@react-aria/combobox"
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @react-native-aria/radio in /dev-client (#730)

Bumps [@react-native-aria/radio](https://github.com/intergalacticspacehighway/react-native-bob-mono) from 0.2.7 to 0.2.8.
- [Commits](https://github.com/intergalacticspacehighway/react-native-bob-mono/commits)

---
updated-dependencies:
- dependency-name: "@react-native-aria/radio"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @react-types/menu from 3.9.5 to 3.9.6 in /dev-client (#731)

Bumps [@react-types/menu](https://github.com/adobe/react-spectrum) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/adobe/react-spectrum/releases)
- [Commits](https://github.com/adobe/react-spectrum/compare/@react-types/[email protected]...@react-types/[email protected])

---
updated-dependencies:
- dependency-name: "@react-types/menu"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump mixme from 0.5.9 to 0.5.10 in /dev-client (#732)

Bumps [mixme](https://github.com/adaltas/node-mixme) from 0.5.9 to 0.5.10.
- [Changelog](https://github.com/adaltas/node-mixme/blob/master/CHANGELOG.md)
- [Commits](adaltas/node-mixme@v0.5.9...v0.5.10)

---
updated-dependencies:
- dependency-name: mixme
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/graceful-fs in /dev-client (#740)

Bumps [@types/graceful-fs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/graceful-fs) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/graceful-fs)

---
updated-dependencies:
- dependency-name: "@types/graceful-fs"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @react-aria/slider from 3.7.2 to 3.7.4 in /dev-client (#736)

Bumps [@react-aria/slider](https://github.com/adobe/react-spectrum) from 3.7.2 to 3.7.4.
- [Release notes](https://github.com/adobe/react-spectrum/releases)
- [Commits](https://github.com/adobe/react-spectrum/compare/@react-aria/[email protected]...@react-aria/[email protected])

---
updated-dependencies:
- dependency-name: "@react-aria/slider"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/babel__template in /dev-client (#737)

Bumps [@types/babel__template](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/babel__template) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/babel__template)

---
updated-dependencies:
- dependency-name: "@types/babel__template"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @babel/preset-env in /dev-client (#738)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.6 to 7.23.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react-native in /dev-client (#739)

Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.70.16 to 0.70.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

---
updated-dependencies:
- dependency-name: "@types/react-native"
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: Improve switches, display error if connection to backend fails (#678)

* feat: Display error on switch request failure

In order to avoid laggy radio switches, I've changed the update to
that it is automatically applied to the redux store. However, this
means that we absolutely need to let the user know if the request
wasn't actually applied on the backend due to a connection error. This
commit displays a toast at the top level if the requests fails.

* fix: Update soil ID status type

* fix: Linting fixes

* feat: Hook applyToAll checkbox to actually work

* chore: Add yet another copyright

* feat: Use required project settings in interval editing

* fix: Fix linting errors

* Update dev-client/src/translations/en.json

---------

Co-authored-by: Paul Schreiber <[email protected]>

* feat: Work on inputs (#719)

* fix(ci): Change working directory for ios

* chore: Bump ios version

* fix: Fix env var file location

* chore: Bump ios version

* feat: Change project depth interval preset on backend

* Update dev-client/src/translations/en.json

---------

Co-authored-by: Paul Schreiber <[email protected]>

* feat: slope screen (#670)

* style: update primary.light{er,est} theme keys

* feat: scaffold the slope screen

* style: update primary theme

* feat: slope steepness screen

* feat: manual slope form (not wired up yet)

* feat: wire up manual steepness screen

* feat: slope shape screen

* fix: use numeric keyboard for manual steepness modal

* feat: ui to show data input requirements

* feat: add the actual images

* fix: scroll view padding on slope steepness screen

* feat: more layout massaging for the ImageRadio component

* style: app bar color

* fix: app bar buttons on location dashboard and project view

* refactor: consolidate modal code

* fix: bug where steepness values of 0 would not get rendered

* feat: confirmation modal when overriding manual steepness value

* feat: make done FABs go back

* refactor: move some common patterns to separate files

* chore: add copyright notices

* feat: scaffold slope meter screen

* whoops fell down a button theming rabbit hole

* style: modal styling

* feat: auto-fill percent from/to degree

* chore: copyright notices

* feat: the great slope asset migration of xmas 2023

* fix: Improve translation of collection method label

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Paul Schreiber <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: garo (they/them) <[email protected]>
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.

3 participants