Skip to content

Commit

Permalink
Back to stable docusaurus, the figures were messed up with the canaryg
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed May 12, 2023
1 parent 9823479 commit 6fd5bf3
Show file tree
Hide file tree
Showing 9 changed files with 1,168 additions and 1,795 deletions.
2 changes: 1 addition & 1 deletion .ignore
Expand Up @@ -14,7 +14,7 @@ plugins/wiggle/src/util.ts
plugins/protein/src/ProteinReferenceSequenceRenderer/aminoAcids.js
plugins/spreadsheet-view/src/SpreadsheetView/test_data/starfusion_example.fusion_predictions.tsv
products/jbrowse-aws-lambda-functions/
products/jbrowse-desktop/src/JBrowse.test.tsx
products/jbrowse-desktop/src/components/JBrowse.test.tsx
test_data/volvox/names/
products/jbrowse-web/src/sessionSharing.ts
website/docs/models/
Expand Down
16 changes: 7 additions & 9 deletions packages/product-core/src/ui/AboutDialog.tsx
Expand Up @@ -85,6 +85,7 @@ export function AboutContents({ config }: { config: AnyConfigurationModel }) {
const [copied, setCopied] = useState(false)
const conf = readConfObject(config)
const session = getSession(config)
const { classes } = useStyles()

const hideUris =
getConf(session, ['formatAbout', 'hideUris']) ||
Expand Down Expand Up @@ -112,7 +113,7 @@ export function AboutContents({ config }: { config: AnyConfigurationModel }) {
) as { name: string; Component: React.FC<any> }

return (
<>
<div className={classes.content}>
<BaseCard title="Configuration">
{!hideUris ? (
<Button
Expand All @@ -139,18 +140,17 @@ export function AboutContents({ config }: { config: AnyConfigurationModel }) {
</BaseCard>
) : null}
<FileInfoPanel config={config} />
</>
</div>
)
}

export default function AboutDialog({
config,
onClose,
handleClose,
}: {
config: AnyConfigurationModel
onClose: () => void
handleClose: () => void
}) {
const { classes } = useStyles()
const session = getSession(config)
const trackName = getTrackName(config, session)
const { pluginManager } = getEnv(session)
Expand All @@ -163,10 +163,8 @@ export default function AboutDialog({
) as React.FC<any>

return (
<Dialog open onClose={onClose} title={trackName} maxWidth="xl">
<DialogContent className={classes.content}>
<AboutComponent config={config} />
</DialogContent>
<Dialog open onClose={handleClose} title={trackName} maxWidth="xl">
<AboutComponent config={config} />
</Dialog>
)
}
2 changes: 1 addition & 1 deletion products/jbrowse-desktop/src/components/JBrowse.test.tsx
Expand Up @@ -14,7 +14,7 @@ import JBrowseRootModelFactory from '../rootModel'
import configSnapshot from '../../test_data/volvox/config.json'
import sessionModelFactory from '../sessionModel'

jest.mock('./makeWorkerInstance', () => () => {})
jest.mock('../makeWorkerInstance', () => () => {})

type JBrowseRootModel = ReturnType<typeof JBrowseRootModelFactory>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion website/docs/user_guides/alignments_track.md
Expand Up @@ -191,4 +191,4 @@ display" will re-pack features into that area.
Users can create a more compact display of alignments using Track menu->Pileup
settings->Set feature height->Compact

![](/img/alignments/compact.png)
<Figure caption="Compact view of alignments" src="/img/alignments/compact.png" />
8 changes: 4 additions & 4 deletions website/package.json
Expand Up @@ -19,11 +19,11 @@
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^1.1.0",
"@docusaurus/core": "0.0.0-5562",
"@docusaurus/preset-classic": "0.0.0-5562",
"@docusaurus/core": "^2.4.0",
"@docusaurus/preset-classic": "^2.4.0",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mdx-js/react": "^2.3.0",
"@mdx-js/react": "^1.0.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.0",
"acorn": "^8.8.2",
Expand All @@ -36,7 +36,7 @@
"react-player": "^2.12.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "0.0.0-5562",
"@docusaurus/module-type-aliases": "^2.4.0",
"@tsconfig/docusaurus": "^1.0.7",
"typescript": "^5.0.4"
},
Expand Down
2,933 changes: 1,154 additions & 1,779 deletions website/yarn.lock

Large diffs are not rendered by default.

0 comments on commit 6fd5bf3

Please sign in to comment.