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

fix: downgrade jquery-ui #10877

Merged
merged 2 commits into from
Oct 11, 2024
Merged

fix: downgrade jquery-ui #10877

merged 2 commits into from
Oct 11, 2024

Conversation

Valimp
Copy link
Collaborator

@Valimp Valimp commented Oct 11, 2024

What

Downgrade jquery-ui to 1.13.3 instead of 1.14.0

@Valimp Valimp requested a review from a team as a code owner October 11, 2024 08:45
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Oct 11, 2024
Copy link
Member

@hangy hangy left a comment

Choose a reason for hiding this comment

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

This downgrades too many unrelated dependencies, IMHO

@raphael0202
Copy link
Contributor

raphael0202 commented Oct 11, 2024

@hangy When building js files locally after downgrading jquery-ui version, @Valimp encountered issues with typescript compilation.
We wanted to make sure that the problem was local only, so we reverted to the version of package.json before it broke the edit page.

Now we will try to downgrade only jquery-ui.

Copy link

sonarcloud bot commented Oct 11, 2024

Copy link
Contributor

@raphael0202 raphael0202 left a comment

Choose a reason for hiding this comment

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

Thank you!

@raphael0202 raphael0202 merged commit 2cd6fd5 into main Oct 11, 2024
15 checks passed
@raphael0202 raphael0202 deleted the jquery-downgrade branch October 11, 2024 12:27
stephanegigandet pushed a commit that referenced this pull request Oct 18, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.46.0](v2.45.0...v2.46.0)
(2024-10-18)


### Features

* upload DB dump to AWS S3
([#10863](#10863))
([34ae5e4](34ae5e4))


### Bug Fixes

* docs (paragraph 24)
([#10849](#10849))
([354c22c](354c22c))
* docs fix a broken Internal URL to Open Prices
([#10852](#10852))
([d318472](d318472))
* docs Syntax issues
([#10851](#10851))
([56275c4](56275c4))
* downgrade jquery-ui
([#10877](#10877))
([2cd6fd5](2cd6fd5))
* In the Folksonomy Engine table, property and value headers were not at
the right place
([#10857](#10857))
([7547657](7547657))
* remove off days banner
([#10908](#10908))
([855ae0c](855ae0c))
* update paths for EAN8 and short barcodes (padding with zeroes) - DO
NOT MERGE
([#10472](#10472))
([3c18781](3c18781))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
stephanegigandet pushed a commit that referenced this pull request Oct 23, 2024
…10708)" (#10924)

This reverts commit 9407e86.

<!-- IMPORTANT CHECKLIST
Make sure you've done all the following (You can delete the checklist
before submitting)
- [x] PR title is prefixed by one of the following: feat, fix, docs,
style, refactor, test, build, ci, chore, revert, l10n, taxonomy
- [ ] ~~Code is well documented~~
- [ ] ~~Include unit tests for new functionality~~
- [ ] Code passes GitHub workflow checks in your branch
- [ ] ~~If you have multiple commits please combine them into one commit
by squashing them.~~
- [x] Read and understood the [contribution
guidelines](https://github.com/openfoodfacts/openfoodfacts-server/blob/main/CONTRIBUTING.md)
-->
### What
After replicating the nutrient autosuggest selection problem (one of a
few JavaScript-related problems) described in #10861 in a local
development instance, I attempted a revert of #10708 because the name of
the dependency seems similar to a missing function that appeared in the
JavaScript console as an error:

```
Uncaught TypeError: e.ui.safeActiveElement is not a function
```

After reverting #10708, the error no longer appears and I'm able to
select entries from the nutrient autosuggest as expected.

### Screenshot

https://github.com/user-attachments/assets/eb40f7dd-3167-4c0b-a982-9bc46db06988

### Related issue(s) and discussion
- Fixes #10861 (in combination with #10877).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants