Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 3, 2024

Closes #68457

Please fill in this template.

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>
  • 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.

@ghost ghost requested review from Jessidhia, eps1lon and johnnyreilly as code owners February 3, 2024 13:27
@typescript-bot
Copy link
Contributor

typescript-bot commented Feb 3, 2024

@codershiba Thank you for submitting this PR!

This is a live comment which I will keep updated.

2 packages in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

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

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ A DT maintainer needs to approve changes which affect more than one package

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": 68463,
  "author": "codershiba",
  "headCommitOid": "a2f0a45ae7ac97a1fdc540f210cc629b6a5dfff8",
  "mergeBaseOid": "8eef7f48da3124d97c81e44063de0b35729a9064",
  "lastPushDate": "2024-02-03T13:27:55.000Z",
  "lastActivityDate": "2024-02-27T09:05:09.000Z",
  "mergeOfferDate": "2024-02-26T18:54:44.000Z",
  "mergeRequestDate": "2024-02-27T09:05:09.000Z",
  "mergeRequestUser": "codershiba",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "brainhubeu__react-carousel",
      "kind": "edit",
      "files": [
        {
          "path": "types/brainhubeu__react-carousel/.eslintrc.json",
          "kind": "package-meta",
          "suspect": "edited"
        },
        {
          "path": "types/brainhubeu__react-carousel/brainhubeu__react-carousel-tests.tsx",
          "kind": "test"
        },
        {
          "path": "types/brainhubeu__react-carousel/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "jackall3n",
        "sinchang",
        "roberthebel"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "react",
      "kind": "edit",
      "files": [
        {
          "path": "types/react/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react/ts5.0/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "johnnyreilly",
        "bbenezech",
        "pzavolinsky",
        "ericanderson",
        "DovydasNavickas",
        "theruther4d",
        "guilhermehubner",
        "ferdaber",
        "jrakotoharisoa",
        "pascaloliv",
        "hotell",
        "franklixuefei",
        "Jessidhia",
        "saranshkataria",
        "lukyth",
        "eps1lon",
        "zieka",
        "dancerphil",
        "dimitropoulos",
        "disjukr",
        "vhfmag",
        "hellatan",
        "priyanshurav",
        "Semigradsky"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "peterblazejewicz",
      "date": "2024-02-26T19:35:39.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "jakebailey",
      "date": "2024-02-26T18:35:30.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "eps1lon",
      "date": "2024-02-26T14:03:24.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1925322236,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Critical package Untested Change This PR does not touch tests labels Feb 3, 2024
@typescript-bot
Copy link
Contributor

typescript-bot commented Feb 3, 2024

@typescript-bot typescript-bot added Where is GH Actions? GH Actions didn't give a response to this PR and removed Where is GH Actions? GH Actions didn't give a response to this PR labels Feb 3, 2024
@typescript-bot
Copy link
Contributor

⚠️ There are too many reviewers for this PR change (149). Merging can only be handled by a DT maintainer.

People who would have been pinged ljharb darbio skarum StefH buggy wwwy3y3 OrthoDex MichaelMarner daniel-cottone kostya-misura coderbyheart palmithor daniloraisi simonbuchan Haydabase repl-chris aneilbaboo jeznag louislarry dpapukchiev ohookins trevor-leach jagregory dalen loikg skyzenr redlickigrzegorz juancarbonel pwmcintyre alex-bolenok-centralreach marianzange apepper apalumbo SachinShekhar ivanmartos zach-anthony savnik bboure jamesorlakin aphex joeykilpatrick lmanerich ryota-ka jineshshah36 peping mikhail-monchak cdoe kroustille MStoykov codebien oleiade olegbespalov ppcano nicolevanderhoeven ankur22 inancgumus ka3de joanlopez dobrud macobo dmytro-gokun LiamAttClarke life777 amxfonseca Nosfit mbullington pascaloliv mschilde bewithjonam lancegliser bengry doubutsunokarada Microsoft jkomyno alvis r3nya btoueg smac89 touffy DeividasBakanas eyqs Hannes-Magnusson-CK hoo29 kjin ajafff islishude mwiktorczyk mohsen1 n-e galkin parambirs eps1lon ThomasdenH WilcoBakker samuela kuehlein bhongy chyzwar trivikr yoursunny qwelias ExE-Boss peterblazejewicz addaleax victorperin ZYSzys NodeJS LinusU wafuwafu13 mcollina Semigradsky johnnyreilly bbenezech pzavolinsky ericanderson DovydasNavickas theruther4d guilhermehubner ferdaber jrakotoharisoa hotell franklixuefei Jessidhia saranshkataria lukyth zieka dancerphil dimitropoulos disjukr vhfmag hellatan priyanshurav hassankhan JonathanWilbur a-pavlenko fredericbarthelet bryan-hunter thomasaribart G-Rath AbdullahAli fargito bacarybruno domazet93 sleeyax victorgveloso pauhull dsifford sirreal dmsnell

@ghost
Copy link
Author

ghost commented Feb 5, 2024

Seems like only brainhubeu__react-carousel was using this interface.

And how would we resolve the breaking change there? This is essential to deprecating a type. We need to have an answer for the migration story.

How about redeclaring the types in the package rather than importing it from react like babel-plugin-react-html-attrs does?

@eps1lon
Copy link
Collaborator

eps1lon commented Feb 7, 2024

Yeah that makes sense if that's the best migration path we can offer. But it needs to be documented in the PR.

@typescript-bot typescript-bot added the Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. label Feb 14, 2024
@typescript-bot
Copy link
Contributor

Re-ping @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @eps1lon, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @hellatan, @priyanshurav, @Semigradsky:

This PR has been out for over a week, yet I haven't seen any reviews.

Could someone please give it some attention? Thanks!

@typescript-bot
Copy link
Contributor

typescript-bot commented Feb 21, 2024

It has been more than two weeks and this PR still has no reviews.

I'll bump it to the DT maintainer queue. Thank you for your patience, @codershiba.

(Ping @jackall3n, @sinchang, @RobertHebel, @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @hellatan, @priyanshurav, @Semigradsky.)

@typescript-bot typescript-bot added Where is GH Actions? GH Actions didn't give a response to this PR Edits multiple packages The CI failed When GH Actions fails and removed Where is GH Actions? GH Actions didn't give a response to this PR Untested Change This PR does not touch tests Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. labels Feb 22, 2024
@typescript-bot
Copy link
Contributor

@codershiba 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.

@ghost ghost marked this pull request as draft February 22, 2024 09:44
@ghost ghost marked this pull request as ready for review February 22, 2024 11:09
@typescript-bot typescript-bot added Check Config Changes a module config files Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. and removed The CI failed When GH Actions fails labels Feb 22, 2024
@rbuckton
Copy link
Collaborator

@eps1lon do the latest changes satisfy your review feedback?

Copy link
Collaborator

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

Makes sense to deprecate. I generally try to keep the utility types to a minimum to make learning React easier. This seems like a good candidate for removal considering it's only used in one other DT package.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Feb 26, 2024
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner and removed Unreviewed No one showed up to review this PR, so it'll be reviewed by a DT maintainer. labels Feb 26, 2024
@typescript-bot
Copy link
Contributor

@codershiba: Everything looks good here. I am ready to merge this PR (at a2f0a45) 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! ❤️

@ghost
Copy link
Author

ghost commented Feb 27, 2024

Ready to merge

@typescript-bot typescript-bot merged commit b11e346 into DefinitelyTyped:master Feb 27, 2024
@ghost ghost deleted the fix-react branch February 27, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Check Config Changes a module config files Critical package Edits multiple packages 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants