Browse Source

Make things prettier.

Afshin Darian 6 years ago
parent
commit
f700543da9

+ 2 - 2
packages/application-extension/schema/sidebar.json

@@ -1,5 +1,4 @@
 {
-  "jupyter.lab.setting-icon-class": "jp-FileIcon",
   "jupyter.lab.setting-icon-label": "Sidebar",
   "title": "Sidebar",
   "description": "Sidebar layout settings.",
@@ -7,7 +6,8 @@
     "overrides": {
       "type": "object",
       "title": "Overrides",
-      "description": "Overrides for where to show sidebar items",
+      "default": {},
+      "description": "Overrides for where to show sidebar items\ne.g., {\"tab-manager\": \"right\"}",
       "properties": {},
       "additionalProperties": {
         "type": "string",

+ 2 - 2
packages/coreutils/src/statedb.ts

@@ -136,7 +136,7 @@ export class StateDB<T extends ReadonlyJSONValue = ReadonlyJSONValue>
    * `'namespace:identifier'`, which is the same convention that command
    * identifiers in JupyterLab use as well. While this is not a technical
    * requirement for `fetch()`, `remove()`, and `save()`, it *is* necessary for
-   * using the `list(filter: string)` method.
+   * using the `list(namespace: string)` method.
    *
    * The promise returned by this method may be rejected if an error occurs in
    * retrieving the data. Non-existence of an `id` will succeed with the `value`
@@ -201,7 +201,7 @@ export class StateDB<T extends ReadonlyJSONValue = ReadonlyJSONValue>
    * `'namespace:identifier'`, which is the same convention that command
    * identifiers in JupyterLab use as well. While this is not a technical
    * requirement for `fetch()`, `remove()`, and `save()`, it *is* necessary for
-   * using the `list(filter: string)` method.
+   * using the `list(namespace: string)` method.
    */
   save(id: string, value: T): Promise<void> {
     return this._ready.then(() => {