dosubot[bot] commented on issue #31766:
URL: https://github.com/apache/superset/issues/31766#issuecomment-2579847809
<!-- Answer -->
The issue with TreeSelect options not rendering in the alert and report
modals might be related to the `StyledTreeSelect` component and how it fetches
and sets tab options. When the `ALERT_REPORT_TABS` feature flag is enabled, the
`StyledTreeSelect` component should populate its `treeData` with `tabOptions`
fetched from the `/api/v1/dashboard/${dashboard.value}/tabs` endpoint. If the
options are not rendering, it could be due to an issue in this data fetching
process or how the component is being updated with the fetched data.
Ensure that the `SupersetClient.get` call in the `useEffect` hook is
successfully retrieving the tab data and that the `tabOptions` state is being
correctly set. Additionally, check for any errors in the console or network
requests that might indicate why the data is not being fetched or rendered
properly.
If the root cause is similar to issue #31755, it might be worth
investigating any recent changes or commits related to the `TreeSelect`
component or its dependencies that could affect its rendering. Unfortunately, I
couldn't find specific details about changes related to issue #31755 in the
current context.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=hallucination)
|
[Other](https://app.dosu.dev/response-feedback/4bcc117a-02a3-41ea-8a1c-1d2cf22e409e?feedback_type=other)</sup>
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]