Skip to content

Commit

Permalink
Move markdown galaxy section components to subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 2, 2024
1 parent 7f5c6fe commit 4ac4207
Show file tree
Hide file tree
Showing 26 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Markdown/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<MarkdownDefault v-if="obj.name === 'default'" :content="obj.content" />
<MarkdownVega v-else-if="obj.name === 'vega'" :content="obj.content" />
<MarkdownVitessce v-else-if="obj.name === 'vitessce'" :content="obj.content" />
<MarkdownContainer
<MarkdownGalaxy
v-else-if="obj.name === 'galaxy'"
:content="obj.content"
:datasets="datasets"
Expand All @@ -75,7 +75,7 @@ import { useWorkflowStore } from "@/stores/workflowStore";
import { parseMarkdown } from "./parse";
import MarkdownContainer from "./MarkdownContainer.vue";
import MarkdownGalaxy from "./Sections/MarkdownGalaxy.vue";
import MarkdownDefault from "./Sections/MarkdownDefault.vue";
import MarkdownVega from "./Sections/MarkdownVega.vue";
import MarkdownVitessce from "./Sections/MarkdownVitessce.vue";
Expand All @@ -90,7 +90,7 @@ library.add(faDownload, faEdit);
export default {
components: {
MarkdownDefault,
MarkdownContainer,
MarkdownGalaxy,
MarkdownVega,
MarkdownVitessce,
FontAwesomeIcon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import flushPromises from "flush-promises";
import { getLocalVue } from "tests/jest/helpers";
import { withPrefix } from "utils/redirect";

import MountTarget from "./MarkdownContainer.vue";
import MountTarget from "./MarkdownGalaxy.vue";

// mock routes
jest.mock("utils/redirect");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { computed, ref } from "vue";

Check failure on line 2 in client/src/components/Markdown/Sections/MarkdownGalaxy.vue

View workflow job for this annotation

GitHub Actions / client-unit-test (18)

Run autofix to sort these imports!
import { useConfig } from "@/composables/config";
import { getArgs } from "@/components/Markdown/parse";
import HistoryDatasetAsImage from "./Elements/HistoryDatasetAsImage.vue";
import HistoryDatasetAsTable from "./Elements/HistoryDatasetAsTable.vue";
Expand All @@ -20,7 +21,6 @@ import Visualization from "./Elements/Visualization.vue";
import WorkflowDisplay from "./Elements/Workflow/WorkflowDisplay.vue";
import WorkflowImage from "./Elements/Workflow/WorkflowImage.vue";
import WorkflowLicense from "./Elements/Workflow/WorkflowLicense.vue";
import { getArgs } from "./parse";
const { config, isConfigLoaded } = useConfig();
Expand Down

0 comments on commit 4ac4207

Please sign in to comment.