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

Repo Based Media Management - Sub Folder - Pagination breaks #4537

Open
3 tasks done
tobiasbeck opened this issue May 20, 2024 · 0 comments
Open
3 tasks done

Repo Based Media Management - Sub Folder - Pagination breaks #4537

tobiasbeck opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tobiasbeck
Copy link

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!

I have a Repo Based Media Manager with static: true. In my case it makes sense to not allow uploading more media files.
When having a large subdirectory with enough media items for media manager to use pagination, clicking on "next" leads to a error:
image

image

Reproduction

https://github.com/tobiasbeck/tina-media-bug

Steps to reproduce

  • Start Tina App
  • Go To Media Manager
  • Click on sub folder "brands"
  • Click Next in the bottom right corner.
  • Navigation fails

System Info

Ok to proceed? (y) y

  System:
    OS: macOS 14.3
    CPU: (10) arm64 Apple M2 Pro
    Memory: 201.80 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.8.0 - ~/.nvm/versions/node/v20.8.0/bin/node
    Yarn: 1.22.19 - ~/projects/tina-media-bug/my-tina-app/node_modules/.bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.8.0/bin/npm
    pnpm: 8.10.2 - /opt/homebrew/bin/pnpm
  Browsers:
    Brave Browser: 124.1.65.126
    Safari: 17.3
  npmPackages:
    @tinacms/cli: ^1.5.34 => 1.5.34 
    tinacms: ^1.5.24 => 1.5.24

Validations

@tobiasbeck tobiasbeck added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant