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

Archived Rule Reappears in Active List After New Rule Creation #268

Open
Adameddy26 opened this issue Oct 3, 2024 · 0 comments
Open

Archived Rule Reappears in Active List After New Rule Creation #268

Adameddy26 opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Adameddy26
Copy link

Adameddy26 commented Oct 3, 2024

Current behavior

The archived rule becomes visible in the active list after saving the new rule, which contradicts the separate action for saving archive/unarchive changes.

Possible Solutions

Disable New Rule Creation Button: Prevent users from creating a new rule until they save their archive/unarchive changes, ensuring clarity in the process.
Navigation after Archiving: Automatically navigate users to the top of the rule list or to the rule directly below the archived rule after it has been marked as archived.
Maintain Current Page on New Rule Creation: Keep the user on the same rule detail page of the archived rule while allowing them to create a new rule, reducing context switching.
Redirect to New Rule Detail Page: Automatically redirect users to the new rule's detail page immediately after its creation, providing a clear path forward.

Steps to reproduce the issue

Select a run -> Select a route -> Select a rule to open its details.
Archive the selected rule.
Add a new route rule.
Save the changes when prompted.
Observe that the archived rule reappears in the active list.

Environment details

App version : v1.5.0
App environment : UAT

Additional information

https://jam.dev/c/f4f9a083-bd86-438c-b10c-a568dae9a9df

@Adameddy26 Adameddy26 added the bug Something isn't working label Oct 3, 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
Status: 📋 Backlog
Development

No branches or pull requests

1 participant