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

fix(datagrid): hide only currently visible columns on detail open #1626

Merged

Conversation

martinbrom
Copy link
Contributor

@martinbrom martinbrom commented Nov 26, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • If applicable, have a visual design approval

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #1305

Because the first datagrid column is hidden, no column is shown when datagrid detail is open
image

What is the new behavior?

The first visible column is shown when datagrid detail is open

image
image

Does this PR introduce a breaking change?

  • Yes
  • No (not from API perspective, but yes, now we are showing a column and before the fix there was nothing shown)

Closes vmware-clarity#1305

Signed-off-by: Martin Brom <martinbrom97@gmail.com>
Copy link
Contributor

github-actions bot commented Nov 26, 2024

👋 @dtsanevmw,

  • 🙏 The Clarity team thanks you for opening a pull request
  • 🎉 The build for this PR has succeeded
  • 🔍 The PR is now ready for review
  • 🍿 In the meantime, view a preview of this PR
  • 🖐 You can always follow up here. If you're a VMware employee, you can also reach us on our internal Clarity Support space

Thank you,

🤖 Clarity Release Bot

@dtsanevmw dtsanevmw self-assigned this Nov 26, 2024
@dtsanevmw dtsanevmw changed the title fix(datagrid): keep first visible column when expanding datagrid detail fix(datagrid): hide only currently visible columns on detail open Nov 28, 2024
Copy link
Contributor

@dtsanevmw dtsanevmw left a comment

Choose a reason for hiding this comment

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

Hello,

Thank you very much for your contribution. I added some changes that needs to be made in order for us to merge it.

Regards,
Clarity Team

@dtsanevmw dtsanevmw merged commit a646129 into vmware-clarity:main Jan 9, 2025
9 checks passed
dtsanevmw added a commit that referenced this pull request Jan 10, 2025
)

## PR Checklist

Please check if your PR fulfills the following requirements:

- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] If applicable, have a visual design approval

## PR Type

What kind of change does this PR introduce?

- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:

## What is the current behavior?

Issue Number: #1305 

Because the first datagrid column is hidden, no column is shown when
datagrid detail is open

![image](/~https://github.com/user-attachments/assets/4e203716-ce56-4e82-814c-e09a38b92f32)

## What is the new behavior?

The first visible column is shown when datagrid detail is open


![image](/~https://github.com/user-attachments/assets/98a37ef1-e0f3-4cac-bded-75754dd1826d)

![image](/~https://github.com/user-attachments/assets/84aae34b-18f2-4c42-9591-375d053cb1a3)


## Does this PR introduce a breaking change?

- [ ] Yes
- [x] No (not from API perspective, but yes, now we are showing a column
and before the fix there was nothing shown)

---------

Signed-off-by: Martin Brom <martinbrom97@gmail.com>
Co-authored-by: Daniel Tsanev <127101685+dtsanevmw@users.noreply.github.com>
Copy link
Contributor

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants