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

BUG - Add Maintenance behaviour is inconsistent when no vehicle added to the app #261

Open
darrengillman opened this issue Nov 4, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@darrengillman
Copy link
Contributor

Describe the bug

When no vehicle has been added (or all vehicles have been deleted) the Add Maintenance view is available but is not fully functional as a vehicle is required to add a maintenance record.

As a consequence of this:

  • on the Add Maintenance screen the "Add" button is enabled as soon as a title has been added but does not commit the record and does not present any alert detailing why it can't. Could leave the user hanging.
  • The Vehicle section of the form says "select vehicle" but there's no picker available.

To Reproduce

Steps to reproduce the behavior:

  1. Use either a clean install or delete all vehicle entries
  2. Go to the Dashboard
  3. Click the "+" button to add a maintenance record
  4. Add a title
  5. At this point see that
    • the "Add" button is enabled
    • clicking "Add" has no obvious behaviour to the user, and give no indication of where to go next
    • the lack of a picker on the Vehicle entry

Expected behavior

Several possible behaviours (some app architecture-dependent):

  • clicking on the "+" gives an alert saying "add a vehicle" if none present rather than entering the Add Maintenance view
  • clicking on the "+" loops the "Add Vehicle view in before the Maintenance view
  • clicking the "+" open the maintenance view, put a "no vehicle" entry in the picker, keeps the "Add" button disabled, and presents an alert explaining where to go

In all instances, and as a minimum, the "Add" button should not enable until all the mandatory fields have been completed.

Screenshots

image

Device Info (please complete the following information):

  • Device: Simulator
  • OS: 17.0
  • 1.0

Additional Context

N/A

@darrengillman darrengillman added the bug Something isn't working label Nov 4, 2023
@mikaelacaron
Copy link
Owner

@darrengillman yes this is an issue! But I'm going to be fixing this before shipping the app, by adding an onboarding view, that has the user enter their vehicle info. So this won't be an issue. I'll leave it open, and assign myself to this issue for now

@darrengillman
Copy link
Contributor Author

@mikaelacaron fair enough. And I was going to volunteer to fix it for you :-) Although will need to mod the maintenance view to cope with the user deleting their vehicles.

Do you still want us to offer to pick up issues, or would you rather just ship now?

@mikaelacaron
Copy link
Owner

If you could pick up #6 that would be great! (a person already did the work and the PR is closed, but there were some edits they never made in time, before Hacktoberfest ended)

Overall I didn't really expect many people to keep contributing after Hacktoberfest, and yeah at the moment I might just pause most of the issues until I ship the app, because I'll be making some big changes. See #260 for the list of things I'll be doing before shipping

@mikaelacaron mikaelacaron self-assigned this Nov 13, 2023
@darrengillman
Copy link
Contributor Author

@mikaelacaron apologies for dropping the ball on this. A third party API our primary business app uses withdrew it services without notice or documentation, so it's been a manic couple of weeks building an alternative solution. Fun though, in a type 2 way!

@mikaelacaron
Copy link
Owner

No worries! I'll be picking this up when I implement the onboarding. I'm using #260 to track all the tasks left before I ship the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants