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

N21-1319 ctl showing tool usage #2922

Merged
merged 18 commits into from
Nov 20, 2023
Merged

Conversation

mrikallab
Copy link
Contributor

@mrikallab mrikallab commented Nov 20, 2023

Short Description

This PR handle the display of metadata in ExternalToolSection on the new admin page, when the admin wants to delete a school external tool.

Links to Ticket and related Pull-Requests

https://ticketsystem.dbildungscloud.de/browse/N21-1319
hpi-schul-cloud/schulcloud-server#4543
hpi-schul-cloud/superhero-dashboard#234

Changes

Data-security

Deployment

New Repos, NPM packages or vendor scripts

Screenshots of UI changes

Checklist before merging

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • PO: Any deviation from requirements was agreed with Product-Owner / ticket author / support-team
  • DEV: Every new component is implemented having accessibility in mind (e.g. aria-label, role property)

Notice: Please keep this Pull-Request as a Draft (or add WIP label), until it is ready to be reviewed

itemToDelete.value = item;
isDeleteDialogOpen.value = true;
await fetchSchoolExternalToolUsage(item.id);
if (!metadata.value) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not the best way to do it from a user experience standpoint, because when a user makes an action/presses a button, they expect some responding action to happen. If I remember correctly a delay of 500ms between action and response can already cause disorientation. So when the loading takes a second the button press does not feel responsive anymore.

Copy link
Contributor

@arnegns arnegns Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be fixed with other dialog requirements like error handling in the next ticket

src/locales/en.json Outdated Show resolved Hide resolved
src/components/administration/ExternalToolSection.unit.ts Outdated Show resolved Hide resolved
src/components/administration/ExternalToolSection.unit.ts Outdated Show resolved Hide resolved
src/components/administration/ExternalToolSection.unit.ts Outdated Show resolved Hide resolved
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.6% 94.6% Coverage
0.0% 0.0% Duplication

@IgorCapCoder IgorCapCoder merged commit ffc3698 into main Nov 20, 2023
44 of 45 checks passed
@IgorCapCoder IgorCapCoder deleted the N21-1319-ctl-showing-tool-usage branch November 20, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants