Skip to content

Commit

Permalink
Added objects to design tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Drock54651 committed Feb 27, 2025
1 parent 5d5f815 commit 618d6d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/activities.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export const Activities = {
component: ExplorerActivityView,
icon: BsGraphUpArrow,
objectTypesToList: [

ObjectTypes.SBOL.id,
ObjectTypes.SBML.id,
ObjectTypes.OMEX.id,
ObjectTypes.Analysis.id
]
},
Build: {
Expand Down
12 changes: 6 additions & 6 deletions src/objectTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { TbComponents } from "react-icons/tb"
export const ObjectTypes = {
SBOL: {
id: "synbio.object-type.sbol",
title: "SBOL Component",
listTitle: "SBOL Components",
title: "Design",
listTitle: "Designs",
fileMatch: /<sbol:/,
icon: TbComponents,
createable: true,
Expand All @@ -15,16 +15,16 @@ export const ObjectTypes = {
},
SBML: {
id: "synbio.object-type.sbml",
title: "SBML File",
listTitle: "SBML Files",
title: "Model",
listTitle: "Models",
fileMatch: /<sbml/,
createable: false,
badgeLabel: "SBML",
},
OMEX: {
id: "synbio.object-type.omex-archive",
title: "OMEX Archive",
listTitle: "OMEX Archives",
title: "Archive",
listTitle: "Archives",
fileNameMatch: /\.omex$/,
icon: BiWorld,
createable: false,
Expand Down

0 comments on commit 618d6d0

Please sign in to comment.