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: remove unused jquery-ui safe-active-element module #10708

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

hangy
Copy link
Member

@hangy hangy commented Aug 17, 2024

Remove no more existing jQuery UI file from Gulp build.

@hangy hangy requested a review from a team as a code owner August 17, 2024 22:11
@hangy hangy enabled auto-merge (squash) August 17, 2024 22:11
Copy link

sonarcloud bot commented Aug 17, 2024

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Thanks

@hangy hangy merged commit 9407e86 into main Aug 22, 2024
13 checks passed
@hangy hangy deleted the fix/jquery-ui branch August 22, 2024 13:29
stephanegigandet pushed a commit that referenced this pull request Aug 22, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.42.0](v2.41.0...v2.42.0)
(2024-08-22)


### Features

* geoip/ api use the remote address if ip not provided as param
([#10700](#10700))
([7c1e3f2](7c1e3f2)),
closes
[#10699](#10699)
* knowledge API to specify which panels should be returned
([#10701](#10701))
([384961a](384961a))
* migration script to batch import existing orgs in CRM
([#10683](#10683))
([1801b48](1801b48))


### Bug Fixes

* remove robotoff webhook trigger
([#10723](#10723))
([47e1174](47e1174))
* remove unused jquery-ui safe-active-element module
([#10708](#10708))
([9407e86](9407e86))
* Synonyms in taxonomized suggestions
([#10722](#10722))
([3419a1e](3419a1e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
jayaddison added a commit to openculinary/openfoodfacts-server that referenced this pull request Oct 22, 2024
@jayaddison
Copy link
Contributor

Unfortunately I think we may want to restore this dependency - it would be nice to remove it, but following the rollback to jquery-ui 1.13.3, it seems that it is used for some JavaScript functionality (ref #10861) in the webapp.

I've opened a pull request with the revert in #10924.

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).
stephanegigandet pushed a commit that referenced this pull request Oct 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.47.0](v2.46.0...v2.47.0)
(2024-10-24)


### Features

* api docs remove query string from get by barcode and add security to
solve openapi linter errors/warnings
([#10922](#10922))
([b7aefbd](b7aefbd))
* Eco-Score improvements and change of scale: A+ to F
([#10829](#10829))
([87df665](87df665))


### Bug Fixes

* add googleOther bot
([#10912](#10912))
([d56760a](d56760a))
* allow CORS requests for product image move
([#10920](#10920))
([967a47e](967a47e))
* attribute for product without new nutriscore data
([#10915](#10915))
([c413719](c413719))
* cosmetic changes for new Eco-Score grades
([#10921](#10921))
([6e7dbfa](6e7dbfa))
* Revert "fix: remove unused jquery-ui safe-active-element module
([#10708](#10708))"
([#10924](#10924))
([d290c54](d290c54))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants