You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer_guide.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,7 @@ Updating Tutorial Screenshots
246
246
Before a release, you'll want to update the tutorial screenshots to reflect the latest changes in the application.
247
247
248
248
#. To regenerate the dataset, you'll need to change ``regenerateTestData`` in the ``tests/e2e/config.ts`` to ``true`` or delete the test dataset directory ``rm -rf ~/NWB_GUIDE/.test``.
249
-
#. Create a ``.env`` file with the following content: ``DANDI_STAGING_API_KEY={your_dandi_sandbox_api_key}`` where ``{your_dandi_sandbox_api_key}`` is your DANDI sandbox API key from https://gui-sandbox.dandiarchive.org.
249
+
#. Create a ``.env`` file with the following content: ``DANDI_STAGING_API_KEY={your_dandi_sandbox_api_key}`` where ``{your_dandi_sandbox_api_key}`` is your DANDI sandbox API key from https://sandbox.dandiarchive.org.
250
250
#. Run the End-to-End Tests locally using ``npm run test:tutorial``. This will generate new screenshots in the ``docs/assets/tutorials`` directory.
251
251
#. Review the new screenshots to ensure they are accurate.
252
252
#. If the screenshots are accurate, commit them to the repository. Their paths should be consistent across runs—allowing the new versions to show up on the tutorial.
if(!dandiAPITokenRegex.test(apiKey))return[{type: "error",message: `Invalid API key format. Must be a 40 character hexadecimal string`}];
10
10
11
-
constauthFailedError={type: 'error',message: `Authorization failed. Make sure you're providing an API key for the <a href='https://${staging ? 'gui-sandbox.' : ''}dandiarchive.org' target='_blank'>${staging ? 'sandbox' : 'main'} archive</a>.`}
11
+
constauthFailedError={type: 'error',message: `Authorization failed. Make sure you're providing an API key for the <a href='https://${sandbox ? 'sandbox.' : ''}dandiarchive.org' target='_blank'>${sandbox ? 'sandbox' : 'main'} archive</a>.`}
Copy file name to clipboardExpand all lines: src/schemas/json/dandi/create.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,10 @@
23
23
"archive": {
24
24
"type": "string",
25
25
"enumLabels": {
26
-
"staging": "Sandbox Server",
26
+
"sandbox": "Sandbox Server",
27
27
"main": "Main Archive"
28
28
},
29
-
"enum": ["main", "staging"],
29
+
"enum": ["main", "sandbox"],
30
30
"description": "Which DANDI server to upload to. <br><small><b>Note:</b> The Sandbox Server is recommended for developers, or users learning to use DANDI</small>",
0 commit comments