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

Provide support for custom neuroglancer URL #2

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

aaronkanzer
Copy link

No description provided.

Copy link

netlify bot commented Mar 19, 2024

Deploy Preview for neuroglancer-lincbrain ready!

Name Link
🔨 Latest commit 2e2d250
🔍 Latest deploy log https://app.netlify.com/sites/neuroglancer-lincbrain/deploys/65fb0216038bb50008add852
😎 Deploy Preview https://deploy-preview-2--neuroglancer-lincbrain.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@aaronkanzer
Copy link
Author

aaronkanzer commented Oct 15, 2024

@kabilar just noting -- if we ever want to merge neuroglancer for private assets back upstream, this would be the ideal code we would need to clean up/merge

I'm on the fence for prioritizing this right now until we have DANDI clone refined

@kabilar
Copy link
Member

kabilar commented Oct 16, 2024

Thank you, @aaronkanzer. Thats good to know. I agree that we don't need to prioritize merging this upstream to google/neuroglancer now. Should we merge it to lincbrain/neuroglancer?

Comment on lines +189 to +195
// if (protocol === "https" && path.length > 0) {
// return await getHtmlPathCompletions(
// parsedUrl,
// cancellationToken,
// credentialsProvider,
// );
// }
Copy link
Member

Choose a reason for hiding this comment

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

I lean towards removing commented code.

Suggested change
// if (protocol === "https" && path.length > 0) {
// return await getHtmlPathCompletions(
// parsedUrl,
// cancellationToken,
// credentialsProvider,
// );
// }

@@ -199,6 +199,7 @@ def get(self, viewer_token, path):
query = self.request.query
if query:
query = f"?{query}"
# Aaron
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Aaron

Comment on lines +1 to +3
# Default ignored files
/shelf/
/workspace.xml
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Default ignored files
/shelf/
/workspace.xml
# Default ignored files
/shelf/
/workspace.xml
.DS_Store

Copy link
Member

Choose a reason for hiding this comment

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

Let's remove this file.

Comment on lines +18 to +25
# Install project dependencies
# RUN npm i

# Vue CLI serves on port 8080 by default, expose that port
# EXPOSE 8080

# Command to run the app using npm
# CMD ["npm", "run", "dev-server"]
Copy link
Member

Choose a reason for hiding this comment

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

Should we remove these commands?

Copy link
Member

@kabilar kabilar left a comment

Choose a reason for hiding this comment

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

Thanks @aaronkanzer. I provided a few suggestions, but I don't know enough TypeScript to provide a thorough review.

@aaronkanzer
Copy link
Author

@kabilar -- thanks for the review -- after re-reading my code here, I think I might hold off on merging this until we have MIT storage onboard (e.g. the way that we fetch assets from Engaging might be drastically different)

Considering our neuroglancer instance is stable, I figured punting this for now would be alright -- let me know if you'd like me to close

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.

2 participants