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

[4.x] Adding New Empty Preset View Overwrites Existing Preset #7807

Closed
palmiak opened this issue Mar 31, 2023 · 1 comment
Closed

[4.x] Adding New Empty Preset View Overwrites Existing Preset #7807

palmiak opened this issue Mar 31, 2023 · 1 comment

Comments

@palmiak
Copy link

palmiak commented Mar 31, 2023

Bug description

If you create a view and then, while having it active, press "+" - the add view behaves as a rename, not add.

Also, creating a second view with the same parameters as the previous one sometimes gets overwritten. It's a bit random and I couldn't catch the exact rule here.

How to reproduce

Here is the video showing the behavior.
https://user-images.githubusercontent.com/2342458/228995814-5fc0eaa8-eb31-4574-a677-f3c0dc5fefb8.mp4

Logs

No response

Environment

Environment
Queue: sync
Session: file

Statamic
Addons: 0
Antlers: regex
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.0.0-alpha.1 Solo

Installation

Existing Laravel app

Antlers Parser

regex (default)

Additional details

No response

@jasonvarga jasonvarga changed the title [4.0] Adding view on the collection page is misleading [4.x] Adding view on the collection page is misleading Mar 31, 2023
@jackmcdade jackmcdade self-assigned this Apr 4, 2023
@jackmcdade jackmcdade changed the title [4.x] Adding view on the collection page is misleading [4.x] Adding New Empty Preset View Overwrites Existing Preset Apr 7, 2023
@jackmcdade jackmcdade added the bug label Apr 7, 2023
@jackmcdade jackmcdade removed their assignment Apr 15, 2023
@jackmcdade
Copy link
Member

Fixed in #8001.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants