code4romania / code4romania/onghub

Refresh Needed for Nonexistent Request

Open
#508 0 comments 0 reactions 0 assignees View on GitHub
bug :bug: low-priority
Dominant language
TypeScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**Preconditions**:
User must be logged in on two different browsers: one as Admin and the other as Super-Admin.
The system must contain at least one application of the 'login with configuration' type.

**Steps of Reproduction**:
1. [_Admin_] Navigate to the "Toate aplicatiile" page
2. [_Admin_] Access the app, request access, and stay on that page
3. [_Super-Admin_] Reject the respective request
4. [_Admin_] Click on "Anuleaza solicitare" button

**Expected Result**:
4. The following error is displayed: "Solicitarea nu a putut fi trimisă," and the page does refresh.

**Actual Result**:
4. The following error is displayed: "Solicitarea nu a putut fi trimisă," and the page does **NOT** refresh.

**Note**:
This can be confusing for users because the request no longer exists, and nothing will happen until the user manually refreshes the page to notice this.
This occurs in other situations as well.

![xrayScreenShot_2024-07-01_17-10-54-792](https://github.com/code4romania/onghub/assets/49789938/9f37acd7-e8ee-4500-a329-d30e92cfb5e4)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.