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

phoenix_live_view: Add longPollFallbackMs to SocketOptions #69617

Merged
merged 2 commits into from
May 16, 2024

Conversation

rhcarvalho
Copy link
Contributor

@rhcarvalho rhcarvalho commented May 15, 2024

The phoenix_live_view.LiveSocket passes its options to phoenix.Socket, and longpoll fallback was added 4 months ago in Phoenix 1.7.11.


Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot
Copy link
Contributor

typescript-bot commented May 15, 2024

@rhcarvalho Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can approve changes without tests

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 69617,
  "author": "rhcarvalho",
  "headCommitOid": "5bd1ae34e2e1436943163a9d3163546fc5f1cb8d",
  "mergeBaseOid": "bfdcd1c2bad2ed372ebf698103824f4171e5e972",
  "lastPushDate": "2024-05-15T10:03:41.000Z",
  "lastActivityDate": "2024-05-16T15:50:18.000Z",
  "mergeOfferDate": "2024-05-16T13:59:05.000Z",
  "mergeRequestDate": "2024-05-16T15:50:18.000Z",
  "mergeRequestUser": "rhcarvalho",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "phoenix_live_view",
      "kind": "edit",
      "files": [
        {
          "path": "types/phoenix_live_view/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "pzingg"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "sandersn",
      "date": "2024-05-16T13:58:27.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "pzingg",
      "date": "2024-05-15T14:46:20.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 2112092558,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label May 15, 2024
@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board May 15, 2024
@typescript-bot
Copy link
Contributor

Hey @rhcarvalho,

😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module.

This can potentially save days of time for you!

@typescript-bot
Copy link
Contributor

🔔 @pzingg — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label May 15, 2024
@typescript-bot
Copy link
Contributor

@rhcarvalho The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board May 15, 2024
@rhcarvalho
Copy link
Contributor Author

  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

Since the type change is in a related package https://www.npmjs.com/package/phoenix, and not https://www.npmjs.com/package/phoenix_live_view, I'm not sure what version to bump to.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label May 15, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board May 15, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board May 15, 2024
Copy link
Contributor

@pzingg pzingg left a comment

Choose a reason for hiding this comment

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

Thanks for catching this! Approved.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label May 15, 2024
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels May 16, 2024
@typescript-bot
Copy link
Contributor

@rhcarvalho: Everything looks good here. I am ready to merge this PR (at 5bd1ae3) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@pzingg: you can do this too.)

@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Author to Merge in New Pull Request Status Board May 16, 2024
@rhcarvalho
Copy link
Contributor Author

Thank you for the reviews. Ready to merge!

@rhcarvalho
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot moved this from Waiting for Author to Merge to Recently Merged in New Pull Request Status Board May 16, 2024
@typescript-bot typescript-bot merged commit 7959bdc into DefinitelyTyped:master May 16, 2024
4 checks passed
@typescript-bot typescript-bot removed this from Recently Merged in New Pull Request Status Board May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner Untested Change This PR does not touch tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants