Repository navigation
Automate the hand fixes of the ember-observer upgrade - #55
Merged
Merged
Conversation
- warp-drive: `record.save()` becomes `this.store.request(saveRecord(record))` in classes with services, when nothing reads its value. - ci-workflows: GitHub Actions workflows run pnpm, and Node.js 24 when they set a version that Vite does not run on. - default-query-params: test URLs lose the query params with the controller's default value, which Ember 7 leaves out. - update-ember-power-select: a test click on an element in an option becomes `triggerEvent(target, 'click')`. The ember-observer trial starts from the commit with its workflow, and needs no patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 3 hand commits on emberobserver/client#241 now come from generic stages, so every app gets the same fixes.
warp-drive:record.save()becomesthis.store.request(saveRecord(record)). This happens only in a class with services, and only when nothing reads the value, because the request resolves with a document, not the record. Afunctioncallback without its ownthisbecomes an arrow function. The class gets@service storewhen it has other services and no store. Other calls stay in the progress todo.ci-workflows(new): GitHub Actions workflows run pnpm (pnpm/action-setup,cache: pnpm, install, and the scripts that the upgrade kept, sotest:emberbecomestest). Anode-versionbelow 22 becomes 24. The workflows go out of the package-manager progress note.default-query-params(new, after ember-source 7.4): test URLs compared withcurrentURL()losename=valuewhen the value is the controller default. Ember 3's router service wrote those, and Ember 7 does not.update-ember-power-select: in tests,click()on an element with a class from a PowerSelect option block becomestriggerEvent(target, 'click').The ember-observer trial starts from 5c64a06, the commit with its workflow, and no longer applies
ember-observer-header-search.patch.🤖 Generated with Claude Code