Files
OpenFrontIO/src/client
Aotumuri 6431153903 Disable send button when required player not selected in quick chat (#767)
## Description:
This PR prevents players from sending Quick Chat messages that require a
player target ([P1]) unless a player has been selected. The Send button
is now disabled in such cases and visually dimmed for clarity.
## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:
aotumuri

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- The chat send button is now disabled if a required player selection is
missing, preventing unintended sends.

- **Style**
- The chat send button visually indicates when it is disabled with a
gray background and a not-allowed cursor.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-16 16:15:53 -07:00
..
2025-05-04 11:17:04 -07:00
2025-05-10 00:27:18 -04:00
2025-03-31 13:09:27 -07:00
2025-04-04 08:54:09 -07:00
2025-05-15 10:31:36 -07:00
2025-05-12 11:51:40 -07:00
2025-05-14 15:36:31 -04:00
2025-04-12 18:01:01 -07:00
2025-03-25 14:35:14 -07:00
2025-05-15 16:39:40 -07:00
2025-05-08 09:00:25 -07:00