From 0d6de7d2656ac00b7b9fbde638ea41398bc47b64 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 30 Oct 2025 18:32:01 -0400 Subject: [PATCH] Remove library.add() calls from Vue components Updated components to import icon objects directly instead of using library.add(). Components now bind icons with :icon="faIconName" rather than icon="fa-icon-name". --- .../src/components/Citation/CitationItem.vue | 3 -- .../common/CellDiscardComponent.vue | 6 +-- .../common/CellStatusComponent.vue | 9 ++--- .../Collections/common/CollectionEditView.vue | 5 +-- .../common/PairedDatasetCellComponent.vue | 12 +++--- .../sheet/DownloadWorkbookButton.vue | 5 +-- client/src/components/Common/DelayedInput.vue | 3 -- client/src/components/Common/FilterMenu.vue | 3 -- .../components/Common/FilterMenuDropdown.vue | 3 -- .../src/components/Common/FilterMenuInput.vue | 3 -- .../Common/FilterObjectStoreLink.vue | 5 +-- client/src/components/Common/ListHeader.vue | 3 -- .../ConfigTemplates/VaultSecret.vue | 3 -- client/src/components/CopyToClipboard.vue | 10 +++-- client/src/components/Dataset/DatasetName.vue | 5 +-- .../DatasetInformation/DatasetAttributes.vue | 3 -- .../DatasetInformation/DatasetSource.vue | 3 -- client/src/components/DragGhost.vue | 3 -- client/src/components/ExternalLink.vue | 5 +-- .../Form/Elements/FormDirectory.vue | 18 +++++---- .../Form/Elements/FormRulesEdit.vue | 5 +-- .../components/Form/Elements/FormSelect.vue | 3 -- .../Form/Elements/FormSelection.vue | 5 +-- client/src/components/Form/FormCard.vue | 13 +++---- client/src/components/Form/FormElement.vue | 5 --- client/src/components/GalaxyWizard.vue | 2 - .../Grid/GridElements/GridExpand.vue | 3 -- client/src/components/Grid/GridList.vue | 9 ++--- client/src/components/Grid/GridPage.vue | 3 -- .../src/components/Grid/GridVisualization.vue | 4 -- .../History/Archiving/IncludedBadge.vue | 7 +--- .../History/Content/ContentItem.vue | 11 +----- .../Content/Dataset/DatasetActions.vue | 3 -- .../Content/Dataset/DatasetDownload.vue | 3 -- .../CollectionNavigation.vue | 3 -- .../History/CurrentHistory/HistoryCounter.vue | 5 +-- .../History/CurrentHistory/HistoryEmpty.vue | 3 -- .../CurrentHistory/HistoryMessages.vue | 3 -- .../HistoryOperations/DefaultOperations.vue | 3 -- .../HistoryOperations/HistoryOperations.vue | 3 -- .../components/History/HistoryIndicators.vue | 3 -- .../History/Layout/DetailsLayout.vue | 3 -- .../History/Multiple/MultipleView.vue | 5 +-- .../History/Multiple/MultipleViewItem.vue | 3 -- .../History/Multiple/MultipleViewList.vue | 3 -- .../History/SwitchToHistoryLink.vue | 3 -- .../components/HistoryExport/ExportLink.vue | 6 +-- client/src/components/HistoryImport.vue | 13 +++---- client/src/components/Indices/IndexFilter.vue | 9 ++--- .../components/Indices/SharingIndicators.vue | 11 ++---- .../InheritanceChain/InheritanceChain.vue | 6 +-- .../src/components/JobInformation/CodeRow.vue | 6 +-- .../components/JobInformation/JobError.vue | 5 +-- .../CarbonEmissions/CarbonEmissions.vue | 5 +-- .../CarbonEmissions/CarbonEmissionsIcon.vue | 28 ++++---------- .../FolderDetails/FolderDetails.vue | 4 -- .../LibraryFolderDataset/LibraryDataset.vue | 5 --- .../components/Markdown/MarkdownEditor.vue | 4 -- .../Broadcasts/BroadcastContainer.vue | 11 ------ .../Notifications/NotificationsBell.vue | 3 -- .../Notifications/NotificationsList.vue | 13 +++---- .../PageEditor/PageEditorMarkdown.vue | 4 -- .../Panels/Common/ToolPanelLinks.vue | 4 -- .../components/Panels/Common/ToolSection.vue | 3 -- client/src/components/Panels/FlexPanel.vue | 4 -- .../src/components/Panels/MultiviewPanel.vue | 5 +-- client/src/components/Popper/Popper.vue | 4 -- .../components/SchemaOrg/CreatorEditor.vue | 10 ++--- .../components/SchemaOrg/OrganizationForm.vue | 8 ++-- .../SchemaOrg/OrganizationViewer.vue | 9 ++--- .../src/components/SchemaOrg/PersonForm.vue | 8 ++-- .../src/components/SchemaOrg/PersonViewer.vue | 10 ++--- .../SelectionDialog/DataDialogSearch.vue | 5 +-- .../SelectionDialog/SelectionDialog.vue | 4 +- client/src/components/Sharing/EditableUrl.vue | 9 ++--- .../Sharing/Embeds/WorkflowEmbed.vue | 5 +-- client/src/components/Sharing/SharingPage.vue | 4 -- client/src/components/StsDownloadButton.vue | 8 ++-- .../TagsMultiselect/HeadlessMultiselect.vue | 13 +++---- client/src/components/TagsMultiselect/Tag.vue | 5 +-- client/src/components/Tool/ToolFooter.vue | 18 +++++---- .../components/Tool/ToolSourceMenuItem.vue | 5 +-- .../Tool/ToolTutorialRecommendations.vue | 7 +--- .../ToolEntryPoints/ToolEntryPoints.vue | 12 +++--- .../ToolsList/ScrollToTopButton.vue | 5 +-- client/src/components/Upload/CompositeRow.vue | 15 +++----- client/src/components/Upload/DefaultRow.vue | 9 ++--- client/src/components/Upload/RulesInput.vue | 13 +++---- .../src/components/Upload/UploadExtension.vue | 5 +-- client/src/components/Upload/UploadOption.vue | 7 +--- .../Upload/UploadSelectExtension.vue | 5 +-- .../src/components/Upload/UploadSettings.vue | 5 +-- .../src/components/User/APIKey/APIKeyItem.vue | 5 +-- .../RecoverableItemSizeTooltip.vue | 5 +-- .../User/DiskUsage/Visualizations/util.ts | 3 -- .../NotificationsChannelSettings.vue | 3 -- .../NotificationsPreferences.vue | 3 -- .../Workflow/Editor/Comments/FrameComment.vue | 11 ++---- .../Editor/Comments/MarkdownComment.vue | 7 +--- .../Workflow/Editor/Comments/TextComment.vue | 7 +--- .../Editor/Forms/FormColumnDefinitions.vue | 4 -- .../src/components/Workflow/Editor/Index.vue | 20 +++------- .../src/components/Workflow/Editor/Lint.vue | 9 ++--- .../Workflow/Editor/LintSection.vue | 28 ++++++++------ .../src/components/Workflow/Editor/Node.vue | 5 +-- .../components/Workflow/Editor/NodeInput.vue | 7 +--- .../components/Workflow/Editor/NodeOutput.vue | 17 ++++----- .../Workflow/Editor/SaveChangesModal.vue | 3 -- .../Workflow/Editor/Tools/ToolBar.vue | 37 ++++++------------- .../components/Workflow/Import/TrsSearch.vue | 3 -- .../Workflow/Import/TrsServerSelection.vue | 3 -- .../components/Workflow/Import/TrsTool.vue | 3 -- .../Invocation/Export/ExportButton.vue | 4 +- .../Invocation/Graph/InvocationGraph.vue | 14 +------ .../Workflow/List/WorkflowListActions.vue | 3 -- .../Published/WorkflowInformation.vue | 7 +--- .../Workflow/Published/WorkflowPublished.vue | 5 +-- .../Published/WorkflowPublishedButtons.vue | 5 +-- .../Workflow/Run/WorkflowRunDefaultStep.vue | 5 +-- .../components/Workflow/WorkflowCreate.vue | 3 -- client/src/components/admin/AdminHome.vue | 4 -- .../admin/Notifications/BroadcastCard.vue | 3 -- .../admin/Notifications/BroadcastsList.vue | 3 -- 123 files changed, 225 insertions(+), 597 deletions(-) diff --git a/client/src/components/Citation/CitationItem.vue b/client/src/components/Citation/CitationItem.vue index 5fd1f68053b..bd16fde0a94 100644 --- a/client/src/components/Citation/CitationItem.vue +++ b/client/src/components/Citation/CitationItem.vue @@ -1,13 +1,10 @@ diff --git a/client/src/components/Collections/common/CellStatusComponent.vue b/client/src/components/Collections/common/CellStatusComponent.vue index 8f548aff3bc..9f106ba04f2 100644 --- a/client/src/components/Collections/common/CellStatusComponent.vue +++ b/client/src/components/Collections/common/CellStatusComponent.vue @@ -1,15 +1,12 @@