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

Enhancements related to UI for the share verify and re-apply feature #1107

Closed
anushka-singh opened this issue Mar 14, 2024 · 2 comments
Closed

Comments

@anushka-singh
Copy link
Contributor

anushka-singh commented Mar 14, 2024

Is your idea related to a problem? Please describe.
In my testing for feature: https://github.com/data-dot-all/dataall/pull/1062/files I found some enhancements that can be made to the frontend. We can do this as a part of 2.4 if we so choose. They are really minor changes but would lead to overall better user experience.

  1. The font/text size of the hover over the health status icon is different from everything else on the page. Check Healthy in the screenshot below
Screenshot 2024-03-14 at 7 31 15 PM
  1. Bug: After clicking on verify status button, the page does not auto-refresh with updated status and timestamp. I need to hit refresh on the page every-time to get an updated status.

  2. When revoke succeeded, health status states Undefined instead of None or something a little more meaningful. Also, the ... is a little misleading because as a user, I keep waiting for it to change. We can also remove status altogether and replace with a dash -. That might be more meaningful.

undefined-verify
  1. While a share item is in 'PendingReApply'. I still have the option to revoke the item. I think we should block off that option when share is being fixed, to avoid inconsistency.

  2. When I hit verify on the overall dataset, there is a pop-up saying verify has started. After that, as a user I would be confused as there is no UI update on this page.
    Only if I open the share request, do I see that verification is in progress. There is no status update here at all. I am not notified that verification is complete. We could have a UI pop-up redirecting users to the individual share request pages to track the status of the health check and to re-apply shares if anything is broken. We could also have a button here to re-apply shares to all failed verification checks.

P.S. Don't attach files. Please, prefer add code snippets directly in the message body.

@dlpzx
Copy link
Contributor

dlpzx commented Mar 22, 2024

Hi @anushka-singh thank you for opening an issue. It is perfectly explained and some of the things are quick wins. We will add this item to 2.5 (UX improvements) project and address as many items as possible

noah-paige added a commit that referenced this issue Jun 25, 2024
### Feature or Bugfix
<!-- please choose -->
- Feature

### Detail
- Enhance Share UI for re-apply and verify share health status


### Relates
- #1107 

### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).

- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)?
  - Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
  - Is injection prevented by parametrizing queries?
  - Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization?
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
  - Are you logging failed auth attempts?
- Are you using or adding any cryptographic features?
  - Do you use a standard proven implementations?
  - Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users?
  - Have you used the least-privilege principle? How?


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
@dlpzx
Copy link
Contributor

dlpzx commented Jun 25, 2024

Completed in #1346

@dlpzx dlpzx closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants