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

chore: remove class data-files-btn #1029

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Dec 3, 2024

Overview

Remove the unnecessary .data-files-btn class.

Details

This class is assigned to buttons that:

  • either have Bootstrap btn-primary class (in which case .workbench-content .btn-primary styles it)
  • or are our custom <Button> (in which case the composes: c-button styles it)

Related

Changes

  • remove assignment of class
  • remove styles for class

Testing

Verify styles of these buttons are unchanged:

  • "Data Files" → [Add +] button
  • "Data Files" → select a file → [Copy]
  • "Allocations" → [Manage Team]

UI

Data.Files.Add.mov
Data.Files.Copy.mov

Allocations Manage Team

Unavailable to me.1

Notes

Footnotes

  1. I am not in a team that I have permission to manage.

This class is assigned to buttons that:
- **either** have Bootstrap btn-primary
    (in which case the `.workbench-content .btn-primary` styles it)
- **or** are our custom `<Button>`
    (in which case the `composes: c-button` styles it)
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.63%. Comparing base (67a9c23) to head (8b6d642).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
- Coverage   72.64%   72.63%   -0.01%     
==========================================
  Files         534      534              
  Lines       33681    33676       -5     
  Branches     2989     2989              
==========================================
- Hits        24466    24461       -5     
  Misses       9017     9017              
  Partials      198      198              
Flag Coverage Δ
javascript 75.34% <100.00%> (-0.01%) ⬇️
unittests 60.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ataFilesModalTables/DataFilesModalListingTable.jsx 84.46% <100.00%> (ø)
...FilesProjectMembers/_cells/ProjectRoleSelector.jsx 74.02% <ø> (-0.34%) ⬇️
...ts/DataFiles/DataFilesSidebar/DataFilesSidebar.jsx 82.05% <100.00%> (-0.60%) ⬇️

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