Skip to content

link in the tracking component #900

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

Open
vks2 opened this issue Apr 27, 2025 · 5 comments
Open

link in the tracking component #900

vks2 opened this issue Apr 27, 2025 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@vks2
Copy link

vks2 commented Apr 27, 2025

is it possible to attach a callback or custom on click function on any sqlpage components?
for example, I would like to open a seaprate page on click on each "row" of tracking component. (i mean if an element i green, or red, it would be separate pages, so markdown in title won't work)
should i take some ids for that?
pls give a comprehensive example
Thanks much!
Best

@lovasoa
Copy link
Collaborator

lovasoa commented Apr 28, 2025

I think what you need is a new link row level property on the tracking component.

Would you be ready to add it yourself, and open a pull request?

@lovasoa lovasoa changed the title callback or onclick() event link in the tracking component Apr 28, 2025
@lovasoa lovasoa added the enhancement New feature or request label Apr 28, 2025
@vks2
Copy link
Author

vks2 commented Apr 28, 2025

could you provide an example of existing componenets, that suits the best pls?

@lovasoa
Copy link
Collaborator

lovasoa commented Apr 28, 2025

This AI-generated introduction to the codebase is quite good, it can help diving into the internals faster: https://deepwiki.com/sqlpage/SQLPage

@vks2
Copy link
Author

vks2 commented May 5, 2025

i'm sorry, got some troubles with width-col implementing )got 2 rows instead of 1 or too wide row in case of col=6 with width=4). so switching back to markdown syntax possibilities.

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
None yet
Development

No branches or pull requests

2 participants