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

Copy with JSON logs is overlapping #2579

Closed
amir20 opened this issue Dec 9, 2023 · 14 comments
Closed

Copy with JSON logs is overlapping #2579

amir20 opened this issue Dec 9, 2023 · 14 comments

Comments

@amir20
Copy link
Owner

amir20 commented Dec 9, 2023

          Oops more bugs when testing JSON...
Screenshot 2023-12-09 at 6 28 44 AM

Originally posted by @amir20 in #2572 (comment)

@amir20
Copy link
Owner Author

amir20 commented Dec 9, 2023

@akash-ramaswamy created this bug to continue discussion. Let's bring all related bugs you find here.

@akash-ramaswamy
Copy link
Contributor

Hi @amir20 , regarding this JSON bug keeping the parent div (which wraps timestamp, stdout/stderr, JSON and copy button) if set to w-full it resolves this bug.

@akash-ramaswamy
Copy link
Contributor

Hi @amir20 , regarding this comment #2572 (comment) this is fine. I was initially thinking this too!

I thought we also could add word-break to the log message div, as it could break into new line automatically and width is maintained!

@amir20
Copy link
Owner Author

amir20 commented Dec 9, 2023

Send a pr and I'll test it. I have a complicated set up so can test edge cases.

@akash-ramaswamy
Copy link
Contributor

@amir20 raised a PR

@amir20
Copy link
Owner Author

amir20 commented Dec 9, 2023

Merged the other PR. So looks like search is just remaining.
Screenshot 2023-12-09 at 6 21 53 AM

@amir20
Copy link
Owner Author

amir20 commented Dec 9, 2023

Tested #2580. Looks good!

@akash-ramaswamy
Copy link
Contributor

akash-ramaswamy commented Dec 10, 2023

Merged the other PR. So looks like search is just remaining.

I have a query though, If we move the search icon to right, how would a user choose Jump to Context if the search entry is at the top?

image

@amir20
Copy link
Owner Author

amir20 commented Dec 10, 2023

I think it would be fine since the user can scroll. But I guess it will be one of those things I'll have to test out to really know.

@akash-ramaswamy
Copy link
Contributor

I think it would be fine since the user can scroll. But I guess it will be one of those things I'll have to test out to really know.

But the image I highlighted is the First Log entry 🥶

@amir20
Copy link
Owner Author

amir20 commented Dec 10, 2023

Maybe for now it will be ok since selecting only the first log won't be common.

We can release a new version and see what others say. If it's a common bug then we can move it or do something else.

@amir20
Copy link
Owner Author

amir20 commented Dec 10, 2023

If you can get the PR today then I'll try to release.

@amir20
Copy link
Owner Author

amir20 commented Dec 10, 2023

Releasing now. The only weird bug I saw was that sometimes when clicking to show context, the yellow line would go away. But honestly, I think this is good enough. Generally, after release, I get so many updates that if someone has a bug they will let you know. I am going to close this. Great job!

@amir20 amir20 closed this as completed Dec 10, 2023
@akash-ramaswamy
Copy link
Contributor

Hi @amir20 ! I will check that bug you mentioned and let you know!

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

No branches or pull requests

2 participants