Skip to content

feat: Implement design for settings modal#479

Merged
cguedes merged 10 commits into
mainfrom
438-settings-modal-styles
Sep 5, 2023
Merged

feat: Implement design for settings modal#479
cguedes merged 10 commits into
mainfrom
438-settings-modal-styles

Conversation

@sehyod

@sehyod sehyod commented Sep 4, 2023

Copy link
Copy Markdown
Collaborator

This implements useful components (Checkbox, Input, ...) and the updated design for the Settings Modal.
The modal can now be closed by clicking outside of it or pressing Escape

Screenshot 2023-09-04 at 14 13 55

Closes #438

@sehyod sehyod requested a review from cguedes September 4, 2023 13:14
@codecov

codecov Bot commented Sep 4, 2023

Copy link
Copy Markdown

Codecov Report

Merging #479 (e53ff01) into main (49729d7) will increase coverage by 0.18%.
The diff coverage is 96.28%.

@@            Coverage Diff             @@
##             main     #479      +/-   ##
==========================================
+ Coverage   80.22%   80.41%   +0.18%     
==========================================
  Files         195      198       +3     
  Lines       11660    11834     +174     
  Branches     1115     1137      +22     
==========================================
+ Hits         9354     9516     +162     
- Misses       2290     2302      +12     
  Partials       16       16              
Files Changed Coverage Δ
src/components/icons.tsx 68.75% <78.43%> (+6.41%) ⬆️
src/components/Dropdown.tsx 71.96% <87.50%> (+7.51%) ⬆️
src/components/Modal.tsx 93.02% <93.02%> (ø)
src/components/Button.tsx 100.00% <100.00%> (ø)
src/components/Checkbox.tsx 100.00% <100.00%> (ø)
src/components/Input.tsx 100.00% <100.00%> (ø)
src/components/SearchBar.tsx 100.00% <100.00%> (ø)
src/components/Slider.tsx 100.00% <100.00%> (ø)
src/features/ai/settings/OpenAiSettingsPane.tsx 100.00% <100.00%> (ø)
src/features/ai/sidebar/ChatPanel.tsx 100.00% <100.00%> (ø)
... and 6 more

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

Comment thread src/settings/SettingsModal.tsx Outdated
Comment thread src/features/ai/settings/OpenAiSettingsPane.tsx Outdated
<div id="chat-tooltip">
<InfoIcon />
</div>
{/* TODO: <Tooltip anchorSelect="#chat-tooltip" /> */}

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.

Should this block the merge?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think it's fine, I'll create a ticket to update the tooltip. The design team is aware of that and is working on the tooltip design and content

@cguedes cguedes merged commit 3614ec4 into main Sep 5, 2023
@cguedes cguedes deleted the 438-settings-modal-styles branch September 5, 2023 12:07
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 settings screen

2 participants