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

UX improvements: A11y labels, fixing space input bug, enabling RLFH, etc. #179

Merged
merged 6 commits into from
Aug 15, 2023

Conversation

teresaqhoang
Copy link
Contributor

@teresaqhoang teresaqhoang commented Aug 15, 2023

Motivation and Context

This PR contains the following UX improvements:

  • Fixes bug where you couldn't enter space when editing chat name on list item
  • Fixes auto-naming bug to match all datetime syntaxes
  • Removes inactive field of RLFH - users can now enable this from settings
  • Adds multiple A11y aria-labels and hover text
  • Limit privacy alert to users in Microsoft tenant only

Description

Persona component was conflicting with "Space" keydown behavior of ChatListItem, so I removed it. Using the title property on the component is sufficient to show hover text:
Screenshot 2023-08-15 at 11 22 04 AM
Screenshot 2023-08-15 at 11 22 56 AM

Contribution Checklist

@teresaqhoang teresaqhoang self-assigned this Aug 15, 2023
@github-actions github-actions bot added webapp Pull requests that update Typescript code PR: ready for review labels Aug 15, 2023
alliscode
alliscode previously approved these changes Aug 15, 2023
glahaye
glahaye previously approved these changes Aug 15, 2023
@teresaqhoang teresaqhoang added this pull request to the merge queue Aug 15, 2023
Merged via the queue into microsoft:main with commit 6d5ba70 Aug 15, 2023
5 checks passed
@teresaqhoang teresaqhoang deleted the ux-improvements branch August 15, 2023 18:49
@teresaqhoang teresaqhoang linked an issue Aug 24, 2023 that may be closed by this pull request
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
…etc. (microsoft#179)

### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

This PR contains the following UX improvements:
- Fixes bug where you couldn't enter space when editing chat name on
list item
- Fixes auto-naming bug to match all datetime syntaxes
- Removes inactive field of RLFH - users can now enable this from
settings
- Adds multiple A11y aria-labels and hover text 
- Limit privacy alert to users in Microsoft tenant only

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Persona component was conflicting with "Space" keydown behavior of
ChatListItem, so I removed it. Using the `title` property on the
component is sufficient to show hover text:
<img width="362" alt="Screenshot 2023-08-15 at 11 22 04 AM"
src="https://github.com/microsoft/chat-copilot/assets/125500434/78cf38ee-0138-485e-9ee7-cee3f2962823">
<img width="341" alt="Screenshot 2023-08-15 at 11 22 56 AM"
src="https://github.com/microsoft/chat-copilot/assets/125500434/4da12ac4-f596-49c2-b863-f3b34af68988">

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
~~- [ ] All unit tests pass, and I have added new tests where possible~~
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webapp Pull requests that update Typescript code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Complete enhancement for chat copilot for customer demos
3 participants