ita-social-projects / StreetCode

MIT License
19 stars 9 forks source link

[Admin/Job] "Зберегти" Button Remains Enabled and Clickable After Saving a New Vacancy #1471

Open arisssha opened 5 months ago

arisssha commented 5 months ago

Description The "Зберегти" button does not become disabled and remains clickable after a new vacancy is saved, which may cause user confusion and potential data inconsistencies.

Environment: macOS 13.6.1/Google Chrome 125.0.6422.142 Reproducible: always Build found: a941ce6

Preconditions The user is logged in as an admin on the "Вакансії" page.

Steps to reproduce

  1. Click the "Додати нову вакансію" button
  2. Fill in the required fields with valid data
  3. Click the "Зберегти" button to save the new vacancy.
  4. Visually check the 'Зберегти' button to see if it changes its status to disabled.

Expected result The "Зберегти" button should become disabled and change color to gray instead of red after saving, indicating that data or changes have been successfully saved.

Actual result The "Зберегти" button remains enabled, does not change color from red to gray, and is still clickable after the new vacancy is saved.

https://github.com/ita-social-projects/StreetCode/assets/137923094/fc349471-0e93-4a36-8c19-51f8913d54b7

The "Зберегти" button remains enabled and clickable after saving in modal windows: "Хронологія" + "Для фанатів" + "Створити/Додати партнера" "Додати нову категорію"/ "Додати новий тег"/"Додати новий контекст" "Створити новину"

User story: #836 Test case: https://github.com/orgs/ita-social-projects/projects/21/views/1?pane=issue&itemId=66302417

Labels to be added "Bug" Priority:"Medium" Severity: "Minor" Type: "Functional/UX"

nazar-mykhailenko commented 3 months ago

tests needed

arisssha commented 4 weeks ago

The "Зберегти" button remains enabled and clickable after saving in the modal windows "Створити нового члена команди" and "Додати нову позицію" in the Editor section. These modals were not mentioned in the ticket. Please ensure that the save button is disabled after saving changes and is re-enabled only after any input change in these modals.