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

Bump stimulus_reflex to 3.5.0-rc4 and cable_ready to 5.0.3 #12235

Closed
wants to merge 7 commits into from

Conversation

dacook
Copy link
Member

@dacook dacook commented Mar 6, 2024

What should we test?

These are underlying frameworks used for the dynamic functionality on the below pages. Simply checking that they work as usual, with no errors in the dev console should be sufficient.

  • BUU Bulk Edit Products - Delete (/admin/products with admin_style_v3)
  • A report, eg /admin/reports/packing/customer (old or new design, doesn't matter)
  • Admin Enterprise > Connected app
  • Admin Orders > Any bulk action

Dependencies

@dacook dacook added technical changes only These pull requests do not contain user facing changes and are grouped in release notes pr-staged-uk staging.openfoodnetwork.org.uk labels Mar 6, 2024
@dacook

This comment was marked as resolved.

@dacook

This comment was marked as resolved.

@filipefurtad0

This comment was marked as resolved.

@filipefurtad0 filipefurtad0 removed the pr-staged-uk staging.openfoodnetwork.org.uk label Mar 6, 2024
@dacook dacook added pr-staged-uk staging.openfoodnetwork.org.uk and removed pr-staged-uk staging.openfoodnetwork.org.uk labels Mar 6, 2024
@dacook dacook mentioned this pull request Mar 6, 2024
4 tasks
@dacook
Copy link
Member Author

dacook commented Mar 20, 2024

Yay, after upgrading stimulus_reflex, this now works!

@dacook dacook marked this pull request as ready for review March 20, 2024 23:38
@dacook dacook added dependencies javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code labels Mar 20, 2024
@dacook dacook changed the title Bump cable_ready to 5.0.3 Bump cable_ready gem and package to 5.0.3 Mar 20, 2024
@dacook dacook marked this pull request as draft March 20, 2024 23:44
@dacook dacook marked this pull request as ready for review March 28, 2024 02:05
Copy link
Collaborator

@rioug rioug left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

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

Great! 🤞

@mkllnk
Copy link
Member

mkllnk commented Apr 1, 2024

Does this need testing? Maybe checking reports?

@dacook
Copy link
Member Author

dacook commented Apr 1, 2024

Yes, I think it should be treated the same as #12260 , which is awaiting testing, but also lacking test notes.
I've added some notes now.

dependabot bot and others added 4 commits May 14, 2024 13:54
Bumps [stimulus_reflex](https://github.com/stimulusreflex/stimulus_reflex) from 3.5.0-rc3 to 3.5.0-rc4.
- [Release notes](https://github.com/stimulusreflex/stimulus_reflex/releases)
- [Changelog](https://github.com/stimulusreflex/stimulus_reflex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stimulusreflex/stimulus_reflex/commits)

---
updated-dependencies:
- dependency-name: stimulus_reflex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Unfortunately the testing framework doesn't support the latest version of StimulusReflex.
This is a third party framework that doesn't seem to be maintained. Maybe we should convert these to ActionCable tests.
It contains a fix for stimulus_reflex 3.5.0-rc4, but hasn't been released yet.
podia/stimulus_reflex_testing#21

Now the user reflex spec works, but the products spec needs another fix. But we plan to remove it soon anyway.
In order to match installed js package version.
For some reason, it still reports js package as 5.0.1..
I don't know why cable_ready@^5.0.0 would resolve to v5.0.2, when v5.0.3 is available. So I gave yarn a bit of a nudge in the right direction. It installs fine now.
@dacook dacook changed the title Bump cable_ready gem and package to 5.0.3 Bump stimulus_reflex to 3.5.0-rc4 and cable_ready to 5.0.3 May 14, 2024
@sigmundpetersen
Copy link
Contributor

@dacook is this superseded by #12472 , same as #12260?

@dacook
Copy link
Member Author

dacook commented May 22, 2024

Oh, yes thanks. That's weird, I don't know how I missed this.

@dacook dacook closed this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants