Skip to content

Commit

Permalink
Append .vue suffix to all vue components.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 18, 2024
1 parent 658636d commit 8799178
Show file tree
Hide file tree
Showing 186 changed files with 396 additions and 396 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Annotation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>

<script>
import ClickToEdit from "./ClickToEdit";
import ClickToEdit from "./ClickToEdit.vue";
import DebouncedInput from "./DebouncedInput";
export default {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DATA from "@tests/test-data/paired-collection-creator.data.js";
import { mount, shallowMount } from "@vue/test-utils";
import PairedListCollectionCreator from "@/components/Collections/PairedListCollectionCreator";
import PairedListCollectionCreator from "@/components/Collections/PairedListCollectionCreator.vue";

describe("PairedListCollectionCreator", () => {
let wrapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ import Vue from "vue";
import draggable from "vuedraggable";
import mixin from "./common/mixin";
import PairedElementView from "./PairedElementView";
import UnpairedDatasetElementView from "./UnpairedDatasetElementView";
import PairedElementView from "./PairedElementView.vue";
import UnpairedDatasetElementView from "./UnpairedDatasetElementView.vue";
Vue.use(BootstrapVue);
export default {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Collections/common/mixin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CollectionCreator from "./CollectionCreator";
import CollectionCreator from "./CollectionCreator.vue";

export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormBoolean.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormBoolean from "./FormBoolean";
import FormBoolean from "./FormBoolean.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormCheck.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import MountTarget from "./FormCheck";
import MountTarget from "./FormCheck.vue";

const localVue = getLocalVue(true);

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormHidden.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormHidden from "./FormHidden";
import FormHidden from "./FormHidden.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormInput.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormInput from "./FormInput";
import FormInput from "./FormInput.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormNumber.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { mount } from "@vue/test-utils";
import flushPromises from "flush-promises";
import { getLocalVue } from "tests/jest/helpers";

import FormNumber from "./FormNumber";
import FormNumber from "./FormNumber.vue";

const localVue = getLocalVue();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormOptionalText from "./FormOptionalText";
import FormOptionalText from "./FormOptionalText.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormOptionalText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script>
import FormText from "./FormText";
import FormText from "./FormText.vue";
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormRadio.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import MountTarget from "./FormRadio";
import MountTarget from "./FormRadio.vue";

const localVue = getLocalVue(true);

Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Form/Elements/FormRulesEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faEdit } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import RuleCollectionBuilder from "@/components/RuleCollectionBuilder";
import RulesDisplay from "@/components/RulesDisplay/RulesDisplay";
import RuleCollectionBuilder from "@/components/RuleCollectionBuilder.vue";
import RulesDisplay from "@/components/RulesDisplay/RulesDisplay.vue";
import { computed, ref } from "vue";
import { fetchCollectionDetails } from "@/api/datasetCollections";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormText.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormText from "./FormText";
import FormText from "./FormText.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/Elements/FormUpload.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormUpload from "./FormUpload";
import FormUpload from "./FormUpload.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/FormCard.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormCard from "./FormCard";
import FormCard from "./FormCard.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/FormDisplay.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormDisplay from "./FormDisplay";
import FormDisplay from "./FormDisplay.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/FormDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script>
import Vue from "vue";
import FormInputs from "./FormInputs";
import FormInputs from "./FormInputs.vue";
import { matchInputs, validateInputs, visitInputs } from "./utilities";
export default {
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/Form/FormElement.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormHidden from "./Elements/FormHidden";
import FormText from "./Elements/FormText";
import FormElement from "./FormElement";
import FormHidden from "./Elements/FormHidden.vue";
import FormText from "./Elements/FormText.vue";
import FormElement from "./FormElement.vue";

const localVue = getLocalVue();

Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Form/FormGeneric.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</template>

<script>
import FormCard from "@/components/Form/FormCard";
import FormDisplay from "@/components/Form/FormDisplay";
import FormCard from "@/components/Form/FormCard.vue";
import FormDisplay from "@/components/Form/FormDisplay.vue";
import { visitInputs } from "@/components/Form/utilities";
import { UrlDataProvider } from "@/components/providers/UrlDataProvider";
import { withPrefix } from "@/utils/redirect";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Form/FormMessage.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import FormMessage from "./FormMessage";
import FormMessage from "./FormMessage.vue";

jest.mock("app");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import CollectionDescription from "./CollectionDescription";
import CollectionDescription from "./CollectionDescription.vue";
import { JobStateSummary } from "./JobStateSummary";

const localVue = getLocalVue();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import CollectionProgress from "./CollectionProgress";
import CollectionProgress from "./CollectionProgress.vue";
import { JobStateSummary } from "./JobStateSummary";

const localVue = getLocalVue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";
import VueRouter from "vue-router";

import GenericElement from "./GenericElement";
import GenericElement from "./GenericElement.vue";

jest.mock("components/History/model/queries");

Expand Down
4 changes: 2 additions & 2 deletions client/src/components/History/Content/GenericItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import { DatasetCollectionElementProvider } from "@/components/providers/storePr
import { useHistoryStore } from "@/stores/historyStore";
import { errorMessageAsString } from "@/utils/simple-error";
import ContentItem from "./ContentItem";
import GenericElement from "./GenericElement";
import ContentItem from "./ContentItem.vue";
import GenericElement from "./GenericElement.vue";
export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ import {
unhideSelectedContent,
} from "@/components/History/model/crud";
import { DatatypesProvider, DbKeyProvider } from "@/components/providers";
import SingleItemSelector from "@/components/SingleItemSelector";
import SingleItemSelector from "@/components/SingleItemSelector.vue";
import { StatelessTags } from "@/components/Tags";
import { GalaxyApi } from "@/api";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/History/HistoryFilters.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { STATES } from "@/components/History/Content/model/states";
import StatesInfo from "@/components/History/Content/model/StatesInfo";
import StatesInfo from "@/components/History/Content/model/StatesInfo.vue";
import Filtering, {
compare,
contains,
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/History/HistoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ import { isAnonymousUser } from "@/api";
import { useHistoryStore } from "@/stores/historyStore";
import { useUserStore } from "@/stores/userStore";
import CollectionPanel from "./CurrentCollection/CollectionPanel";
import HistoryPanel from "./CurrentHistory/HistoryPanel";
import CopyModal from "./Modals/CopyModal";
import CollectionPanel from "./CurrentCollection/CollectionPanel.vue";
import HistoryPanel from "./CurrentHistory/HistoryPanel.vue";
import CopyModal from "./Modals/CopyModal.vue";
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/History/Layout/DetailsLayout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createPinia } from "pinia";
import { useUserStore } from "@/stores/userStore";
import { getLocalVue } from "tests/jest/helpers";

import DetailsLayout from "./DetailsLayout";
import DetailsLayout from "./DetailsLayout.vue";

const localVue = getLocalVue();

Expand Down
4 changes: 2 additions & 2 deletions client/src/components/HistoryExport/ToLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
<script>
import axios from "axios";
import BootstrapVue from "bootstrap-vue";
import JobError from "@/components/JobInformation/JobError";
import JobError from "@/components/JobInformation/JobError.vue";
import { waitOnJob } from "@/components/JobStates/wait";
import LoadingSpan from "@/components/LoadingSpan";
import LoadingSpan from "@/components/LoadingSpan.vue";
import { getAppRoot } from "@/onload/loadConfig";
import { errorMessageAsString } from "@/utils/simple-error";
import Vue from "vue";
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/HistoryExport/ToRemoteFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<script>
import axios from "axios";
import BootstrapVue from "bootstrap-vue";
import ExportForm from "@/components/Common/ExportForm";
import JobError from "@/components/JobInformation/JobError";
import ExportForm from "@/components/Common/ExportForm.vue";
import JobError from "@/components/JobInformation/JobError.vue";
import { waitOnJob } from "@/components/JobStates/wait";
import LoadingSpan from "@/components/LoadingSpan";
import LoadingSpan from "@/components/LoadingSpan.vue";
import { getAppRoot } from "@/onload/loadConfig";
import { errorMessageAsString } from "@/utils/simple-error";
import Vue from "vue";
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/HistoryImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { refDebounced } from "@vueuse/core";
import axios from "axios";
import BootstrapVue from "bootstrap-vue";
import JobError from "@/components/JobInformation/JobError";
import JobError from "@/components/JobInformation/JobError.vue";
import { waitOnJob } from "@/components/JobStates/wait";
import LoadingSpan from "@/components/LoadingSpan";
import LoadingSpan from "@/components/LoadingSpan.vue";
import { getAppRoot } from "@/onload/loadConfig";
import { errorMessageAsString } from "@/utils/simple-error";
import Vue, { ref, watch } from "vue";
import { fetchFileSources } from "@/api/remoteFiles";
import ExternalLink from "./ExternalLink";
import ExternalLink from "./ExternalLink.vue";
import FilesInput from "@/components/FilesDialog/FilesInput.vue";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Indices/SharingIndicators.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { shallowMount } from "@vue/test-utils";
import { getLocalVue } from "tests/jest/helpers";

import SharingIndicators from "./SharingIndicators";
import SharingIndicators from "./SharingIndicators.vue";

const localVue = getLocalVue();

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Indices/filtersMixin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import IndexFilter from "@/components/Indices/IndexFilter";
import IndexFilter from "@/components/Indices/IndexFilter.vue";

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PiniaVuePlugin, setActivePinia } from "pinia";
import { useEntryPointStore } from "@/stores/entryPointStore";
import { getLocalVue } from "tests/jest/helpers";

import InteractiveTools from "./InteractiveTools";
import InteractiveTools from "./InteractiveTools.vue";
import testInteractiveToolsResponse from "./testData/testInteractiveToolsResponse";

describe("InteractiveTools/InteractiveTools.vue", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import UtcDate from "@/components/UtcDate";
import UtcDate from "@/components/UtcDate.vue";
import { getAppRoot } from "@/onload/loadConfig";
import { mapActions, mapState } from "pinia";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/JobInformation/CodeRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faCompressAlt, faExpandAlt } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import HelpText from "@/components/Help/HelpText";
import HelpText from "@/components/Help/HelpText.vue";
library.add(faCompressAlt, faExpandAlt);
export default {
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/JobInformation/JobDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</template>

<script>
import JobMetrics from "@/components/JobMetrics/JobMetrics";
import JobMetrics from "@/components/JobMetrics/JobMetrics.vue";
import JobInformation from "./JobInformation";
import JobInformation from "./JobInformation.vue";
import CodeRow from "./CodeRow.vue";
import JobParameters from "@/components/JobParameters/JobParameters.vue";
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/JobInformation/JobInformation.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup>
import CopyToClipboard from "@/components/CopyToClipboard";
import HelpText from "@/components/Help/HelpText";
import CopyToClipboard from "@/components/CopyToClipboard.vue";
import HelpText from "@/components/Help/HelpText.vue";
import { JobDetailsProvider } from "@/components/providers/JobProvider";
import UtcDate from "@/components/UtcDate";
import UtcDate from "@/components/UtcDate.vue";
import { NON_TERMINAL_STATES } from "@/components/WorkflowInvocationState/util";
import { formatDuration, intervalToDuration } from "date-fns";
import { computed, ref } from "vue";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/JobInformation/JobOutputs.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { shallowMount } from "@vue/test-utils";

import JobOutputs from "./JobOutputs";
import JobOutputs from "./JobOutputs.vue";

jest.mock("components/providers/DatasetCollectionProvider");

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/JobInformation/JobOutputs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</template>

<script>
import GenericHistoryItem from "@/components/History/Content/GenericItem";
import GenericHistoryItem from "@/components/History/Content/GenericItem.vue";
export default {
components: {
Expand Down
Loading

0 comments on commit 8799178

Please sign in to comment.