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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copilot Chat: Fix header and chat list UI bugs #1685

Merged
merged 16 commits into from
Jul 7, 2023

Conversation

matthewbolanos
Copy link
Member

@matthewbolanos matthewbolanos commented Jun 22, 2023

Motivation and Context

This change is meant to fix some of the UI bugs in Copilot chat. Most of the changes are localized to just the header and chat list areas of the application to fix font weights, line heights, spacing, and colors.

Description

This change update many of the hardcoded values in the GriffelStyle objects to use Fluent UI tokens instead. Additionally, instead of special values for the brand colors, I added a brand ramp for Semantic Kernel so that the brand colors correctly flowed through all of the components.

Before
image

After
image

Contribution Checklist

@alliscode alliscode requested a review from dehoward June 27, 2023 22:50
@matthewbolanos
Copy link
Member Author

matthewbolanos commented Jun 28, 2023

This PR also fixes #1740

@matthewbolanos matthewbolanos linked an issue Jun 28, 2023 that may be closed by this pull request
dehoward
dehoward previously approved these changes Jun 29, 2023
@shawncal shawncal changed the title Fix header and chat list UI bugs in Copilot chat Copilot Chat: Fix header and chat list UI bugs Jun 29, 2023
gitri-ms
gitri-ms previously approved these changes Jul 7, 2023
@gitri-ms gitri-ms added this pull request to the merge queue Jul 7, 2023
Merged via the queue into microsoft:main with commit 99d5bd9 Jul 7, 2023
12 checks passed
golden-aries pushed a commit to golden-aries/semantic-kernel that referenced this pull request Oct 10, 2023
### Motivation and Context
This change is meant to fix some of the UI bugs in Copilot chat. Most of
the changes are localized to just the header and chat list areas of the
application to fix font weights, line heights, spacing, and colors.

- microsoft#1679
- microsoft#1680
- microsoft#1681
- microsoft#1682
- microsoft#1684
- microsoft#1683

### Description
This change update many of the hardcoded values in the GriffelStyle
objects to use Fluent UI tokens instead. Additionally, instead of
special values for the brand colors, I added a brand ramp for Semantic
Kernel so that the brand colors correctly flowed through all of the
components.

**Before**
<img width="1416" alt="image"
src="https://github.com/microsoft/semantic-kernel/assets/1409190/f0a6ab1b-860b-421c-a6bc-5c6d9305e816">

**After**
<img width="1416" alt="image"
src="https://github.com/microsoft/semantic-kernel/assets/1409190/55eea26f-a92f-4189-8fd2-6ffdd1979088">

### Contribution Checklist
- [x] The code builds clean without any errors or warnings
- [x] The PR follows SK Contribution Guidelines
(https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [x] The code follows the .NET coding conventions
(https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions)
verified with `dotnet format`
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 馃槃

---------

Co-authored-by: Gina Triolo <51341242+gitri-ms@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
6 participants