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

Fixes input, adds byond global #36

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Fixes input, adds byond global #36

merged 3 commits into from
Nov 22, 2024

Conversation

jlsnow301
Copy link
Member

About the PR

#32 was failing because we don't create the Byond object in the test environment. Added this

I also noticed a discrepancy with our Inputs vs tgstation, where this fell through the cracks: tgstation/tgstation#86495

I should note that in the above PR it broke the rules of hooks . I fixed this, it should still work as intended, and appears to do so in storybook. I added some nice test cases for input states, which is easily our most annoying component. I also added console logging to storybook via an addon https://storybook.js.org/addons/@storybook/addon-console

Why's this needed?

Fixes CI in #32 so we can merge
Parity with tgstation inputs

Is there a relevant tgui-styles PR associated with this one?

N/A

@jlsnow301 jlsnow301 closed this Nov 22, 2024
@jlsnow301 jlsnow301 reopened this Nov 22, 2024
@ZeWaka ZeWaka enabled auto-merge (squash) November 22, 2024 21:24
@ZeWaka ZeWaka merged commit 160dcb6 into main Nov 22, 2024
2 checks passed
@ZeWaka ZeWaka deleted the two-fixes branch November 22, 2024 21:25
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