Skip to content

Conversation

@musale
Copy link
Contributor

@musale musale commented Jun 6, 2023

Closes #2147

PR Type

  • Bugfix

Description of the changes

Added top to the file-list caching key signature. This allows for variable and unique keys to use to cache when you vary the page-size attribute for the file-list.

PR checklist

  • Project builds (yarn build) and changes have been tested in at least two supported browsers (Edge + non-Chromium based browser)
  • All public APIs (classes, methods, etc) have been documented following the jsdoc syntax
  • Stories have been added and existing stories have been tested
  • Added appropriate documentation. Docs PR:
  • License header has been added to all new source files (yarn setLicense)
  • Contains NO breaking changes

Other information

Keys will look like this in indexDb: Example for getting files from my drive:

image

@musale musale added this to the 2023-06 milestone Jun 6, 2023
@musale musale requested a review from a team as a code owner June 6, 2023 10:26
@ghost
Copy link

ghost commented Jun 6, 2023

Thank you for creating a Pull Request @musale.

This is a checklist for the PR reviewer(s) to complete before approving and merging this PR:

  • I have verified a documentation PR has been linked and is approved (or not applicable)
  • I have ran this PR locally and have tested the fix/feature
  • I have verified that stories have been added to storybook (or not applicable)
  • I have tested existing stories in storybook to verify no regression has occured
  • I have tested the solution in at least two browsers (Edge + 1 non-Chromium based browser)

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

The updated storybook is available here

1 similar comment
@github-actions
Copy link

github-actions bot commented Jun 6, 2023

The updated storybook is available here

@gavinbarron gavinbarron merged commit 00b68e6 into main Jun 6, 2023
@gavinbarron gavinbarron deleted the bug-2147 branch June 6, 2023 14:20
sebastienlevert pushed a commit that referenced this pull request Jun 23, 2023
* fix: remove react peer dependency (#2389)

* fix: add top to the caching key to allow varying values with different page sizes (#2406)

Signed-off-by: Martin Musale <[email protected]>

* chore: capture all branch protection policy (#2430)

* chore: capture all branch protection policy
* wrap pattern in quotes

* fix: set requiresStrictStatusChecks to false

requiresStrictStatusChecks should be false if we don't have one or more status checks defined in requiredStatusChecks property.

---------

Signed-off-by: Martin Musale <[email protected]>
Co-authored-by: Musale Martin <[email protected]>
Co-authored-by: Michael Mainer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[BUG] File List caching ignores page size

2 participants