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

Refactor Sisyphus to ts and drop unnecessary functionality #2377

Merged
merged 5 commits into from
Feb 17, 2025

Conversation

hansegucker
Copy link
Collaborator

Close #2371

Copy link
Member

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

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

In addition to the ESLint errors, there is also some jQuery left, is there anything holding us back from porting it to DOM apis?

@hansegucker
Copy link
Collaborator Author

In addition to the ESLint errors, there is also some jQuery left, is there anything holding us back from porting it to DOM apis?

Fixed.

Copy link
Member

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

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

Final comments:

Comment on lines 55 to 59
if (this.options.name) {
this.href = this.options.name;
} else {
this.href = location.hostname + location.pathname;
}
Copy link
Member

Choose a reason for hiding this comment

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

So should we just rename AutoFormSaverOptions.name to href and make location.hostname + location.pathname the default?

@janno42 janno42 self-requested a review February 17, 2025 17:21
@hansegucker hansegucker force-pushed the refactor-sisyphus branch 2 times, most recently from c97cc96 to 1a94a9a Compare February 17, 2025 18:55
Copy link
Member

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

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

Very cool, thanks!

Copy link
Member

@janno42 janno42 left a comment

Choose a reason for hiding this comment

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

Bye Sisyphos 👋

@janno42 janno42 merged commit 086237f into e-valuation:main Feb 17, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Fork sisyphus and maintain
4 participants