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

Show User: Expand/contract icon not displayed #30514

Open
3 tasks done
praveer38 opened this issue Oct 4, 2024 · 3 comments
Open
3 tasks done

Show User: Expand/contract icon not displayed #30514

praveer38 opened this issue Oct 4, 2024 · 3 comments
Labels
#bug:cosmetic Cosmetic/layout/design tweak needed validation:validated A committer has validated / submitted the issue or it was reported by multiple users

Comments

@praveer38
Copy link

Bug description

On the Show User page, the expand/contract icons are not displayed for the “User info”, “Personal Info” and “Audit Info” sections.
image

Screenshots/recordings

image

Superset version

4.0.2

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Copy link

dosubot bot commented Oct 4, 2024

The expand/contract icons in Apache Superset are implemented using the AntdCollapse component from the antd library. The icons are styled with conditional logic that includes properties like animateArrows and expandIconPosition [1]. If these icons are not displaying, it could be due to a styling issue or a missing dependency related to these properties.

Here are a few things you might want to check:

  1. Dependencies: Ensure that the antd library is correctly installed and up to date, as it provides the Collapse component used for these icons.

  2. CSS/Styling: Verify that the CSS styles are correctly applied. The icons rely on specific styles for rotation and animation, which might not be applied if there are CSS conflicts or missing styles.

  3. JavaScript Console: Check the browser's JavaScript console for any errors that might indicate why the icons are not rendering.

  4. Component Props: Ensure that the props like animateArrows and expandIconPosition are set correctly in the component implementation.

If these checks do not resolve the issue, it might require a deeper dive into the specific implementation details of the 'Show User' page to identify any discrepancies.

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the #bug:cosmetic Cosmetic/layout/design tweak needed label Oct 4, 2024
@sfirke
Copy link
Member

sfirke commented Oct 4, 2024

A very minor bug but yes I see this in Superset 4.0.2 as well, in both Chrome and Firefox.

@sfirke sfirke added the validation:validated A committer has validated / submitted the issue or it was reported by multiple users label Oct 4, 2024
@rusackas
Copy link
Member

rusackas commented Oct 4, 2024

PRs welcome for this... but really this needs to be converted to a React view, so supporting the FAB view isn't likely to get much love.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug:cosmetic Cosmetic/layout/design tweak needed validation:validated A committer has validated / submitted the issue or it was reported by multiple users
Projects
None yet
Development

No branches or pull requests

3 participants