fix: update vendor files for SlickGrid to resolve table styling issues - #36670
fix: update vendor files for SlickGrid to resolve table styling issues#36670bra-i-am wants to merge 12 commits into
Conversation
|
Thanks for the pull request, @bra-i-am! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
|
@mariajgrimaldi, here is the merge request I told you I was re-creating I'll be waiting for your comments, thanks! |
mariajgrimaldi
left a comment
There was a problem hiding this comment.
Thank you so much for this contribution! Can we test other places where this slickgrid is used to make sure it's still working as expected? Thanks!
|
Friendly reminder to my question above, @bra-i-am. Thanks! |
0cd65c5 to
d63b125
Compare
|
@mariajgrimaldi, I have upgraded the vendor files to the latest version and made additional modifications to improve the rendering of the tables. I found the issue was related to a styling override that happened only when the course had the tab I tested the fix on different tables (the ones I managed to enable) and this is how they are displayed: Data DownloadExtensionsI'm looking forward to your feedback! Thanks ✨ |
|
I'm not familiar with the update process of these vendor files but I'd suggest to mention edx-platform maintenance team to validate this is something we want - FYI @openedx/wg-maintenance-edx-platform Additionally, can we update the PR name and commits to reference the vendor file changes for slickgrid instead? |
kdmccormick
left a comment
There was a problem hiding this comment.
@bra-i-am , thanks for the PR, and nice fix!
To answer @mariajgrimaldi 's question, there is no established process for updating vendored-in JS and CSS files. Basically, they are neglected. We're looking forward to finishing the MFE conversion so that we can delete these vendored-in files as soon as possible.
That said, this would be a good bugfix to have in Teak.2 and master. I am just nervous about the potential side-effects of applying nine years of SlickGrid upgrades to the platform. 😅 I could two ways forward that'd make me comfortable approving and merging:
- Find all components in edx-platform which reference SlickGrid, and manually test that they still work on this branch with this latest SlickGrid version.
- Upgrade to an older version of SlickGrid which still fixes the bug but is not as drastic as 9 years of upgrades.
In either case, I've requested that a sandbox environment be created for this PR in case that'd help you test. You should see a comment with a link to the sandbox soon; the credentials are openedx/openedx.
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
We have a successfull deployment! @bra-i-am: could you help us testing as Kyle suggested above? I'd say we start documenting how all tables still work with this change. |
|
Sandbox deployment successful 🚀 |
|
Hi @bra-i-am @mariajgrimaldi! Is this pull request still in progress? |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
@mphilbrick211 @kdmccormick, I'm really sorry for the loong delay. I've been busy with a lot of other things and haven't had time to continue with this. I'm increasing the priority of this in my ToDo to finish it in the following days; it is pending to test that the tables that use SlickGrid are still functional, and I'm missing a few places @kdmccormick, the sandbox is broken, could you please help me with it? After this, I'll finish the tests asap and leave you the results to proceed with your review |
|
No problem @bra-i-am . The sandbox was probably very old, so I've removed the create-sandbox label so that it got destroyed, and now added it back so that it gets recreated. You should see a deployment within an hour or so. If you see deployment errors that don't make sense, shoot a message to #grove-pr-watcher in Slack. |
|
@kdmccormick, thanks for your help! 🫶 I see the sandbox was not recreated; following your guidance, I will look for help in Slack |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment successful 🚀 |
@bra-i-am is this stil in progress? |
|
Sandbox deployment failed 💥 |
|
Sandbox deployment failed 💥 |
|
@bra-i-am I've removed the |
|
Hi @bra-i-am - is this still in progress, or can we close for now? |





Note
Applying previously working changes from #31643
Description
LMS is using the latest version of the library from http://github.com/mleibman/slickgrid, but it has been inactive for quite some time. The present PR updates the vendor files from https://github.com/6pac/SlickGrid which is the most active fork at the moment.
The error happened in some places because of an override of some css variables
Before
After
Supporting information
#36821
Testing instructions