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

feat(playground): provide a back to trace button from the span playgr… #4954

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

mikeldking
Copy link
Contributor

…ound

resolves #4953

Allow the user to go back to a trace from the span playground

Screen.Recording.2024-10-10.at.5.09.12.PM.mov

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 10, 2024
Back to Trace
</Button>
}
>{`Replay and iterate on your LLM call from your ${span.project.name} project`}</Alert>
Copy link
Contributor

Choose a reason for hiding this comment

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

curious about the project part here since playground is sitting to the side of any project. is this referring to playground spans or the original spans project?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the original project!

import { useLoaderData } from "react-router";
import React, { useMemo, useState } from "react";
import { useLoaderData, useNavigate } from "react-router";
import { divide } from "lodash";
Copy link
Contributor

Choose a reason for hiding this comment

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

start typing, press tab, get a lodash import

this is the way of the world

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haha, yeah this happens to me so much

@mikeldking mikeldking merged commit cf18e34 into playground Oct 10, 2024
7 checks passed
@mikeldking mikeldking deleted the mikeldking/4953-span-back-button branch October 10, 2024 23:49
mikeldking added a commit that referenced this pull request Oct 11, 2024
#4954)

* feat(playground): provide a back to trace button from the span playground

* fix

* fix types in tests
mikeldking added a commit that referenced this pull request Oct 11, 2024
#4954)

* feat(playground): provide a back to trace button from the span playground

* fix

* fix types in tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants