-
Notifications
You must be signed in to change notification settings - Fork 4
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
Create Dandisets from the GUIDE #522
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@garrettmflynn If you agree, could you start a mockup of a Figma for such a landing page page?
TypeError: dandi.API is not a constructor
at Button.onClick [as __onClick] |
for more information, see https://pre-commit.ci
For (3), you'll have to reinstall your |
Just fixed (2). Good catch! |
for more information, see https://pre-commit.ci
@CodyCBakerPhD I'll need a bit more information as to what we'll be looking for to complete (1). To make Upload Files to Existing Dandiset and this new Create Dandiset option more interchangeable and obvious, I could simply move the Create Dandiset button directly next to the input—though this seems like this might not encapsulate the requirements you have for new features (e.g. LLM search) and editing existing Dandiset metadata. So here are some questions:
I'm definitely open to re-designing this page in full—though I want to make sure we fully capture all our current and future needs. This sounds like it might be a great conversation for our meeting tomorrow or the next NWB GUIDE meeting :) |
Selector is working again: it seemed to work fine but console did throw this error after displaying the results window Uncaught (in promise) TypeError: Cannot set properties of null (setting 'innerHTML')
at DandiResults.updated (DandiResults.js:54:33) |
Ah... And this is persistent if I close and restart the app |
Since this PR requires this work to debug, I'll also throw in another request Would it be hard to order entries in the selector with draft versions starting from the top instead of the bottom? Those are the more likely targets for uploads, though uploading to an already published one is not impossible or unusual |
Is there an error when the loading is happening? The first error shouldn't change anything related to fetching all of your Dandisets—which is what is happening on the Uploads page on refresh. |
Yeah reordering is quite simple, I'll get on that |
Did a hard restart of the console / gave more time after last shut down and that seemed to reset the page Only thing I notice otherwise is the thing on the conda console (not the app dev console)
|
But oddly, the form contents didn't get stuck this time, still see previous error on dev console though |
The issue is sporadic for me and seems to affect other things on the app I just let it close down and waited for about a minute (it also tends to get stuck on the 'killing all active processes bit' then got on next launch The connection to the backend also otherwise stalls out even if I don't get this message |
Hmmm that's weird. I don't have it on my system—and since it's a certificate issue, I think it'll be mostly an issue on your system. I'll try on my Windows PC to see if it pops up there. Otherwise the ordering and HTML-related error have been fixed. |
Can you see if it's fixed by running |
OK, pretty weird issue, present on After a successful upload to dandi using the app, I close down the app and then reboot it After reboot, it never connects to the backend, and the uploads page says it's waiting to connect to the Flask server (different display message on main, but I assume same cause) No errors on any console Attempting to exit the app at this point closes the main window but gets stuck on the 'Killing all previous processes' in the main console |
This is on a completely fresh environment following a hard reboot to clear some process that was preventing removal of the SLL .dll files in the conda environment |
After like 5 minutes of waiting, this did just randomly pop up in the dev console index.ts:63 Uncaught (in promise) ReferenceError: statusBar is not defined
at pythonServerClosed (index.ts:63:3)
at EventEmitter.pythonServerOpened (index.ts:55:15) |
And at the same time as that, the backend printed the usual
but still claims to not be connected to the backend - but the app can now successfully close down as usual |
We caught the |
Ah sure. The form waits for two conditions:
So if the server is down, it wouldn't load. |
OK - considering the issues found here as separate in #540 The actual features of this PR feel great at this point |
One question on that last chromatic page - is it possible to get a story for the new layout? @garrettmflynn |
Updated! Let's see if it works |
fix #221 using the Electron-specific fix linked on dandi/dandi-archive#1640