-
Notifications
You must be signed in to change notification settings - Fork 14
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: clarify why marker genes are unavailable #6225
Conversation
Deployment Summary
|
9990f13
to
6f2937d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6225 +/- ##
=======================================
Coverage 91.79% 91.79%
=======================================
Files 175 175
Lines 14207 14207
=======================================
Hits 13042 13042
Misses 1165 1165
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
11e1f08
to
78b3b6f
Compare
LGTM! |
6ef546c
to
19ae852
Compare
/> | ||
</InfoButtonWrapper> | ||
)} | ||
{cellType && cellType.optionId === COMPARE_OPTION_ID_FOR_AGGREGATED && ( |
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.
here, the logic is just updated to always display the info icon button. most of the line changes are just whitespace
3fda70a
to
a5292bc
Compare
@@ -21,7 +21,10 @@ describe("CSV download tests", () => { | |||
}) => { | |||
// set app state | |||
await goToWMG(page, SHARED_LINK_NO_GROUP); | |||
await expect(page.locator("canvas")).not.toHaveCount(0); | |||
|
|||
// Loading WMG with several genes + filters set takes a bit longer to load. We need the filters |
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.
previously, these tests were taking faster to load because the blood cell types didn't have the info icon on them. since this PR adds them in, these tests appear to timeout more frequently. i tried updating the URL's to only have one gene or only one tissue type, but the tests would still timeout with the 10000ms default.
we do want WMG to load faster, but that's out of scope for this PR, so i think increasing the timeout is fine.
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.
LGTM!
Reason for Change
https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/gh/chanzuckerberg/single-cell-data-portal/5608
Changes
shows the info icon for all cell types, and implements the copy changes as described in the figma. there are now 3 "empty states" that we show users:
Testing steps
blood cells
![image](https://private-user-images.githubusercontent.com/5653616/282871030-7297d384-04d6-4d06-987f-b1bf430f7c59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODUyMjQsIm5iZiI6MTczOTM4NDkyNCwicGF0aCI6Ii81NjUzNjE2LzI4Mjg3MTAzMC03Mjk3ZDM4NC0wNGQ2LTRkMDYtOTg3Zi1iMWJmNDMwZjdjNTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTgyODQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDhiNDM4NGQzZGFmNDNmZWI4ODFjYWEzM2I1YmViZWNjYTExZWY2OWUwODcxYWI3ZDk0OWU4OTM1ZjIyNTRjNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.u38j3mRfYSnbSlFvB01AdKpi5Dt_7vMkSHZouCs6YEE)
cell types with < 25 cells
![image](https://private-user-images.githubusercontent.com/5653616/282871103-5b910ee3-55b3-4737-a083-4a9c9ad38fae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODUyMjQsIm5iZiI6MTczOTM4NDkyNCwicGF0aCI6Ii81NjUzNjE2LzI4Mjg3MTEwMy01YjkxMGVlMy01NWIzLTQ3MzctYTA4My00YTljOWFkMzhmYWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTgyODQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2JlZDhkZWQxZGIzZThmODNiYTgwOWIyZTVhMjI4MDg0ZmE0ODNkZTk5OTE3MWJiODYxNWY1NGZhYThhMjg4MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.BhOM0rgptmtkKWoFGuxvb5_VPiDyACxaXF8ecHggNPI)
no marker genes at all
![image](https://private-user-images.githubusercontent.com/5653616/282872787-4963c1ba-97c1-4ae5-9bca-7433f5387117.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODUyMjQsIm5iZiI6MTczOTM4NDkyNCwicGF0aCI6Ii81NjUzNjE2LzI4Mjg3Mjc4Ny00OTYzYzFiYS05N2MxLTRhZTUtOWJjYS03NDMzZjUzODcxMTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTgyODQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDQ1MzIwOWJlY2E2YTA0MTBkMWVjYTI2OWZlMjBmYTIwY2U3MGRjMjI5NTIxNGIzNzAxOTRjNjMxYjBhNWM1YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.BZsJZ1yjWlCeLjgr2uXAMWk3qqfNVDaA5C8u-S0YDAI)
i also updated the
geneUtils.ts
test to verify that the info icon always shows upChecklist 🛎️
Add product, design, and eng as reviewers for rdev review
For UI changes, add screenshots/videos, so the reviewers know what you expect them to see
For UI changes, add e2e tests to prevent regressions
Notes for Reviewer