Skip to content

Commit

Permalink
Remove treefam app from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 6, 2024
1 parent 63d0513 commit cecb3b0
Show file tree
Hide file tree
Showing 25 changed files with 237 additions and 2,733 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@emotion/react": "^11.10.8",
"@emotion/styled": "^11.10.8",
"@jbrowse/core": "^2.13.1",
"@mui/material": "^5.0.0",
"@mui/material": "^6.0.2",
"@mui/x-data-grid": "^7.12.0",
"buffer": "^6.0.3",
"gh-pages": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
},
"dependencies": {
"@eslint/js": "^9.8.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/icons-material": "^6.0.2",
"@mui/material": "^6.0.2",
"@types/node": "^22.1.0",
"clustal-js": "^2.0.0",
"colord": "^2.9.3",
Expand Down
14 changes: 10 additions & 4 deletions lib/src/components/tree/TreeNodeMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ const TreeMenu = observer(function ({
onClose,
model,
}: {
node: { x: number; y: number; name: string; id: string }
node: {
x: number
y: number
name: string
id: string
}
model: MsaViewModel
onClose: () => void
}) {
const { collapsed, collapsedLeaves } = model
const { name } = node
return (
<Menu
anchorReference="anchorPosition"
Expand All @@ -31,7 +37,7 @@ const TreeMenu = observer(function ({
onClose={onClose}
>
<MenuItem dense disabled>
{node.name}
{name}
</MenuItem>

<MenuItem
Expand All @@ -40,9 +46,9 @@ const TreeMenu = observer(function ({
model.queueDialog(onClose => [
TreeNodeInfoDialog,
{
info: model.getRowData(node.name),
info: model.getRowData(name),
model,
nodeName: node.name,
nodeName: name,
onClose,
},
])
Expand Down
1 change: 1 addition & 0 deletions lib/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as MSAView } from './components/Loading'
export { default as MSAModelF, type MsaViewModel } from './model'
console.log('wtf')

Check warning on line 3 in lib/src/index.ts

View workflow job for this annotation

GitHub Actions / Test and typecheck on node 20.x and ubuntu-latest

Unexpected console statement
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"license": "MIT",
"workspaces": [
"lib",
"app",
"app2",
"treefam_app"
"app"
],
"scripts": {
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
Expand All @@ -18,8 +16,8 @@
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.8.0",
"@jbrowse/core": "^2.13.1",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/icons-material": "^6.0.2",
"@mui/material": "^6.0.2",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
Expand Down
24 changes: 0 additions & 24 deletions treefam_app/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions treefam_app/index.html

This file was deleted.

38 changes: 0 additions & 38 deletions treefam_app/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions treefam_app/postcss.config.js

This file was deleted.

1 change: 0 additions & 1 deletion treefam_app/public/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion treefam_app/public/vite.svg

This file was deleted.

Loading

0 comments on commit cecb3b0

Please sign in to comment.