Skip to content

Build Order #673

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

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

Build Order #673

wants to merge 1 commit into from

Conversation

cbenhagen
Copy link
Contributor

This is a very rough draft of the build order feature.

Screenshot 2025-07-01 at 23 25 17

fixes #287

@cbenhagen cbenhagen marked this pull request as draft July 1, 2025 21:27
@cbenhagen cbenhagen changed the title WIP Build Order Jul 1, 2025
@SchrodingersGat
Copy link
Member

I'll need some time to look over this more thoroughly but the implementation looks great on first glance! Very comprehensive :)

@SchrodingersGat SchrodingersGat added the enhancement New feature or request label Jul 4, 2025

return ListTile(
title: Text(order.reference),
subtitle: Text(order.description),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually "order.title" for the build order, not "description" - which is why no subtitle text is appearing here

SpeedDialChild(
child: const Icon(TablerIcons.camera, color: Colors.blue),
label: "Take Picture", // Will use L10().takePicture later
onTap: () async {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to come back to these :)

@SchrodingersGat
Copy link
Member

@cbenhagen this looks really promising! LMK when you have it more feature complete and I will review again. Seems to work well on my setup

if (widget.order.pk > 0) {
// To be implemented later when build order is fully integrated
// This will load all build order related data (attachments, outputs, etc.)
refresh(context);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this is currently causing an infinite loop...

@SchrodingersGat
Copy link
Member

The "right chevron" arrow you put into the tiles was a great idea - I'm rolling that out across all the views:

#677

@cbenhagen
Copy link
Contributor Author

Please feel free to push to this branch. I will not have much time to work on this in the upcoming weeks.

@SchrodingersGat
Copy link
Member

I'm probably not going to be able to get to it for a while either :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Mobile APP] Add build support
2 participants