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 6 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.88%. Comparing base (e5c17d8) to head (1ea040d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
- Coverage   72.88%   72.88%   -0.01%     
==========================================
  Files         534      534              
  Lines       33455    33450       -5     
  Branches     2981     2981              
==========================================
- Hits        24385    24380       -5     
  Misses       8875     8875              
  Partials      195      195              
Flag Coverage Δ
javascript 75.76% <100.00%> (-0.01%) ⬇️
unittests 60.44% <ø> (ø)

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