Skip to content

Commit 90053da

Browse files
frano-mFran McDade
andauthored
fix: file downloads from the files tab are not working (#4154) (#4165)
Co-authored-by: Fran McDade <franmcdade@Frans-MacBook-Pro.local>
1 parent f223352 commit 90053da

12 files changed

Lines changed: 3063 additions & 1508 deletions

File tree

explorer/app/components/Export/components/AnVILExplorer/ExportMethod/exportMethod.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
ExportMethodProps,
44
} from "@databiosphere/findable-ui/lib/components/Export/components/ExportMethod/exportMethod";
55
import { useExploreState } from "@databiosphere/findable-ui/lib/hooks/useExploreState";
6-
import React, { Fragment, useEffect, useState } from "react";
6+
import { Fragment, useEffect, useState } from "react";
77
import { FEATURE_FLAGS } from "../../../../../viewModelBuilders/common/contants";
88

99
export const ExportMethod = ({ ...props }: ExportMethodProps): JSX.Element => {

explorer/app/components/Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { MANIFEST_DOWNLOAD_FORMAT } from "@databiosphere/findable-ui/lib/apis/az
22
import { FileManifestDownload } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload";
33
import { ManifestDownloadEntityProps } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity";
44
import { useRequestFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useRequestFileManifest";
5-
import React from "react";
65

76
export const ManifestDownloadEntity = ({
87
filters,

explorer/app/components/common/Banner/components/Announcements/components/BetaAnnouncement/betaAnnouncement.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { BetaAnnouncement as GeneralAnnouncement } from "../../../../../MDXContent/anvil-cmg";
32
import { Banner } from "./betaAnnouncement.styles";
43

explorer/app/components/common/Banner/components/Announcements/components/SessionTimeout/sessionTimeout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Banner } from "@databiosphere/findable-ui/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles";
2-
import React from "react";
32

43
export const SessionTimeout = ({ ...props }): JSX.Element => {
54
return (

explorer/app/components/common/Banner/components/Announcements/components/SystemIndexing/systemIndexing.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { BannerPrimary } from "@databiosphere/findable-ui/lib/components/common/Banner/components/BannerPrimary/bannerPrimary";
2-
import React from "react";
32

43
export const SystemIndexing = ({ ...props }): JSX.Element => {
54
return (

explorer/app/components/common/Banner/components/Announcements/components/SystemStatus/systemStatus.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { BannerPrimary } from "@databiosphere/findable-ui/lib/components/common/Banner/components/BannerPrimary/bannerPrimary";
2-
import React from "react";
32

43
export const SystemStatus = ({ ...props }): JSX.Element => {
54
return (

explorer/app/viewModelBuilders/azul/anvil-cmg/common/viewModelBuilders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import { Summary } from "@databiosphere/findable-ui/lib/components/Export/compon
1919
import { ANCHOR_TARGET } from "@databiosphere/findable-ui/lib/components/Links/common/entities";
2020
import { ViewContext } from "@databiosphere/findable-ui/lib/config/entities";
2121
import {
22-
FileFacet,
2322
FILE_MANIFEST_TYPE,
23+
FileFacet,
2424
} from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities";
2525
import {
2626
findFacet,

explorer/app/viewModelBuilders/azul/hca-dcp/common/projectMapper/projectEdits/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AnalysisPortal, ANALYSIS_PORTAL, ProjectEdit } from "./entities";
1+
import { ANALYSIS_PORTAL, AnalysisPortal, ProjectEdit } from "./entities";
22

33
const cxgIcon = "/images/icons/cxg.png";
44
const genomeBrowserIcon = "/images/icons/ucsc-genome.svg";

explorer/app/viewModelBuilders/azul/hca-dcp/common/viewModelBuilders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import { ANCHOR_TARGET } from "@databiosphere/findable-ui/lib/components/Links/c
2626
import { getConfig } from "@databiosphere/findable-ui/lib/config/config";
2727
import { ViewContext } from "@databiosphere/findable-ui/lib/config/entities";
2828
import {
29-
FileFacet,
3029
FILE_MANIFEST_TYPE,
30+
FileFacet,
3131
} from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities";
3232
import {
3333
findFacet,

explorer/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

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

0 commit comments

Comments
 (0)