Skip to content

Feature/unmodified state#30

Merged
meganrm merged 9 commits intomasterfrom
feature/unmodified-state
Oct 8, 2020
Merged

Feature/unmodified state#30
meganrm merged 9 commits intomasterfrom
feature/unmodified-state

Conversation

@meganrm
Copy link
Copy Markdown
Contributor

@meganrm meganrm commented Oct 7, 2020

This implements the the empty string tag as the unmodified state to pass to the viewer.

resolves https://aicsjira.corp.alleninstitute.org/browse/AGENTVIZ-1050

Pull request recommendations:

  • Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
  • Link to any relevant issue in the PR description. Ex: Resolves [gh-##], adds tiff file format support
  • Provide description and context of changes.
  • Provide relevant tests for your feature or bug fix.
  • Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

@meganrm meganrm requested review from a user, blairlyons, schoinh and toloudis October 7, 2020 18:00
Comment thread src/state/selection/selectors.ts Outdated
if (agent.displayStates && agent.displayStates.length > 0) {
acc[agent.name] = [
agent.name,
"", // unmodified state
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it is worth making "" a symbolic constant.

Copy link
Copy Markdown
Contributor

@schoinh schoinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@meganrm meganrm merged commit 82100d9 into master Oct 8, 2020
@meganrm meganrm deleted the feature/unmodified-state branch October 8, 2020 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants