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

feat(js): use local storage instad of cookies for tab persistence #12383

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

nijel
Copy link
Member

@nijel nijel commented Sep 1, 2024

Proposed changes

This was never needed server-side, so there is no need to use cookies for this. It also allows to drop one JavaScript library.

Checklist

  • Lint and unit tests pass locally with my changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added documentation to describe my feature.
  • I have squashed my commits into logic units.
  • I have described the changes in the commit messages.

Other information

@nijel nijel added this to the 5.8 milestone Sep 1, 2024
@nijel nijel requested a review from meel-hd September 1, 2024 06:35
Copy link
Collaborator

@meel-hd meel-hd left a comment

Choose a reason for hiding this comment

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

Overall no major issues. Only some small notes

weblate/static/editor/full.js Outdated Show resolved Hide resolved
weblate/static/loader-bootstrap.js Outdated Show resolved Hide resolved
This was never needed server-side, so there is no need to use cookies
for this. It also allows to drop one JavaScript library.
@nijel nijel enabled auto-merge (rebase) September 1, 2024 10:59
@nijel nijel merged commit aa1429f into WeblateOrg:main Sep 1, 2024
34 checks passed
@nijel nijel deleted the js-localstorage branch September 1, 2024 13:01
@nijel nijel self-assigned this Sep 2, 2024
@nijel nijel modified the milestones: 5.8, 5.7.2 Sep 2, 2024
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