Timmy Huang and bkmartinjr
5ab96ed360
disable formatting rules for eslint and add prettier in lint-staged ( #2355 )
...
* disable formatting rules for eslint and add prettier in lint-staged
* update npm modules
* set plugin-proposal-private-methods to loose
* update snapshots due to popover package update
* add missing quotes
Co-authored-by: bkmartinjr <bruce@chanzuckerberg.com >
2021-07-30 12:27:47 -07:00
Mim Hastie and Timmy Huang
27575b8d86
Added @typescript-eslint/recommended config with suppressions ( #2345 )
...
* Disabled @blueprintjs/classes-constants. #2288 .
* thuang-eslint-bp-off (#2344 )
* Disabled @blueprintjs/classes-constants on webpack dev and shared. #2288 .
* Added TS recommended, suppress lint errors codemod.
* Added per-error/warning ignore for tests.
* Added per-error/warning ignore for configuration.
* Added per-error/warning ignore for src. Removed suppress package.
* Minor linting.
Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com >
2021-07-28 16:06:34 -07:00
934cc5c69b
TS migration. #2288 . ( #2328 )
...
* Added TS. Updated build and linting config. Added types.
* [ts-migrate][.] Rename files from JS/JSX to TS/TSX
Co-authored-by: ts-migrate <>
* [ts-migrate][.] Run TS Migrate
Co-authored-by: ts-migrate <>
* Corrected files mangled by ts-migrate.
* Updated lint config, minor linting.
* Re-enabled Husky.
* Updated tests and config.
* Reverted webpack devtool config.
* Removed obsolete snapshots.
* Added annotations snap.
* Updated tsconfig includes wrt linting.
* Removed ts-migrate.
Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com >
2021-07-26 20:18:17 +00:00
Colin Megill and bkmartinjr
876ceb4d8b
Create / edit geneset description ( #2139 )
...
* geneset description add
* edit geneset description
* default state for desc
* remove log
* naming, todo
* check for both dup name and desc
* fixes
* do not store gene set modal state in history stack
* Update createGenesetDialogue.js
* Update editGenesetNameDialogue.js
Co-authored-by: bkmartinjr <bruce@chanzuckerberg.com >
2021-04-21 19:50:29 -04:00
e6e358ddc8
Gene sets UI, right sidebar refactor ( #2097 )
...
* prototyping
* render histos on open gene set
* prototyping
* render histos on open gene set
* factor out add genes to own component
* remove unused import
* mock reducer
* color by geneset stub
* menus and buttons
* geneset dialogue stub
* remove heatmap mock
* componetize histogram
* reenable add genes
* re-add isuserdefined
* test data
* remove have fetched
* add isExpanded state to gene, and pass to histogram
* expand button
* toggleable
* mini
* bump number of genes to 50
* don't clear diffexp on subset
* move create category to top
* render diffexp as geneset
* geneset show mean expression
* gene set reducer
* add geneset UI reducer
* wire e2e gene set loading prototype
* fix sniffing bug
* fix typo
* add gene modals
* client/src/actions/
* add autosave
* rename data-dir cli param
* add geneset, add gene, delete set
* prototype: remove csv upload placeholder
* handle delete gene from set
* prepopulate geneset with genes from modal
* add geneset: rename action
* icons, language consistency
* chevron after
* handle empty string case on genes for create geneset
* edit geneset
* fix language on create
* copy correction
* add popper2
upgrade react popper
upgrade react popper
adding popover2 package
* truncate uses tooltip2
* gene set button text typo
* remove logging
* moving server over
* remove test imports
* don't try to destructure map, use array.from
* fix add gene map datastructure error
* Revert "fix add gene map datastructure error"
This reverts commit b0eed45952 .
* name --> genesetName, genes --> geneSymbols
* add gene to geneset, temporary format
* handle empty case, clear form input
* lint -- genesets wasn't passed via props
* userinfo
* move genes string to object conversion to action
* remove tmp gene description
* emptystring default for description
* remove empty string
* remove top level package json
* remove package lock as well
* remove flag for feature toggle
* remove comments in geneset
* comment cleanup
* remove comment
* revert diffexp genes to 10
* color by gene set
* disable color by gene set
* Gene menus are now inline, remove dead prototype code
* remove todo, magic number to variable
* remove jshint in rightsidebar
Co-authored-by: Severiano Badajoz <sbadajoz@chanzuckerberg.com >
* remove unused geneset validation code
* tmp format pending geneset description
* move magic number into variable
* reorganize genesetsUI reducer pending tests
* rewire edit given new action name
* add basic validation and feedback for geneset name uniqueness
* mv annoDialog
* mv label, repair paths
* Update client/src/components/brushableHistogram/header.js
Co-authored-by: Severiano Badajoz <sbadajoz@chanzuckerberg.com >
* add imports for icon in histo
* update jest snapshots given blueprint/tooltip2 usage of index -1
* ensure no empty paragraph
* intent from blueprint
* remove remainder of jshint references
* do not push undo when autosave fires
* fix autosave bugs
* remove todos
* clamp to util
* scient to util
* revert clearing diffexp
* rename value to be more specific stacked bar
* clean up logging and commetns
* remove gene entry tests pending rewrite
* tab index -1
* update jest snapshot, blueprint tooltip 2
* caret margin
* snapshot update
* ensure histogram is centered
* add geneset actions to config
* comment maybeScientific
* comment clamp
* comment ui reducer
* remove prototype code
* remove error log
* remove references to bl.ocks
* componetize parseBulkGeneString
* catch case where geneset rename same name
* genesetui reducer tests
* add geneset ui to index reducer config
Co-authored-by: bkmartinjr <bruce@chanzuckerberg.com >
Co-authored-by: Severiano Badajoz <sbadajoz@chanzuckerberg.com >
2021-03-24 16:33:26 -04:00
Bruce Martin
b00496198d
wire up geneset reducer ( #2082 )
...
* first cut at GET /genesets route
* update existing tests to match code changes
* more GET /genesets and initial tests
* add missing test fixture
* geneset validation accepts OTA format
* genesets route: better error handling, more tests
* lint
* genesets reducer and initial load
* fix lint
* add autosave support for genesets
* remove debug logging
* fix typo
* fix another typo
* update smoke test config for genesets
* smoke test fixes
* more fiddling with smoke tests
2021-03-02 12:12:58 -08:00
Severiano Badajoz
6cccc41c0f
run prettier(2.0.5) ( #1438 )
2020-05-04 10:26:42 -07:00
Bruce Martin
7ef5203564
Undo/redo ( #659 )
...
* immutable crossfilter
* first cut at reducer refactor with cascade model
* add initial redo/undo implementation
* small optimization
* integrate expression with history
* add tests for new reducers and fix a couple of small initialization bugs
* treat tiny lasso selections as a clear
* better function name for clarity
* fix undo for differential expression
* remove logging
* fix regression due to bad merge
* cleanup and comments for clarity
* improve undoable configuration for flexibility
* fix stale comments
* remove debugging code from production build
* rename categoricalSelectionState
* rename file
* improve comments
2019-03-22 14:53:48 -07:00