From 75542e08fba9a7e9c0373e5fc4a4772a2d6fa63f Mon Sep 17 00:00:00 2001 From: Josh Whaley Date: Sun, 9 Mar 2025 14:13:40 -0400 Subject: [PATCH] version bump, update description, rename js file --- README.md | 11 +++++------ pyproject.toml | 2 +- web/js/{example.js => scroll_over_textarea.js} | 0 3 files changed, 6 insertions(+), 7 deletions(-) rename web/js/{example.js => scroll_over_textarea.js} (100%) diff --git a/README.md b/README.md index 4183de9..e1746cd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Scroll Over Textarea -A custom node to prevent scrolling within textarea elements +A ComfyUI extension to allow textarea elements to be scrolled over. Useful when using a trackpad in order to prevent accidental forward/back navigation (two fingers horizontally on a Mac) when scrolling around the UI. > [!NOTE] > This projected was created with a [cookiecutter](https://github.com/Comfy-Org/cookiecutter-comfy-extension) template. It helps you start writing custom nodes without worrying about the Python setup. @@ -32,19 +32,19 @@ The `-e` flag above will result in a "live" install, in the sense that any chang Install Github Desktop or follow these [instructions](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) for ssh. -1. Create a Github repository that matches the directory name. +1. Create a Github repository that matches the directory name. 2. Push the files to Git + ``` git add . git commit -m "project scaffolding" git push -``` +``` ## Writing custom nodes An example custom node is located in [node.py](src/scroll_over_textarea/nodes.py). To learn more, read the [docs](https://docs.comfy.org/essentials/custom_node_overview). - ## Tests This repo contains unit tests written in Pytest in the `tests/` directory. It is recommended to unit test your custom node. @@ -58,10 +58,9 @@ If you wish to share this custom node with others in the community, you can publ You need to make an account on https://registry.comfy.org and create an API key token. -- [ ] Go to the [registry](https://registry.comfy.org). Login and create a publisher id (everything after the `@` sign on your registry profile). +- [ ] Go to the [registry](https://registry.comfy.org). Login and create a publisher id (everything after the `@` sign on your registry profile). - [ ] Add the publisher id into the pyproject.toml file. - [ ] Create an api key on the Registry for publishing from Github. [Instructions](https://docs.comfy.org/registry/publishing#create-an-api-key-for-publishing). - [ ] Add it to your Github Repository Secrets as `REGISTRY_ACCESS_TOKEN`. A Github action will run on every git push. You can also run the Github action manually. Full instructions [here](https://docs.comfy.org/registry/publishing). Join our [discord](https://discord.com/invite/comfyorg) if you have any questions! - diff --git a/pyproject.toml b/pyproject.toml index 9ad0909..411b55a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "scroll_over_textarea" -version = "0.0.1" +version = "0.1.0" description = "A custom node to prevent scrolling within textarea elements" authors = [ {name = "Josh Whaley", email = "josh@whaleymail.net"} diff --git a/web/js/example.js b/web/js/scroll_over_textarea.js similarity index 100% rename from web/js/example.js rename to web/js/scroll_over_textarea.js