Skip to content
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

Rename exports #82

Merged
merged 3 commits into from
Feb 19, 2020
Merged

Rename exports #82

merged 3 commits into from
Feb 19, 2020

Conversation

mccalluc
Copy link
Contributor

Nils really wants the rename before Indiana starts using it. I think this was the name decided upon? Will follow up with renaming internals, but that doesn't need to block the next NPM release.

CHANGELOG.md Outdated
@@ -13,6 +13,7 @@
### Changed

- Fixed no-unused-expressions
- Removed `Microscopy` from export names
Copy link
Collaborator

Choose a reason for hiding this comment

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

The next release is 0.0.6 now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool: Just pushed an update. (I've been putting "in progress" on the latest entry in the vitessce changelog, and stubbing out a new empty section when I make a release, so I remember to put incoming notes in the right place.)

src/index.js Outdated
@@ -1,4 +1,4 @@
import { MicroscopyViewerLayer } from './layers';
import { MicroscopyViewer } from './microscopy-viewer';

export { MicroscopyViewerLayer, MicroscopyViewer };
export { MicroscopyViewerLayer as ViewerLayer, MicroscopyViewer as Viewer };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not here, but I think we need to change MicroscopyViewerLayerBase as well for consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes: I just wanted to make a PR that had the least chance of causing any merge headaches for now, and I'll be happy to do a thorough renaming afterwards. (but if you think consistency now is more important than getting something out quickly, that's reasonable, too.)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok. I think it might be worth discussing calling the layer TileViewerLayer in anticipation of having an ImageViewerLayer (for mass-spec/codex). @manzt Do you have any opinions here? I think we'll need a wrapper around XRLayer but I am not sure.

@mccalluc mccalluc merged commit dc83bbe into master Feb 19, 2020
@mccalluc mccalluc deleted the mccalluc/rename-exports branch February 19, 2020 17:25
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.

None yet

2 participants