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

Add collection parsing to the dev window for UI #4959

Merged

Conversation

ShadowCommander
Copy link
Member

@ShadowCommander ShadowCommander commented Mar 15, 2024

Added conversions from string and control collections to strings.
Added popup when clicking a value to show value.

Before:
Content Client_PkWsZip1Pr
After:
Content Client_lmuECDZxcP
Content Client_fVL3wGEn29

Before:
Content Client_vhOycJ2nSn
After:
Content Client_z14m147VvN

@ShadowCommander ShadowCommander added Issue: Feature This issue is a feature request Area: UI Things like game screens, menus, and windows. labels Mar 15, 2024
Robust.Client/UserInterface/Controls/PopupContainer.cs Outdated Show resolved Hide resolved
<BoxContainer Name="ControlProperties" Orientation="Vertical" MouseFilter="Stop" />
</ScrollContainer>
</SplitContainer>
</BoxContainer>
</PanelContainer>
<PopupContainer Name="PopupContainer" Access="Public" />
Copy link
Member

Choose a reason for hiding this comment

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

I don't think I want to see this pattern of "making a custom PopupContainer become commonplace. I do understand it's because secondary OS windows don't have one themselves, but I'd rather see that resolved in CreateWindowRoot. You'd probably need to give WindowRoot a PopupContainer and then also some form of "ContentRoot" that further code is advised to use instead of directly adding to the WindowRoot.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll see if I can add a PopupContainer to WindowRoot in another PR.

@ShadowCommander ShadowCommander added Status: Needs Review This PR needs to be reviewed before it can be merged. and removed Status: Awaiting Changes labels Mar 16, 2024
@PJB3005 PJB3005 merged commit e686e1b into space-wizards:master Mar 16, 2024
4 checks passed
@ShadowCommander ShadowCommander deleted the debug-ui-collection-popup branch April 22, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: UI Things like game screens, menus, and windows. Issue: Feature This issue is a feature request Status: Needs Review This PR needs to be reviewed before it can be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants