Skip to content

[WIP] Fixed #18554: Custom Component Report#19145

Open
marcusmoore wants to merge 115 commits into
grokability:developfrom
marcusmoore:features/18554-component-report
Open

[WIP] Fixed #18554: Custom Component Report#19145
marcusmoore wants to merge 115 commits into
grokability:developfrom
marcusmoore:features/18554-component-report

Conversation

@marcusmoore

@marcusmoore marcusmoore commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

This PR introduces the Custom Component Report that works similar to the Custom Asset Report.

image

A couple more things to do before marking this as ready for review:

  • Add validation
  • Drop a bunch of screenshots and details here

How to Access

By clicking the button on the component index page:

image

Via the reports index

image

we need to add three more reports to balance the buttons 😉

Via the navigation menu:

Collapsed Full
image image

It takes up two lines when collapsed 👎🏾


The Report

Default

By default the report will return one row per component like expected.

image

Including Assignments

By checking Include Assignments the report will write rows for each component's qty and include the details about the assigned asset as well.

image image

Other Details

Livewire component for template selector

I extracted this into a livewire component since I was copying and pasting it to different places:

image

AI Usage Disclosure

I used AI in a few places but most of this code is "hand" written. The biggest usage was having it convert a long chunk of if statements into the buildMapping method in the controller.


Fixes #18554

@codacy-production

codacy-production Bot commented Jun 4, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 4 medium · 1 minor

Alerts:
⚠ 5 issues (≤ 0 issues of at least minor severity)

Results:
5 new issues

Category Results
UnusedCode 1 medium
BestPractice 1 medium
CodeStyle 1 minor
Complexity 2 medium

View in Codacy

🟢 Metrics 130 complexity

Metric Results
Complexity 130

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@marcusmoore marcusmoore marked this pull request as ready for review June 5, 2026 00:03
@marcusmoore marcusmoore requested a review from snipe as a code owner June 5, 2026 00:03
@marcusmoore marcusmoore linked an issue Jun 9, 2026 that may be closed by this pull request
1 task
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.

[Feature]: Component Report

1 participant