Skip to content

Commit

Permalink
fix: file downloads from the files tab are not working (#4154) (#4165)
Browse files Browse the repository at this point in the history
Co-authored-by: Fran McDade <franmcdade@Frans-MacBook-Pro.local>
  • Loading branch information
frano-m and Fran McDade authored Sep 23, 2024
1 parent f223352 commit 90053da
Show file tree
Hide file tree
Showing 12 changed files with 3,063 additions and 1,508 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ExportMethodProps,
} from "@databiosphere/findable-ui/lib/components/Export/components/ExportMethod/exportMethod";
import { useExploreState } from "@databiosphere/findable-ui/lib/hooks/useExploreState";
import React, { Fragment, useEffect, useState } from "react";
import { Fragment, useEffect, useState } from "react";
import { FEATURE_FLAGS } from "../../../../../viewModelBuilders/common/contants";

export const ExportMethod = ({ ...props }: ExportMethodProps): JSX.Element => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { MANIFEST_DOWNLOAD_FORMAT } from "@databiosphere/findable-ui/lib/apis/az
import { FileManifestDownload } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload";
import { ManifestDownloadEntityProps } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity";
import { useRequestFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useRequestFileManifest";
import React from "react";

export const ManifestDownloadEntity = ({
filters,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { BetaAnnouncement as GeneralAnnouncement } from "../../../../../MDXContent/anvil-cmg";
import { Banner } from "./betaAnnouncement.styles";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Banner } from "@databiosphere/findable-ui/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles";
import React from "react";

export const SessionTimeout = ({ ...props }): JSX.Element => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BannerPrimary } from "@databiosphere/findable-ui/lib/components/common/Banner/components/BannerPrimary/bannerPrimary";
import React from "react";

export const SystemIndexing = ({ ...props }): JSX.Element => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BannerPrimary } from "@databiosphere/findable-ui/lib/components/common/Banner/components/BannerPrimary/bannerPrimary";
import React from "react";

export const SystemStatus = ({ ...props }): JSX.Element => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { Summary } from "@databiosphere/findable-ui/lib/components/Export/compon
import { ANCHOR_TARGET } from "@databiosphere/findable-ui/lib/components/Links/common/entities";
import { ViewContext } from "@databiosphere/findable-ui/lib/config/entities";
import {
FileFacet,
FILE_MANIFEST_TYPE,
FileFacet,
} from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities";
import {
findFacet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnalysisPortal, ANALYSIS_PORTAL, ProjectEdit } from "./entities";
import { ANALYSIS_PORTAL, AnalysisPortal, ProjectEdit } from "./entities";

const cxgIcon = "/images/icons/cxg.png";
const genomeBrowserIcon = "/images/icons/ucsc-genome.svg";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { ANCHOR_TARGET } from "@databiosphere/findable-ui/lib/components/Links/c
import { getConfig } from "@databiosphere/findable-ui/lib/config/config";
import { ViewContext } from "@databiosphere/findable-ui/lib/config/entities";
import {
FileFacet,
FILE_MANIFEST_TYPE,
FileFacet,
} from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities";
import {
findFacet,
Expand Down
2 changes: 1 addition & 1 deletion explorer/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Loading

0 comments on commit 90053da

Please sign in to comment.