Skip to content

Cannot rename slices without breaking slice machine - V 1.5.0 #1037

@Ali-Parandeh

Description

@Ali-Parandeh

Versions

  • slice-machine-ui: 1.5.0
  • node: V 16.18.0

Steps to reproduce

Create a slice.
Save slice
Push Slice
Rename Slice
Save Slice
Push Slice
Create a new slice with old slice name
Save Slice
Push Slice

You will face issues.

What is expected?

You should be able to rename old slices, save them and push them. Then create new slices with old names.
For instance, I created a Services slice then realised I needed to call it ServicesCategory slice. And wanted to create another slice called Services but couldn't.

What is actually happening?

  1. Duplicate Slices
Screenshot 2023-07-07 at 18 14 19 Screenshot 2023-07-07 at 18 18 07 Screenshot 2023-07-07 at 18 14 03 Screenshot 2023-07-07 at 18 14 52
  1. When trying to edit one of the slices - Remove a field then save.
Screenshot 2023-07-07 at 18 15 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions