-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add feature flags to explorer #769
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused file
_onURLChanged(): void { | ||
const { dispatch } = this.props; | ||
dispatch({ type: "url changed", url: document.location.href }); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This action doesn't exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for deleting this!
@@ -329,6 +334,23 @@ class MenuBar extends React.PureComponent<{}, State> { | |||
/> | |||
</ButtonGroup> | |||
) : null} | |||
{isSpatial && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temp testing button
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #769 +/- ##
=======================================
Coverage 77.70% 77.70%
=======================================
Files 88 88
Lines 6782 6782
=======================================
Hits 5270 5270
Misses 1512 1512
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really great! Thanks for adding this along with all the PR comments, Seve 🙏 Super helpful!
_onURLChanged(): void { | ||
const { dispatch } = this.props; | ||
dispatch({ type: "url changed", url: document.location.href }); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for deleting this!
@@ -206,6 +206,9 @@ function QuickGene() { | |||
itemDisabled={userDefinedGenesLoading ? () => true : () => false} | |||
noResults={<MenuItem disabled text="No matching genes." />} | |||
onItemSelect={(g) => { | |||
// (seve): I made an attempt at typing this, but it looks like the type of g is not consistent with the type of the argument in onItemSelect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the comment!
#741
This PR adds the ability to add and utilize feature flags in explorer.
Use
?spatial=true
for testing, you should see a new button on the menu bar with a train icon