-
-
Notifications
You must be signed in to change notification settings - Fork 370
feat(webshop): add print & pixel size support (feature 043) #4388
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
Merged
ildyria
merged 25 commits into
master
from
copilot/feature-43-add-print-and-pixel-size-support
Jun 11, 2026
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1f412fe
docs(043): log open questions, create spec stub, update roadmap
Copilot c20d934
feat(043): resolve open questions, update spec and create plan/tasks …
Copilot 91136c9
docs: log 12 F-043 open questions into open-questions.md
Copilot 577d162
feat(043): add print/pixel size support backend implementation + tests
Copilot c996b2d
refactor(Order): clarify canProcessPayment email/shipping fall-throug…
Copilot 5d0b9f7
Merge branch 'master' into copilot/feature-43-add-print-and-pixel-siz…
ildyria 77622f1
Merge branch 'master' into copilot/feature-43-add-print-and-pixel-siz…
ildyria 1d7b582
Merge branch 'master' into copilot/feature-43-add-print-and-pixel-siz…
ildyria 817687d
fix phpstan + some tests
ildyria 8990528
fix more tests
ildyria 605ecc4
fix more tests
ildyria 5172d58
Fix TS duplicate content and add missing lychee.d.ts types for print/…
Copilot 4e1ad0a
fix test
ildyria 02422c3
Fixes
ildyria 2f6bfc2
fix tests
ildyria a9bb466
Fixes
ildyria 3d6d348
fix purchasable creation
ildyria 847dbe9
Improve feedback + fix bugs
ildyria d0b415d
Add license type to Pixel sizes
ildyria d2c284d
fix test
ildyria 9dd899a
fix test
ildyria f665bd9
fix test
ildyria 6dae7d1
do not promote directly the Orders of pixel & prints
ildyria a17024f
fixes
ildyria 0192875
fixes
ildyria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?php | ||
|
|
||
| /** | ||
| * SPDX-License-Identifier: MIT | ||
| * Copyright (c) 2017-2018 Tobias Reich | ||
| * Copyright (c) 2018-2026 LycheeOrg. | ||
| */ | ||
|
|
||
| namespace App\DTO; | ||
|
|
||
| use App\Enum\PurchasableLicenseType; | ||
| use Money\Money; | ||
|
|
||
| readonly class PixelSizeAssignment | ||
| { | ||
| public function __construct( | ||
| public int $pixel_size_id, | ||
| public Money $price, | ||
| public PurchasableLicenseType $license_type = PurchasableLicenseType::PERSONAL, | ||
| ) { | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?php | ||
|
|
||
| /** | ||
| * SPDX-License-Identifier: MIT | ||
| * Copyright (c) 2017-2018 Tobias Reich | ||
| * Copyright (c) 2018-2026 LycheeOrg. | ||
| */ | ||
|
|
||
| namespace App\DTO; | ||
|
|
||
| use Money\Money; | ||
|
|
||
| readonly class PrintSizeAssignment | ||
| { | ||
| public function __construct( | ||
| public int $print_size_id, | ||
| public Money $price, | ||
| ) { | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.