FlowFuse / FlowFuse/node-red-dashboard

ui-table ignores 'width' setting for type 'Link'

Open
#889 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

With a dynamic (length) URL (created else where in the flow), the table column width in the table will bounce around to fit the full length of the URL.

### Expected Behavior

I expected the URL width setting in ui-table to be honored regardless of the URL length.
(Note, you can test the exact same setup in dash 1.0 community 'table' node. It will just show the fixed column with of the ULR regardless of the URL actual length - the link works as expected).

### Steps To Reproduce

Place a ui-table node.
Make an array of at least 3 objects. Text, ULR, Text.
Deploy and inject the array.
Note that if you adjust the length of the URL in the array, the dashboard displays the entire URL regardless of what you have the column width set for.
This has a knock on effect of changing the Text width's either side of the ULR column as the URL width changes.

### Environment

- Dashboard version: 1.10.0
- Node-RED version: 3.1.7
- Node.js version: 20.11.1
- Platform/OS: Windows 11
- Browser: Chrome, Firefox and Edge

### Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.