Metadata-Version: 2.4
Name: jupyterlab-cell-enhancements
Version: 0.3.0
Dynamic: Keywords
Summary: Cell titles, focus mode, and floating markdown notes for JupyterLab notebooks.
Project-URL: Homepage, https://github.com/Columbia-Data-Labs/jupyterlab-cell-enhancements
Project-URL: Bug Tracker, https://github.com/Columbia-Data-Labs/jupyterlab-cell-enhancements/issues
Project-URL: Repository, https://github.com/Columbia-Data-Labs/jupyterlab-cell-enhancements.git
Author-email: Robert Pettis <pettis.robert@gmail.com>
License: BSD 3-Clause License
        
        Copyright (c) 2026, Robert Pettis
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
           list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
           this list of conditions and the following disclaimer in the documentation
           and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Framework :: Jupyter :: JupyterLab :: 4
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# jupyterlab-cell-enhancements

Enhancements for JupyterLab 4 notebook cells:

- **Cell titles** — give any cell an editable title shown above the input. Titles
  are stored in the cell's metadata (`cell_title`) so they travel with the
  notebook. Hover a cell and click *"Add a cell title…"*, or click an existing
  title to rename it. Press **Enter** to save, **Esc** to cancel.
- **Focus mode** — a corner-brackets button in the cell toolbar expands a single
  cell to fill the notebook, hiding everything else. Toggle the button again or
  press **Esc** to exit. Keyboard shortcut: **Ctrl/Cmd + Shift + Enter** while the
  notebook is focused.
- **Floating notes** — attach a note to any cell. Click the marker in a cell's
  top-right corner to open a floating card, anchored to the cell and connected by
  a leader line. Notes:
  - render **Markdown and LaTeX** (via JupyterLab's own renderer), so `**bold**`,
    lists, code, links and `$x^2$` math all work;
  - float above everything, including the sidebars, and follow their cell as you
    scroll — hiding automatically once the cell scrolls out of view;
  - are **draggable**; drag the header to reposition and the note stays glued to
    its cell at the new offset;
  - persist in cell metadata (`cell_comment`), including text, author, open/closed
    state and position, and are saved automatically shortly after any change.

  Set your display name under **Settings → Cell Enhancements → Comment author**.

## Requirements

- JupyterLab >= 4.0.0

## Install

```bash
pip install jupyterlab-cell-enhancements
```

## Uninstall

```bash
pip uninstall jupyterlab-cell-enhancements
```

## Development install

```bash
# Clone, then from the repo root:
pip install -e .
jupyter labextension develop . --overwrite
jlpm build
```

Rebuild after source changes with `jlpm build`, or run `jlpm watch` in one
terminal and `jupyter lab` in another.

## Building on a network / mapped drive (important)

This project's canonical location is on a mapped network drive (`Z:`), which
Node resolves to a UNC path (`\\server\share\...`). webpack's resolver cannot
handle UNC absolute paths, so **`jlpm build:prod` / `python -m build` must be run
from a copy of the repo on a local disk** (e.g. `C:\...`). Editing and version
control can stay on `Z:`; only the build/package step needs local disk. Copy the
resulting `dist/*.whl` (and `jupyterlab_cell_enhancements/labextension/`) back if
you want them alongside the source.

### license-webpack-plugin patch

webpack >= 5.107 changed the `ProvideSharedModule` identifier separator from
`=` to `|`, which crashes `license-webpack-plugin@4.0.2` during the production
build. A Yarn patch in `.yarn/patches/` fixes this (wired via the `resolutions`
field in `package.json`); it is applied automatically on `jlpm install`.
