Skip to content

Convert TRAYs to use ItemToggle#43689

Open
Dirius77 wants to merge 1 commit intospace-wizards:masterfrom
Dirius77:tray-updates
Open

Convert TRAYs to use ItemToggle#43689
Dirius77 wants to merge 1 commit intospace-wizards:masterfrom
Dirius77:tray-updates

Conversation

@Dirius77
Copy link
Copy Markdown

About the PR

Switched TRAYs from manually handling activations and visuals to instead use ItemToggleComponent and Systems

Why / Balance

This makes the code a decent bit cleaner, it also makes it easier to add tray functionality to other items in the future as it won't also inherently bring the ability to be turned on and off with it as a byproduct.

Technical details

Removed a lot of redundant code and added ItemToggle to the trayScanner. Also switched the scanner to using AutoGenerateComponentState instead of its own state handling since the only thing left was the radius float.

Media

This does not change anything in a way that can be seen visually.

Requirements

Breaking changes

Changelog

@PJBot PJBot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/S Denotes a PR that changes 10-99 lines. labels Apr 22, 2026
@Pok27 Pok27 added P3: Standard Priority: Default priority for repository items. T: Cleanup Type: Code clean-up, without being a full refactor or feature D3: Low Difficulty: Some codebase knowledge required. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Apr 23, 2026
@psykana
Copy link
Copy Markdown
Contributor

psykana commented Apr 23, 2026

Merge after #43161

@github-actions github-actions Bot added the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D3: Low Difficulty: Some codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/S Denotes a PR that changes 10-99 lines. T: Cleanup Type: Code clean-up, without being a full refactor or feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants