Skip to content

Conversation

iamrajiv
Copy link
Contributor

@iamrajiv iamrajiv commented Jul 23, 2025

Fixes: #166

Screenshot 2025-07-23 at 11 59 31 PM

@iamrajiv iamrajiv requested a review from a team as a code owner July 23, 2025 18:48
@iamrajiv
Copy link
Contributor Author

hey @sd2k can you take a look when you get a chance this builds on what we discussed in #166 i added the generate deeplink tool for dashboards panels and explore also added time support since i personally wanted that for sharing specific views let me know if anything needs changing

@sd2k sd2k self-assigned this Jul 24, 2025
Copy link
Collaborator

@sd2k sd2k left a comment

Choose a reason for hiding this comment

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

Nice, @iamrajiv, this looks awesome.

I'd love to see an end-to-end test for this (in the tests directory), it'd be a great way to demo how it looks. Do you think you could have a go at that?

Could you also update the README with the new tool?

Copy link
Collaborator

@sd2k sd2k left a comment

Choose a reason for hiding this comment

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

Thanks for adding docs & tests, I'm trying to run the tests locally but they're not all passing, perhaps some of the requirements are a bit strict. Honestly they're mostly smoke tests since it's impossible to control the underlying models so you can simplify them to just include the first one or two, that should be less flaky.

@iamrajiv
Copy link
Contributor Author

thanks for the review @sd2k. i’ve removed the unnecessary file i had created those to test my stuff and yes we can use make run i just noticed the makefile now

also i’ve updated the readme to include this feature and we have e2e tests too which are working fine

do you think we should have a demo video as well like how to connect usage all mcp features and all that not in this pr but maybe in a separate issue and improvement?

Copy link
Collaborator

@sd2k sd2k left a comment

Choose a reason for hiding this comment

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

Thanks again @iamrajiv!

I'm still running into failures with the e2e tests (i.e. when I run (cd tests && uv run pytest navigation_test.py)). I think we can make the LLM-as-a-judge requirements a bit less strict (and perhaps we can get rid of the 'workflow' test case). The suggestion I made inline about removing the more vague UID parameter might help, not sure though.

do you think we should have a demo video as well like how to connect usage all mcp features and all that not in this pr but maybe in a separate issue and improvement?

I think some demo videos showing off the various tools would be useful yeah. I'll create a separate issue for that.

@iamrajiv
Copy link
Contributor Author

also @sd2k the e2e tests pass locally but they need paid api keys and sometimes run into rate limits while testing since we already use string-based checks that cover the same logic should we make the llm checks optional for contributors without api credits?

@sd2k
Copy link
Collaborator

sd2k commented Jul 30, 2025

Hey @iamrajiv, I'm happy to run the e2e tests and sort them out, it looks like just the test_generate_deeplink_with_custom_params ones are failing for me. I'll merge and fix any issues in a separate PR, thanks again!

@sd2k sd2k enabled auto-merge (squash) July 30, 2025 10:00
@sd2k sd2k merged commit 8c3f20f into grafana:main Jul 30, 2025
11 checks passed
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.

Feature request: tool to generate URLs for navigation
2 participants