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: Mimics tools behavior when there is only one drawer #1572

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

katiegeorge
Copy link
Member

Description

A single drawer acted slightly different than tools - the entire bar was not clickable (only the icon), and it would keep the trigger bar visible when opened. This PR adjusts those two features so that a single drawer now acts the same as tools.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6c2a761) 94.01% compared to head (9601326) 94.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1572      +/-   ##
==========================================
- Coverage   94.01%   94.00%   -0.01%     
==========================================
  Files         649      649              
  Lines       17524    17533       +9     
  Branches     5753     5760       +7     
==========================================
+ Hits        16475    16482       +7     
- Misses        980      982       +2     
  Partials       69       69              
Files Coverage Δ
src/app-layout/drawer/index.tsx 98.63% <100.00%> (+0.14%) ⬆️
src/app-layout/index.tsx 94.07% <100.00%> (+0.04%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@katiegeorge katiegeorge merged commit 6544a4d into main Sep 25, 2023
31 checks passed
@katiegeorge katiegeorge deleted the kg/single-drawer-behavior branch September 25, 2023 21:49
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.

2 participants