Skip to content

feat: update styles of rewrite panel#463

Merged
cguedes merged 24 commits into
mainfrom
375-rewrite-panel-styles
Sep 1, 2023
Merged

feat: update styles of rewrite panel#463
cguedes merged 24 commits into
mainfrom
375-rewrite-panel-styles

Conversation

@sehyod

@sehyod sehyod commented Aug 31, 2023

Copy link
Copy Markdown
Collaborator

This updates the styles of the Rewrite Panel

Screen.Recording.2023-08-31.at.17.06.55.mov

Closes #375

@codecov

codecov Bot commented Aug 31, 2023

Copy link
Copy Markdown

Codecov Report

Merging #463 (29df4e8) into main (01525f2) will increase coverage by 0.66%.
The diff coverage is 90.11%.

@@            Coverage Diff             @@
##             main     #463      +/-   ##
==========================================
+ Coverage   79.14%   79.81%   +0.66%     
==========================================
  Files         191      194       +3     
  Lines       11322    11663     +341     
  Branches     1081     1110      +29     
==========================================
+ Hits         8961     9309     +348     
+ Misses       2344     2338       -6     
+ Partials       17       16       -1     
Files Changed Coverage Δ
src/components/icons.tsx 62.33% <57.69%> (-2.37%) ⬇️
src/components/Dropdown.tsx 64.44% <64.44%> (ø)
src/api/rewrite.config.ts 100.00% <100.00%> (ø)
src/application/sidebar/icons.tsx 56.71% <100.00%> (+8.50%) ⬆️
src/components/Button.tsx 100.00% <100.00%> (+100.00%) ⬆️
src/components/PanelWrapper.tsx 100.00% <100.00%> (ø)
src/components/Slider.tsx 100.00% <100.00%> (ø)
src/features/ai/sidebar/ChatPanel.tsx 100.00% <100.00%> (ø)
src/features/ai/sidebar/RewriterPanel.tsx 100.00% <100.00%> (ø)
src/features/components/RewriteOptionsView.tsx 100.00% <100.00%> (ø)
... and 2 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sehyod sehyod changed the title 375 rewrite panel styles feat: update styles of rewrite panel Aug 31, 2023
@cguedes cguedes self-requested a review September 1, 2023 10:32

@cguedes cguedes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Some notes:

  • We should keep the heading "Pick Variation ..." fixed and only scroll the choice

  • I did expected an animation for when switching between variations
    image
    image

  • The sider bg %age is incorrectly computed for this scenario
    image

  • we should have a better text for this popup. Ask Jeff in slack.
    image

  • Create a ticket to implement the rewrite inside the command palette
    image

@sehyod

sehyod commented Sep 1, 2023

Copy link
Copy Markdown
Collaborator Author

Thank you for your comments.

  • I have pushed the fix to make the "Pick Variation" fixed
  • I have asked the design team if they think we should add an animation there
  • I will look into this issue
  • I will ask about the copy, that's why I marked it as TODO in the code
  • The ticket is Update Rewrite Widget component in the command palette #471

@sehyod

sehyod commented Sep 1, 2023

Copy link
Copy Markdown
Collaborator Author

I have updated the tooltip and the design team confirmed there should not be an animation when switching between variations @cguedes

@cguedes cguedes merged commit 96dfcc4 into main Sep 1, 2023
@cguedes cguedes deleted the 375-rewrite-panel-styles branch September 1, 2023 16:02
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.

Design for Rewriter Panel

2 participants