michelengelen commented on issue #7510:
URL: 
https://github.com/apache/incubator-devlake/issues/7510#issuecomment-2139222875

   @klesh following the example in the code I constructed this query:
   
   ```graphql
   {
     repository(owner: "mui", name: "mui-x") {
       issues(first: 5, orderBy: {field: UPDATED_AT, direction: DESC}) {
         nodes {
           ... on Issue {
             id
             title
             updatedAt
             labels(first: 20) {
               totalCount
               nodes {
                 color
                 name
                 description
                 id
               }
             }
           }
         }
       }
     }
   }
   ```
   
   I queried this and then changed labels on the first one to check if the 
`updated_at` field gets a new value and it indeed does so.
   
   Before adding the label:
   ```json
   {
     "data": {
       "repository": {
         "issues": {
           "nodes": [
             {
               "id": "I_kwDOD4Lzcc6KlkU2",
               "title": "DataGridPro checkboxSelection Issue",
               "updatedAt": "2024-05-30T10:01:01Z",
               "labels": {
                 "totalCount": 1,
                 "nodes": [
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KlAZv",
               "title": "[data grid] Upgrading `@mui/x-data-grid-premium` to 
`v7` produces emotion error",
               "updatedAt": "2024-05-30T09:59:40Z",
               "labels": {
                 "totalCount": 4,
                 "nodes": [
                   {
                     "color": "ffffff",
                     "name": "component: data grid",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "MDU6TGFiZWwyMjM0NzExNDY0"
                   },
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   },
                   {
                     "color": "5319E7",
                     "name": "support: commercial",
                     "description": "Support request from paid users",
                     "id": "LA_kwDOD4Lzcc7hP007"
                   },
                   {
                     "color": "0052CC",
                     "name": "support: premium standard",
                     "description": "Support request from a Premium standard 
plan user. https://mui.com/legal/technical-support-sla/";,
                     "id": "LA_kwDOD4Lzcc8AAAABc-oCvw"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6Kj7Ks",
               "title": "[charts] `ChartsTooltip` often not working properly 
when assigning `innerRadius` in series and using `ResponsiveChartContainer`",
               "updatedAt": "2024-05-30T09:56:33Z",
               "labels": {
                 "totalCount": 2,
                 "nodes": [
                   {
                     "color": "cccccc",
                     "name": "status: waiting for author",
                     "description": "Issue with insufficient information",
                     "id": "MDU6TGFiZWwyNDI1NDQwNjc2"
                   },
                   {
                     "color": "ffffff",
                     "name": "component: charts",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "LA_kwDOD4Lzcc8AAAABMYODPg"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KjxKd",
               "title": "[data grid] How do I fix this? - 
`GridVirtualScrollbar.js:88 Uncaught TypeError: Cannot set properties of null 
(setting 'scrollTop')`",
               "updatedAt": "2024-05-30T09:55:23Z",
               "labels": {
                 "totalCount": 5,
                 "nodes": [
                   {
                     "color": "cccccc",
                     "name": "status: waiting for author",
                     "description": "Issue with insufficient information",
                     "id": "MDU6TGFiZWwyNDI1NDQwNjc2"
                   },
                   {
                     "color": "ECB272",
                     "name": "feature: Filtering",
                     "description": "Related to the data grid Filtering 
feature",
                     "id": "LA_kwDOD4Lzcc7gM5sl"
                   },
                   {
                     "color": "5319E7",
                     "name": "support: commercial",
                     "description": "Support request from paid users",
                     "id": "LA_kwDOD4Lzcc7hP007"
                   },
                   {
                     "color": "0052CC",
                     "name": "support: pro standard",
                     "description": "Support request from a Pro standard plan 
user. https://mui.com/legal/technical-support-sla/";,
                     "id": "LA_kwDOD4Lzcc8AAAABc-pqFw"
                   },
                   {
                     "color": "55bdd4",
                     "name": "v7.x migration",
                     "description": "",
                     "id": "LA_kwDOD4Lzcc8AAAABkjyJIA"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KgYRp",
               "title": "[data grid] sorting is not working for DD/MM/YYYY and 
MM/DD/YYYY date format it is only working for YYYY/MM/DD.",
               "updatedAt": "2024-05-30T09:52:01Z",
               "labels": {
                 "totalCount": 3,
                 "nodes": [
                   {
                     "color": "ffffff",
                     "name": "component: data grid",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "MDU6TGFiZWwyMjM0NzExNDY0"
                   },
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   },
                   {
                     "color": "ECB272",
                     "name": "feature: Sorting",
                     "description": "Related to the data grid Sorting feature",
                     "id": "LA_kwDOD4Lzcc7ga9u_"
                   }
                 ]
               }
             }
           ]
         }
       }
     }
   }
   ```
   
   After adding a label:
   ```json
   {
     "data": {
       "repository": {
         "issues": {
           "nodes": [
             {
               "id": "I_kwDOD4Lzcc6KlkU2",
               "title": "DataGridPro checkboxSelection Issue",
               "updatedAt": "2024-05-30T10:07:05Z",
               "labels": {
                 "totalCount": 2,
                 "nodes": [
                   {
                     "color": "ffffff",
                     "name": "component: data grid",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "MDU6TGFiZWwyMjM0NzExNDY0"
                   },
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KlAZv",
               "title": "[data grid] Upgrading `@mui/x-data-grid-premium` to 
`v7` produces emotion error",
               "updatedAt": "2024-05-30T09:59:40Z",
               "labels": {
                 "totalCount": 4,
                 "nodes": [
                   {
                     "color": "ffffff",
                     "name": "component: data grid",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "MDU6TGFiZWwyMjM0NzExNDY0"
                   },
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   },
                   {
                     "color": "5319E7",
                     "name": "support: commercial",
                     "description": "Support request from paid users",
                     "id": "LA_kwDOD4Lzcc7hP007"
                   },
                   {
                     "color": "0052CC",
                     "name": "support: premium standard",
                     "description": "Support request from a Premium standard 
plan user. https://mui.com/legal/technical-support-sla/";,
                     "id": "LA_kwDOD4Lzcc8AAAABc-oCvw"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6Kj7Ks",
               "title": "[charts] `ChartsTooltip` often not working properly 
when assigning `innerRadius` in series and using `ResponsiveChartContainer`",
               "updatedAt": "2024-05-30T09:56:33Z",
               "labels": {
                 "totalCount": 2,
                 "nodes": [
                   {
                     "color": "cccccc",
                     "name": "status: waiting for author",
                     "description": "Issue with insufficient information",
                     "id": "MDU6TGFiZWwyNDI1NDQwNjc2"
                   },
                   {
                     "color": "ffffff",
                     "name": "component: charts",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "LA_kwDOD4Lzcc8AAAABMYODPg"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KjxKd",
               "title": "[data grid] How do I fix this? - 
`GridVirtualScrollbar.js:88 Uncaught TypeError: Cannot set properties of null 
(setting 'scrollTop')`",
               "updatedAt": "2024-05-30T09:55:23Z",
               "labels": {
                 "totalCount": 5,
                 "nodes": [
                   {
                     "color": "cccccc",
                     "name": "status: waiting for author",
                     "description": "Issue with insufficient information",
                     "id": "MDU6TGFiZWwyNDI1NDQwNjc2"
                   },
                   {
                     "color": "ECB272",
                     "name": "feature: Filtering",
                     "description": "Related to the data grid Filtering 
feature",
                     "id": "LA_kwDOD4Lzcc7gM5sl"
                   },
                   {
                     "color": "5319E7",
                     "name": "support: commercial",
                     "description": "Support request from paid users",
                     "id": "LA_kwDOD4Lzcc7hP007"
                   },
                   {
                     "color": "0052CC",
                     "name": "support: pro standard",
                     "description": "Support request from a Pro standard plan 
user. https://mui.com/legal/technical-support-sla/";,
                     "id": "LA_kwDOD4Lzcc8AAAABc-pqFw"
                   },
                   {
                     "color": "55bdd4",
                     "name": "v7.x migration",
                     "description": "",
                     "id": "LA_kwDOD4Lzcc8AAAABkjyJIA"
                   }
                 ]
               }
             },
             {
               "id": "I_kwDOD4Lzcc6KgYRp",
               "title": "[data grid] sorting is not working for DD/MM/YYYY and 
MM/DD/YYYY date format it is only working for YYYY/MM/DD.",
               "updatedAt": "2024-05-30T09:52:01Z",
               "labels": {
                 "totalCount": 3,
                 "nodes": [
                   {
                     "color": "ffffff",
                     "name": "component: data grid",
                     "description": "This is the name of the generic UI 
component, not the React module!",
                     "id": "MDU6TGFiZWwyMjM0NzExNDY0"
                   },
                   {
                     "color": "c2e0c6",
                     "name": "status: waiting for maintainer",
                     "description": "These issues haven't been looked at yet by 
a maintainer",
                     "id": "MDU6TGFiZWwyMjk5ODEyMTc3"
                   },
                   {
                     "color": "ECB272",
                     "name": "feature: Sorting",
                     "description": "Related to the data grid Sorting feature",
                     "id": "LA_kwDOD4Lzcc7ga9u_"
                   }
                 ]
               }
             }
           ]
         }
       }
     }
   }
   ```
   
   Does that help?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to