Skip to content
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

Simplify demo structure #39

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Simplify demo structure #39

merged 3 commits into from
Mar 11, 2024

Conversation

garrettmflynn
Copy link
Collaborator

This PR improves the main demo by making the following changes:
2. Each button click triggers a new TQDM progress bar
3. Each progress bar is run synchronously, for 100 tasks each with a random time, on a new thread
4. The documentation has been updated to indicate how to replace existing TQDM instances

@garrettmflynn garrettmflynn self-assigned this Mar 7, 2024
@CodyCBakerPhD
Copy link
Member

@garrettmflynn Thanks so much, this is indeed much better.

Still needs some improvements but this gives me a better base to build upon

@CodyCBakerPhD CodyCBakerPhD merged commit ed1422a into improve_demo Mar 11, 2024
13 of 14 checks passed
@CodyCBakerPhD CodyCBakerPhD deleted the improve_demo_sync branch March 11, 2024 00:23
CodyCBakerPhD added a commit that referenced this pull request Mar 11, 2024
* fixing for M1 Mac

* Fix name of file targeted

* Simplify demo structure (#39)

* Simplify synchronous demo

* Update docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* suggestions for readability

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update descriptions and types

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update _server.py

* Fix demo

* Document the frontend

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update src/tqdm_publisher/_demo/_client.js

* Functional websocket declaration (#42)

* Update _server.py

* more keyword arguments; break up docstring; remove unused capture

* more keyword arguments

---------

Co-authored-by: Garrett Michael Flynn <[email protected]>

---------

Co-authored-by: CodyCBakerPhD <[email protected]>
Co-authored-by: Garrett Michael Flynn <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants