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

Ensure unique units are used when creating a request [#4579] #4835

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

awwaiid
Copy link
Collaborator

@awwaiid awwaiid commented Dec 8, 2024

Work toward #4579

This updates the code that merges duplicate request lines together also checks that the units are the same.

@awwaiid awwaiid requested a review from dorner December 8, 2024 20:26
@awwaiid awwaiid added this to the Request Units (Packs) milestone Dec 8, 2024
Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

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

We have a functional problem. The confirmation doesn't show both the units, but the user won't have any idea why.

Example:
Screenshot 2024-12-09 at 10 32 03 AM
saving gets you
Screenshot 2024-12-09 at 10 34 07 AM

Another thing of note is that when you say yes, and there's an error, the units are disappearing?
Screenshot 2024-12-09 at 10 45 09 AM

Do you want me to put that in as a separate issue? (it's on any error, not just the packs one)

@awwaiid
Copy link
Collaborator Author

awwaiid commented Dec 10, 2024

No, I'll fix it as part of this. Need to move the check/merge up earlier in the process I think.

@awwaiid awwaiid marked this pull request as draft December 10, 2024 14:28
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.

2 participants