dosubot[bot] commented on issue #30319:
URL: https://github.com/apache/superset/issues/30319#issuecomment-2358630355

   <!-- Greeting -->
   Hello @gautierrog 👋, I'm here to help you with any issues you're 
experiencing. I can assist with bug fixes, answer your questions, and guide you 
on your journey to becoming a contributor.
   
   <!-- Answer -->
   The issue you're experiencing with the `+ Dashboard` button on the welcome 
page not working after upgrading to Superset 4.0.2 could be related to recent 
changes or known issues in this version. Here are some points to consider:
   
   1. **Known Issues in Superset 4.0.2**:
      - There are several fixes related to the dashboard editor in the release 
notes for Superset 4.0.2, which might be relevant:
        - Fix: Cannot delete empty column inside a tab using the dashboard 
editor 
<sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.0.2.md)</sup>.
        - Fix: unable to resize due to the overlapped droptarget 
<sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.0.2.md)</sup>.
        - Fix: invalid drop item on a tab 
<sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.0.2.md)</sup>.
        - Fix: Change class name on last Droppable in a column 
<sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.0.2.md)</sup>.
   
   2. **Permission Checks**:
      - Ensure that the user has the necessary permissions to create a 
dashboard. The visibility and functionality of the `+ Dashboard` button can be 
affected by user permissions and state conditions 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/pages/Home/index.tsx)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/home/DashboardTable.tsx)</sup>.
   
   3. **Conditional Logic**:
      - The rendering of the dashboard creation page involves conditional logic 
that checks if the necessary dashboard data and charts are available and if the 
dashboard information has been properly initiated 
<sup>[[4]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/containers/DashboardPage.tsx)</sup>.
   
   4. **Code Path Differences**:
      - The code paths for creating a dashboard from the `+ Dashboard` button 
on the welcome page and the top-right menu are different. The top-right menu 
uses the `RightMenu` component and directs the user to `/dashboard/new` 
<sup>[[5]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/home/RightMenu.tsx)</sup>.
   
   Given these points, it might be helpful to check the following:
   - Verify that the user has the necessary permissions to create a dashboard.
   - Ensure that the dashboard data and charts are properly loaded before 
rendering the creation page.
   - Review the recent changes in the frontend components related to the `+ 
Dashboard` button to identify any potential issues.
   
   If the problem persists, you might want to investigate further into the 
specific frontend components and their states involved in rendering the 
dashboard creation page 
<sup>[[4]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/containers/DashboardPage.tsx)</sup><sup>[[6]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx)</sup><sup>[[7]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/containers/DashboardComponent.jsx)</sup><sup>[[8]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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]

Reply via email to