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

[FR]: Link Alias for Select Type Column #613

Closed
zcysxy opened this issue Nov 19, 2022 · 4 comments
Closed

[FR]: Link Alias for Select Type Column #613

zcysxy opened this issue Nov 19, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@zcysxy
Copy link

zcysxy commented Nov 19, 2022

Contact Details

No response

Present your request

Hi, I have a column/field to track status whose property type is select and its values are links instead of plain text. So it would be great if the Link Alias feature is also supported for select type columns. I can think of some other use cases, such as select a project note for a sub note.

image

For which platform do you request this request??

Desktop

@zcysxy zcysxy added enhancement New feature or request triage Issue not tagged yet. talking to the user labels Nov 19, 2022
@RafaelGB
Copy link
Owner

Hi @zcysxy ,
to render a link we need to run Obsidian Markdown and the select component does not allow it.

Its a performance decision

I am sure it's possible but it requires to refactor all the select component (same of tags)

@RafaelGB RafaelGB added help wanted Extra attention is needed and removed triage Issue not tagged yet. talking to the user labels Nov 20, 2022
@advaitathreya
Copy link

If rendering links would be intensive, would it be possible to define a display alias for select options so that the linking structures are preserved in the notes but in the DB folder table we don't see the entire link text as so [[PATH|NAME]]? I imagine this could be an extra option in the labels list alongside the colors

@RafaelGB
Copy link
Owner

I think the performance will be cool.

The idea its to include an useEffect for the option component just like here

MarkdownService.renderMarkdown(

But a problem could be the dropdown selector, I don't know if we can display the markdown there.

Once we start this issue we will see

@RafaelGB
Copy link
Owner

Commit 2ef9bee =)

Will be added with the next version, but there is no link helper menu

@RafaelGB RafaelGB removed the help wanted Extra attention is needed label Jan 16, 2023
@RafaelGB RafaelGB self-assigned this Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants