Skip to content

Conversation

@shahrokni
Copy link
Contributor

Relates to: perses/perses#3483

Description 🖊️

This change adds a link editor to the table column setting editor.

image

Test 🧪

You should be able to add, edit, apply and finally persist the link setting.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

Signed-off-by: Seyed Mahmoud SHAHROKNI <[email protected]>

Signed-off-by: Mahmoud Shahrokni <[email protected]>
@shahrokni shahrokni force-pushed the feat/add_table_link_editor branch from a636307 to 1b49437 Compare December 30, 2025 13:47
@shahrokni shahrokni marked this pull request as ready for review December 30, 2025 13:49
@Nexucis Nexucis requested review from a team and jgbernalp and removed request for a team December 30, 2025 13:51
<Dialog.Header>Data link</Dialog.Header>
<Dialog.Content>
<LinkEditorForm
mode="modalEmbedded"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed on past PRs for the same topic, please make it an inline editor here too rather than a modal.

Copy link
Contributor Author

@shahrokni shahrokni Dec 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed this and the conclusion was that there is no enough space to have it inline under the column setting.
That was the reason we decided to come up with the mode in the first place.
Am I missing something?

Just asking to remember what the final conclusion was.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I missed a discussion then, I was still on this opinion perses/perses#3653 (comment);

The panel editor is already a (big) modal so I'm personally still in favor of the inline display. There's (currently) not much horizontal space available but quite some room to expand vertically, enough for lengthy links I'd say (and we can think about a max height + either scroll or expand on focus)

But let's see what the others think - it looks like you were at least 2 in favor of the modal display then?

Copy link
Contributor

@AntoineThebaud AntoineThebaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still more in favor of having the new Link form inline rather than in a modal, but I'm fine with the MVP in this state.

@shahrokni
Copy link
Contributor Author

Still more in favor of having the new Link form inline rather than in a modal, but I'm fine with the MVP in this state.

After a developing a quick prototype, we decided to go with the inline option.
I Will work on it again. Tnx for the valuable insight.

⚠️ In progress ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants