Skip to content

Conversation

@kunwp1
Copy link
Contributor

@kunwp1 kunwp1 commented Sep 23, 2024

This PR ensures consistency between the result panel and the RowModalComponent when displaying binary data. Previously, the result panel showed a trimmed string, while the RowModalComponent displayed a trimmed string with a "byte" prefix when a user clicked on a single row in the table. With this update, both components will now display the same trimmed string, improving the user experience by maintaining consistent data presentation across the interface.

Screenshot 2024-09-23 at 10 12 00 AM

@kunwp1 kunwp1 requested a review from Yicong-Huang September 23, 2024 17:14
@kunwp1 kunwp1 self-assigned this Sep 23, 2024
Copy link
Contributor

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

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

LGTM in general, left comments about null values.

@kunwp1 kunwp1 merged commit 01fe9d9 into master Sep 24, 2024
@kunwp1 kunwp1 deleted the chris-binary-data-print branch September 24, 2024 06:52
kunwp1 added a commit that referenced this pull request Sep 24, 2024
This PR addresses an issue introduced in PR #2863, where non-string
values (e.g., integers, longs) containing only 0 or 1 were incorrectly
identified as binary data in the frontend and displayed as such. This
fix ensures that non-string values are now correctly handled and
displayed according to their actual type, preventing them from being
mistakenly rendered as binary data.

[Before]

<img width="1034" alt="Screenshot 2024-09-24 at 11 30 12 AM"
src="https://github.com/user-attachments/assets/f300334c-8df0-4d99-a65f-b05c50816b7e">

[After]
<img width="1032" alt="Screenshot 2024-09-24 at 11 30 40 AM"
src="https://github.com/user-attachments/assets/dd34ec19-74ac-4b99-b05a-0730d2ea16e1">

Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR ensures consistency between the result panel and the
`RowModalComponent` when displaying binary data. Previously, the result
panel showed a trimmed string, while the `RowModalComponent` displayed a
trimmed string with a "byte" prefix when a user clicked on a single row
in the table. With this update, both components will now display the
same trimmed string, improving the user experience by maintaining
consistent data presentation across the interface.

<img width="1147" alt="Screenshot 2024-09-23 at 10 12 00 AM"
src="https://github.com/user-attachments/assets/700e22e0-7537-4916-a724-1aff159cbcbc">

---------

Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR addresses an issue introduced in PR #2863, where non-string
values (e.g., integers, longs) containing only 0 or 1 were incorrectly
identified as binary data in the frontend and displayed as such. This
fix ensures that non-string values are now correctly handled and
displayed according to their actual type, preventing them from being
mistakenly rendered as binary data.

[Before]

<img width="1034" alt="Screenshot 2024-09-24 at 11 30 12 AM"
src="https://github.com/user-attachments/assets/f300334c-8df0-4d99-a65f-b05c50816b7e">

[After]
<img width="1032" alt="Screenshot 2024-09-24 at 11 30 40 AM"
src="https://github.com/user-attachments/assets/dd34ec19-74ac-4b99-b05a-0730d2ea16e1">

Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants