Skip to content

Commit

Permalink
Fixed missing import calls; deprecated import calls to Bootstrap-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Jul 15, 2023
1 parent 12f171f commit bf47a65
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ import { DatasetAttributesProvider } from "components/providers/DatasetProvider"
import { setAttributes } from "./services";
import GAlert from "@/component-library/GAlert.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
library.add(faBars, faCog, faDatabase, faExchangeAlt, faRedo, faSave, faUser);
Expand All @@ -115,6 +117,8 @@ export default {
FontAwesomeIcon,
FormDisplay,
GAlert,
GTabs,
GTab,
},
props: {
datasetId: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { library } from "@fortawesome/fontawesome-svg-core";

Check failure on line 2 in client/src/components/History/Archiving/HistoryArchiveWizard.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import { faArchive } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BCard, BTab, BTabs } from "bootstrap-vue";
import { BCard } from "bootstrap-vue";
import { computed, ref } from "vue";
import { RouterLink } from "vue-router";
Expand All @@ -12,6 +12,8 @@ import { useToast } from "@/composables/toast";
import { type HistorySummary, useHistoryStore } from "@/stores/historyStore";
import GAlert from "@/component-library/GAlert.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
import HistoryArchiveExportSelector from "@/components/History/Archiving/HistoryArchiveExportSelector.vue";
import HistoryArchiveSimple from "@/components/History/Archiving/HistoryArchiveSimple.vue";
import LoadingSpan from "@/components/LoadingSpan.vue";
Expand Down
4 changes: 3 additions & 1 deletion client/src/components/History/Export/HistoryExport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { library } from "@fortawesome/fontawesome-svg-core";

Check failure on line 2 in client/src/components/History/Export/HistoryExport.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import { faFileExport } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BButton, BCard, BTab, BTabs } from "bootstrap-vue";
import { BButton, BCard } from "bootstrap-vue";
import LoadingSpan from "components/LoadingSpan";
import { useConfirmDialog } from "composables/confirmDialog";
import { useFileSources } from "composables/fileSources";
Expand All @@ -18,6 +18,8 @@ import { exportToFileSource, getExportRecords, reimportHistoryFromRecord } from
import ExportOptions from "./ExportOptions.vue";
import GAlert from "@/component-library/GAlert.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
import ExportForm from "components/Common/ExportForm.vue";
import ExportRecordDetails from "components/Common/ExportRecordDetails.vue";
import ExportRecordTable from "components/Common/ExportRecordTable.vue";
Expand Down
8 changes: 5 additions & 3 deletions client/src/components/HistoryExport/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,21 @@
</template>

<script>
import { BCard, BTab, BTabs } from "bootstrap-vue";
import { BCard } from "bootstrap-vue";

Check failure on line 30 in client/src/components/HistoryExport/Index.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import exportsMixin from "components/Common/exportsMixin";
import ToLink from "./ToLink.vue";
import ToRemoteFile from "./ToRemoteFile.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
export default {
components: {
ToLink,
ToRemoteFile,
BCard,
BTabs,
BTab,
GTabs,
GTab,
},
mixins: [exportsMixin],
props: {
Expand Down
7 changes: 4 additions & 3 deletions client/src/components/Upload/UploadModalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

<script>
import Backbone from "backbone";

Check failure on line 29 in client/src/components/Upload/UploadModalContent.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import { BTab, BTabs } from "bootstrap-vue";
import { getDatatypesMapper } from "components/Datatypes";
import LoadingSpan from "components/LoadingSpan";
import UploadUtils from "mvc/upload/upload-utils";
Expand All @@ -37,6 +36,8 @@ import Composite from "./Composite";
import Default from "./Default";
import { uploadModelsToPayload } from "./helpers";
import RulesInput from "./RulesInput";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
export default {
components: {
Expand All @@ -45,8 +46,8 @@ export default {
Default,
RulesInput,
LoadingSpan,
BTabs,
BTab,
GTabs,
GTab,
},
props: {
currentHistoryId: { type: String, required: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@
import axios from "axios";

Check failure on line 93 in client/src/components/Workflow/Invocation/Export/Plugins/BioComputeObject/BioComputeObjectExportCard.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import { getRootFromIndexLink } from "onload";
import { getAppRoot } from "onload/loadConfig";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
const getUrl = (path) => getRootFromIndexLink() + path;
export default {
components: {
GTabs,
GTab,
},
props: {
invocationId: {
type: String,
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/Workflow/WorkflowImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import FromFileOrUrl from "./Import/FromFileOrUrl";

Check failure on line 2 in client/src/components/Workflow/WorkflowImport.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import TrsImport from "./Import/TrsImport";
import TrsSearch from "./Import/TrsSearch";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
</script>

<template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { useWorkflowInstance } from "@/composables/useWorkflowInstance";
import ParameterStep from "./ParameterStep.vue";
import WorkflowInvocationStep from "./WorkflowInvocationStep.vue";
import GenericHistoryItem from "components/History/Content/GenericItem.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
const props = defineProps({
invocation: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ import WorkflowInvocationDetails from "./WorkflowInvocationDetails.vue";
import WorkflowInvocationExportOptions from "./WorkflowInvocationExportOptions.vue";
import WorkflowInvocationSummary from "./WorkflowInvocationSummary.vue";
import GAlert from "@/component-library/GAlert.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
export default {
components: {
GAlert,
GTabs,
GTab,
LoadingSpan,
WorkflowInvocationSummary,
WorkflowInvocationDetails,
Expand Down
4 changes: 4 additions & 0 deletions client/src/components/admin/SanitizeAllow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,15 @@ import { getAppRoot } from "onload/loadConfig";
import Message from "../Message.vue";
import BaseGrid from "./BaseGrid.vue";
import GTabs from "@/component-library/GTabs.vue";
import GTab from "@/component-library/GTab.vue";
export default {
components: {
message: Message,
"base-grid": BaseGrid,
GTabs,
GTab,
},
data() {
return {
Expand Down

0 comments on commit bf47a65

Please sign in to comment.