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(ktabledata): client sort should not trigger cache invalidation #2606

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

Justineo
Copy link
Contributor

@Justineo Justineo commented Feb 10, 2025

Summary

KM-946

  • When client-sort is enabled, exclude sort-related parameters from the cache key.
  • Removed an unintended console.log.

Konnect Preview: https://github.com/Kong/konnect-ui-apps/pull/5733

@Justineo Justineo requested review from adamdehaven, jillztom and a team as code owners February 10, 2025 05:29
Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit 6edc6cb
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/67a98ecdf540970008c0a730
😎 Deploy Preview https://deploy-preview-2606--kongponents-sandbox.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.

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit 6edc6cb
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/67a98ecdf540970008c0a72c
😎 Deploy Preview https://deploy-preview-2606--kongponents.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.

@Justineo Justineo enabled auto-merge (squash) February 10, 2025 08:24
Copy link
Member

@Leopoldthecoder Leopoldthecoder left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -378,8 +391,6 @@ const tableFetcherCacheKey = computed((): string => {
return `k-table_${identifierKey}`
})

watch(tableFetcherCacheKey, (key: string) => console.log(key))
Copy link
Member

Choose a reason for hiding this comment

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

😬 😅

@Justineo Justineo merged commit 391ed28 into main Feb 10, 2025
10 checks passed
@Justineo Justineo deleted the fix/ktabledata branch February 10, 2025 16:24
kongponents-bot pushed a commit that referenced this pull request Feb 10, 2025
## [9.20.1](v9.20.0...v9.20.1) (2025-02-10)

### Bug Fixes

* **deps:** update dependency @kong/icons to ^1.21.1 ([#2608](#2608)) ([191978d](191978d))
* **ktabledata:** client sort should not trigger cache invalidation ([#2606](#2606)) ([391ed28](391ed28))
@kongponents-bot
Copy link
Collaborator

🎉 This PR is included in version 9.20.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants