liam icon indicating copy to clipboard operation
liam copied to clipboard

Bug: TableCounter component hidden in left pane

Open MH4GF opened this issue 8 months ago • 2 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.

Version Type

Web Version (liambx.com)

Steps to reproduce

  1. Open any ERD in the web application
  2. Look at the left pane
  3. Notice that the TableCounter component is hidden/obscured

Image

Expected Behavior

The TableCounter component in the left pane should be fully visible, showing the table count information (visible tables / total tables).

Actual Behavior

The TableCounter component in the left pane is hidden or partially obscured, preventing users from seeing the table count information.

Additional Context

From the screenshot, it appears the left pane styling has an issue where the TableCounter component at the path @frontend/packages/erd-core/src/features/erd/components/ERDRenderer/LeftPane/TableCounter/TableCounter.tsx isn't properly displayed.

The CSS styles in TableCounter.module.css look correct, but there might be an issue with the container or parent element styling that's causing the component to be cut off or hidden.

Possible fixes:

  • Check the parent container's width/overflow properties
  • Review z-index values if layering is causing the issue
  • Adjust padding/margin in the left pane container to accommodate the component

MH4GF avatar May 16 '25 06:05 MH4GF

@khiroshi-win Hi, is this still unassigned?

FGMarais avatar May 25 '25 18:05 FGMarais

I already working on this ticket. but I am working on this ticket as well. in this ticket team asked me to update the Table Counter. So I think if i fix this ticket, then current bug will be solve as well.

ref:https://github.com/liam-hq/liam/pull/1678#issuecomment-2899703729

khiroshi-win avatar May 26 '25 00:05 khiroshi-win