Skip to content

Commit

Permalink
Merge pull request #9909 from jimchamp/bulk-tagger-dead-code-removal
Browse files Browse the repository at this point in the history
Remove unreferenced `BulkTagger` code
  • Loading branch information
mekarpeles authored Sep 30, 2024
2 parents e36e0a0 + b8d0bae commit 1689116
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
11 changes: 0 additions & 11 deletions openlibrary/plugins/openlibrary/js/bulk-tagger/BulkTagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,6 @@ export class BulkTagger {
*/
this.existingSubjects = new Map()

/**
* Stores arrays of selected menu options.
*
* Tag names are the keys to this map. Corresponding arrays
* will contain menu options having the same name, but different
* types.
*
* @member {Map<String, Array<MenuOption>}
*/
this.menuOptions = new Map()

/**
* Array containing OLIDs of each selected work.
*
Expand Down
55 changes: 0 additions & 55 deletions static/css/components/tagging-menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,6 @@
}
}

.search-subject-row {
display: flex;
align-items: center;
font-size: 16px;
border-bottom: 1px solid @light-grey;
border-top: 1px solid @light-grey;
padding: 7px;
width: 100%;
min-height: 38px;
cursor: pointer;
}

.search-subject-row:hover {
background-color: @button-hover-blue;
}

// Holds the button
.submit-tags-section {
padding: 5px;
Expand Down Expand Up @@ -148,45 +132,6 @@
}
}

.search-subject-row-subject-info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 2px;
margin-left: auto;
}

.search-subject-work-count {
color: @grey;
font-size: 8px;
margin-right: 2px;
}

.search-subject-type {
font-size: 11px;
font-weight: 700;
border-radius: 8px;
padding: 2px 6px;
}

.new-selected-subject-tag {
border: 1px solid @lighter-grey;
padding: 2px 6px;
font-size: 13px;
height: 20px;
width: fit-content;
text-align: center;
}

.remove-selected-subject {
font-size: 11px;
color: @black;
font-weight: bold;
cursor: pointer;
margin-left: 7px;
}

.selected-tag {
color: @black;
cursor: pointer;
Expand Down

0 comments on commit 1689116

Please sign in to comment.