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

#866-fix refreshing new Category page #954

Merged
merged 3 commits into from
Nov 20, 2024
Merged

Conversation

NVMakarenko
Copy link
Contributor

@NVMakarenko NVMakarenko commented Nov 19, 2024

dev

PROJECT

Board ticket

Code reviewers

Second Level Review

Summary of issue

The issue is similar to Board ticket

New Category is not creating because of validation failed. Error message is shown. If change locale on this stage, admin will be redirected to Category's page.

category_issue.mp4

Expected result
'New Categories' page is reload and displayed.
'Name' field is blank.
Error message is absent.

Summary of change

  1. fix turbo_stream response.
  2. move form into partial.
fix_category.mp4

CHECK LIST

  • СI passed
  • PR is reviewed manually again (to make sure you have 100% ready code)
  • All reviewers agreed to merge the PR
  • I've checked new feature as logged in user
  • PR meets all conventions

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.76%. Comparing base (51ec11c) to head (af5663f).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #954   +/-   ##
========================================
  Coverage    91.76%   91.76%           
========================================
  Files           73       73           
  Lines         1044     1044           
========================================
  Hits           958      958           
  Misses          86       86           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@render render bot temporarily deployed to 866-refresh-new-category - zero-waste-staging PR #954 November 20, 2024 11:32 Destroyed
@loqimean loqimean merged commit 2bfde5b into develop Nov 20, 2024
7 checks passed
@loqimean loqimean deleted the 866-refresh-new-category branch November 20, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Functional
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Add calculator] 'Calculator' page is reverted when changing locales after creating invalid calculator name
5 participants