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(platform): fdp table - make responsive pop-in areas navigable #12673

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

khotcholava
Copy link
Contributor

feat(platform): fdp table - make responsive pop-in areas navigable

closes #11004

Description

  • Ensure row navigation works correctly when interacting with pop-in columns using fdpTableColumnResponsive.
  • Malfunction code: showItemsCount input was duplicated.

closes [#11004](#11004)

## Description
Ensure row navigation works correctly when interacting with pop-in columns using `fdpTableColumnResponsive`.
closes [#11004](#11004)

## Description
Malfunction code: `showItemsCount` input was duplicated.
@khotcholava khotcholava self-assigned this Oct 30, 2024
Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for fundamental-ngx ready!

Name Link
🔨 Latest commit 6bd8c76
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-ngx/deploys/676568dd250909000838b1b6
😎 Deploy Preview https://deploy-preview-12673--fundamental-ngx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -18,7 +18,7 @@
}
</div>
@if (showGrowingButton) {
<fdp-table-growing-button [showItemsCount]="showItemsCount" [showItemsCount]="true"></fdp-table-growing-button>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed a duplicate showItemsCount input. One instance was hardcoded to true, while the other took its value from the component input. Now, showItemsCount consistently derives its value from the component input.
@mikerodonnell89 @InnaAtanasova

@@ -492,6 +492,7 @@ fdk-dynamic-portal {
&__body-table {
&.fd-table--pop-in {
.fd-table__row--secondary {
cursor: pointer;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the secondary row clickable and added a pointer cursor to indicate interactivity.
@mikerodonnell89 @InnaAtanasova

Copy link
Member

Choose a reason for hiding this comment

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

I think it also needs the active/hover state as well and should be applied to the entire cell

Copy link

github-actions bot commented Oct 30, 2024

Visit the preview URL for this PR (updated for commit 6bd8c76):

https://fundamental-ngx-gh--pr12673-11004-make-responsiv-yqit1mxn.web.app

(expires Mon, 23 Dec 2024 14:42:37 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff

@@ -492,6 +492,7 @@ fdk-dynamic-portal {
&__body-table {
&.fd-table--pop-in {
.fd-table__row--secondary {
cursor: pointer;
Copy link
Member

Choose a reason for hiding this comment

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

I think it also needs the active/hover state as well and should be applied to the entire cell

@droshev
Copy link
Contributor

droshev commented Nov 20, 2024

@khotcholava to follow up

@@ -648,3 +653,7 @@ fdk-dynamic-portal {
th.fd-table__cell .fd-table__inner {
font-weight: 700;
}

.tr-hovered {
Copy link
Contributor

@dpavlenishvili dpavlenishvili Dec 2, 2024

Choose a reason for hiding this comment

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

inappropriate naming, it should be something like fd-classNameExample, or it should be styled directly in template or if it is necessary, class should be created on fundametnal styles side and then used on ngx side.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

- Changed class name with more appropriate name
@mikerodonnell89
Copy link
Member

Couple things:

  • Border here is now missing
    Screenshot 2024-12-05 at 11 14 12 AM

  • When an item is selected and then i hover the description area, hover state is only applied to the title area. You can see the title area has a grey background and the description area has a blue background in the screenshot above

  • Description header text ("Description (popping < 900px)") is still receiving text selection cursor, implying clicking the area is not actionable

closes [#11004](#11004)

Adjust hover logic to prevent highlighting on checked rows, ensuring consistent UI behavior.
@khotcholava khotcholava force-pushed the 11004-make-responsive-pop-in-are-clickable branch from 3bad9c0 to 3084e1f Compare December 11, 2024 13:10
@droshev
Copy link
Contributor

droshev commented Dec 18, 2024

@dpavlenishvili can you review it? thanks

@droshev
Copy link
Contributor

droshev commented Dec 20, 2024

@mikerodonnell89 Can you take it from here. According to Akaki the work is done.

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.

[enhancement] fdp table - make responsive pop-in areas navigatable
5 participants