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

Keep watched state 99a169a #373

Open
wants to merge 13 commits into
base: release
Choose a base branch
from

Conversation

exhuma
Copy link

@exhuma exhuma commented Jun 6, 2022

This is a rebase of #325 which was closed without comment and without ever being merged. I am assuming this was because the target branch got renamed from master to main and GitHub just closed it because the target branch "disappeared"

I have based this on commit 99a169a which I assume is the last release at the timepoint when this PR was created.

I was forced to do a bit more though, so here's some detail:

Issue with dependencies

quart-minify depends on jsmin which is no longer maintained and no longer installable. After fiddling around with it for a while I gave up and had to drop the devpendency on quart-minify to even get as far as install the dependencies let alone make the thing run. This has the effect that the generated output is no longer minified though :(

Then there was an issue with markupsafe and jinja2 which forced me to limit/pin their versions. At least like this the project runs without causing any cumbersome code changes.

Issue with Python 3.10

It seems that quart is not compatible with Python 3.10. At least not in the version used in this project. So I added a VS-code dev-container to the project which runs a 3.9 environment. This has no impact whatsoever on the code. It merely provides a convenience for VS-Code developers to have a clean and reproducible environment to work in.

Dependency on Redis

The Redis dependency makes development a bit more annoying because you need a running Redis instance to start developing. I added the option to set the env-var to "None" to disable caching completely. This makes it much easier to set up a quick dev environment.

All remaning changes are related to the "keep-watched-state" feature.

If you want me to split this up in multiple PRs let me know. I could see that moving everything related to dev-environment and setup be in a separate PR. But for now, I keep it like this for housekeeping simplicity 😉

Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

ordering/templates/index.html Show resolved Hide resolved
@exhuma exhuma force-pushed the keep-watched-state-99a169a branch from d5f95a1 to ca42759 Compare June 6, 2022 10:03
Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

ordering/templates/index.html Show resolved Hide resolved
Signed-off-by: Michel Albert <[email protected]>
@exhuma
Copy link
Author

exhuma commented Oct 29, 2022

@AceFire6 any update on this?

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.

1 participant