Giter Club home page Giter Club logo

Comments (6)

kyoshino avatar kyoshino commented on September 25, 2024

Will check! 🤔

from sveltia-cms.

kyoshino avatar kyoshino commented on September 25, 2024

Testing with my local client instances but can’t reproduce the issue. @CarloBu Do you see the problem?

from sveltia-cms.

CarloBu avatar CarloBu commented on September 25, 2024

kyoshino, It works perfectly for me.
I will try to reproduce the issue.

from sveltia-cms.

CarloBu avatar CarloBu commented on September 25, 2024

@josineto, I can't reproduce the issue either.
Can you check a test collection schema to see if the divider is still jumping?

config.yaml

backend:
  name: github
  repo: your/repo
  branch: main
  base_url: http://localhost:4321
  auth_endpoint: /api/auth

media_folder: /src/assets/imgs
public_folder: /src/assets/imgs

collections:
  - label: Test1
    name: test1
    folder: src/content/test1
    create: true
    fields:
      - {label: Title, name: title, widget: string}

  - label: Test2
    name: test2
    folder: src/content/test2
    create: true
    fields:
      - {label: Title, name: title, widget: string}
    
  - label: Test3
    name: test3
    folder: src/content/test3
    create: true
    fields:
      - {label: Title, name: title, widget: string}

  - label: Test4
    name: test4
    folder: src/content/test4
    create: true
    fields:
      - {label: Title, name: title, widget: string}

  - divider: true
    name: d1

  - label: Test5
    name: test5
    folder: src/content/test5
    create: true
    fields:
      - {label: Title, name: title, widget: string}

  - divider: true
    name: d2

  - label: Test6
    name: test6
    folder: src/content/test6
    create: true
    fields:
      - {label: Title, name: title, widget: string}

  - label: Test7
    name: test7
    folder: src/content/test7
    create: true
    fields:
      - {label: Title, name: title, widget: string}

If the divider is not jumping for you in this test schema, then it means there is an issue with your config.yaml. In that case, it would be great if you could share the entire config.yaml file here.

from sveltia-cms.

josineto avatar josineto commented on September 25, 2024

Sorry, problem is: I put the same name, d1, to both dividers... changing to different names solves it. I'll close this issue. But perhaps this mistake could go to the list of things to validate in the configuration... Anyway, sorry (again) for the noise!

from sveltia-cms.

kyoshino avatar kyoshino commented on September 25, 2024

I thought having the same name for multiple collections would rather result in an empty CMS screen due to an internal error. Anyway, good to know your problem is solved, and I’ll implement config validation soonish!

from sveltia-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.