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

feat: Implement design for settings modal #479

Merged
merged 10 commits into from
Sep 5, 2023
Merged

Conversation

sehyod
Copy link
Collaborator

@sehyod sehyod commented Sep 4, 2023

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
Copy link

codecov bot commented Sep 4, 2023

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

src/features/ai/settings/OpenAiSettingsPane.tsx Outdated Show resolved Hide resolved
<div id="chat-tooltip">
<InfoIcon />
</div>
{/* TODO: <Tooltip anchorSelect="#chat-tooltip" /> */}
Copy link
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
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
10 checks passed
@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