Skip to content

User Preference Form not getting saved #130

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

Closed
Mohitmadhav opened this issue Oct 7, 2021 · 5 comments · Fixed by #141
Closed

User Preference Form not getting saved #130

Mohitmadhav opened this issue Oct 7, 2021 · 5 comments · Fixed by #141
Assignees
Labels
bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority

Comments

@Mohitmadhav
Copy link
Member

Description

  • Once you select the genres, the Favourite author and book get erased.
  • The Form doesn't save (gives an error when tapped on save)

Screenshots

image

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Check lib\screens\user_preferences.dart
  2. Also, the keyboard should automatically unfocus when the typing gets finished in the text field
  3. Show a Snackbar with a message : User preferences have been saved when I get saved in the database
  4. Database: lib\services\database_service.dart

Additional data

Add your working gif/screen recording while in the PR.

@Mohitmadhav Mohitmadhav added bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority labels Oct 7, 2021
@Samveg12
Copy link
Contributor

Samveg12 commented Oct 7, 2021

Hi @Mohitmadhav can I please work on this

@Mohitmadhav
Copy link
Member Author

Ok @Samveg12, the collections have been created according to #92.
So save all the preferences (Not the top 3) in the user collection.

Also, do git pull upstream main before beginning and committing your code.

@Samveg12
Copy link
Contributor

Samveg12 commented Oct 9, 2021

@Mohitmadhav could you please check the database if a book with fav author 'samveg shah' fav book 'samveg shah' and genres Action Adventure has been saved in the firebase database?

@Samveg12
Copy link
Contributor

Samveg12 commented Oct 9, 2021

Before I make a pull request I want to check it

@Mohitmadhav
Copy link
Member Author

Screenshot (1559)
Yes @Samveg12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants