Skip to content

Commit

Permalink
changelog and small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebridge committed Feb 8, 2022
1 parent f9261de commit 44b1f7d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.2.1

- updated annotated widget information to have hierarchy of pathway information
- updated synchronization between reactome pathway table and its coordinating ideogram view
- updated UI to guide user action better based on their workflow

# v1.2.0

- added ability to enhance annotations with reactome pathway data
Expand Down
11 changes: 8 additions & 3 deletions src/model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,18 +204,23 @@ export default function IdeogramView(pluginManager: PluginManager) {
label: 'Show annotations',
icon: HourglassIcon,
type: 'checkbox',
checked: self.showAnnotations === true,
checked:
self.showAnnotations === true &&
self.ideoAnnotations !== undefined,
disabled:
(self.widgetAnnotations === undefined &&
self.isAnalysisResults === true) ||
self.showImportForm === true,
self.showImportForm === true ||
self.ideoAnnotations === undefined,
onClick: () => self.toggleAnnotations(),
},
{
label: 'Refresh Analysis Results Table',
icon: TableChartIcon,
disabled:
self.isAnalysisResults === true || self.showImportForm === true,
self.isAnalysisResults === true ||
self.showImportForm === true ||
self.withReactome === false,
onClick: () => self.refreshTable(),
},
]
Expand Down

0 comments on commit 44b1f7d

Please sign in to comment.