Slices not showing up after pushing changes

I've pushed some changes through slicemachine but they aren't still being displayed in the dashboard. I tried to find information regarding this process in the documentation but wasn't able to find anything that could help me. I saw in one video that the changes are "pushed to github" but I'm currently working locally without using github.

Can anyone help me with this?

1 Like

Prismic doesn't have access to push changes to GitHub. Maybe the warning in the console is unrelated to Slice Machine?

Is not a warning. I just saw the github reference in a video. Prismic & Slice Machine - Crash Course - YouTube

I've pushed the changes from the slicemachine and it is displayed as synced.
Yet, when I go to the dashboard to try to add the new slice it is not displayed.

1 Like

I've tried starting from scratch again with minimal boilerplate for the nextjs project and I still have the same issue where I create a slice and it doesn't reflect in the dashboard.

Is it possible to contact support directly for help with this, we are currently evaluating options for a project.

Hey @Phatale, could you share a screenrecording of this?

Yes certainly.

So here's a 2 minute recording of me showing what's the issue. I am following all the steps, and I made sure the file is synced. Yet, when I end up going to the dashboard there's nothing available. I'm using the template provided in the prismic site when creating a nextjs site with minimal boilerplate.

1 Like

Hi @Pau has there been any updates regarding the above behaviour?

@Pau
I figured it out. I decided to create a new page to see if the change would be reflected. It worked so I checked further and saw that we have to individually add the slices to be enabled in the pages. Once I enabled the slices in the page I was able to add the slices to the respective pages in the dashboard.

I never saw any mention of it in the documents nor the tutorials, so I think that would be helpful a helpful addition.

tagging @nathanisaac056 for solution.

2 Likes

I don't know if anyone is still dealing with this issue, but I had something similar happen. I have been working with Prismic for about two days, and added a new slice to a repository today. I was able to build the slice, edit it, and view it in simulator, but then couldn't find it on the home page dashboard. After about 30 minutes of looking around, I found out I was missing a step.

When you add a slice in the slice machine, you need to go to the page types iand scroll down to the slice zone.  You have to select add slices and add the new slice to the page type for the page to recognize it.
2 Likes

Thanks. It works!

i totally agree, has 100% logic, but talking by intuitive, it's kind wrong xd

maybe the UI/UX flow, should ask when created, where types should include slices on.