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

FEATURE - PDF Export of Maintenance Events Only #342

Closed
mikaelacaron opened this issue Oct 15, 2024 · 4 comments · Fixed by #345
Closed

FEATURE - PDF Export of Maintenance Events Only #342

mikaelacaron opened this issue Oct 15, 2024 · 4 comments · Fixed by #345
Assignees
Labels
feature request New feature or request hacktoberfest Any issue that can contribute to hacktoberfest help wanted Extra attention is needed iOS Related to the iOS app

Comments

@mikaelacaron
Copy link
Owner

mikaelacaron commented Oct 15, 2024

Describe the feature you want the app to have that it currently doesn't

  • Create a PDF export of the maintenance events ordered by oldest to newest of a single vehicle
  • Add a toolbar button to start the export with square.and.arrow.up on the leading side of the DashboardView
    • Tapping this shows ExportOptionsView as a sheet
  • Create a view called ExportOptionsView (in the Dashboard > Views directory) that's used to eventually select the options for how the PDF can be exported (making it more customizable, but for the start we'll only do specific things, listed below)
    • Select the vehicle to export using a picker
    • Export button

Full flow:

  • Tap export button
  • See ExportOptionsView as a sheet, it'll show a picker of the vehicles
  • Tap an Export button (make this the trailing toolbar button of this view
  • Export as described below as a PDF, that can be saved to a person's file's app or AirDropped to someone

Describe alternatives you've considered

  • N/A, new features will be added as this feature evolves
  • Note this feature will "compete with" FEATURE - CSV Export of Maintenance Events Only #343 for whichever feature gets completed first, because they have very similar functionality, so whoever completes it first, will have merge conflicts with the other

Additional context

Example PDF report includes:

  • Basic Car Maintenance Title
  • Vehicle Name at the top
  • Start and end date of all the maintenance_events that get exported
  • Vehicle name (yes for this specific issue it'll be repeating for now)
  • Notes of the maintenance events

maintenance event export

@mikaelacaron mikaelacaron added feature request New feature or request help wanted Extra attention is needed hacktoberfest Any issue that can contribute to hacktoberfest iOS Related to the iOS app labels Oct 15, 2024
@OmarHegazy93
Copy link
Contributor

Hey @mikaelacaron can you assign this one to me please? Thank you!

@mikaelacaron
Copy link
Owner Author

Excited to see it! If you get through it super speedy, it'll be easier for the other issue I linked 👍 which would be awesome!

@rramirez-dev
Copy link
Contributor

Why doesn't the Exported PDF contain the event title.

@mikaelacaron
Copy link
Owner Author

Why doesn't the Exported PDF contain the event title.

I'll make this into a separate issue! thanks for pointing it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request hacktoberfest Any issue that can contribute to hacktoberfest help wanted Extra attention is needed iOS Related to the iOS app
Projects
Development

Successfully merging a pull request may close this issue.

3 participants