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

#790 members einladen #793

Merged
merged 23 commits into from
May 31, 2024
Merged

Conversation

janikEndtner
Copy link
Collaborator

No description provided.

janikEndtner and others added 10 commits February 2, 2024 08:31
+ check if email not exists
…to feature/790_members_einladen

# Conflicts:
#	frontend/src/app/team-management/invite-user-dialog/invite-user-dialog.component.spec.ts
#	frontend/src/app/team-management/invite-user-dialog/invite-user-dialog.component.ts
#	frontend/src/app/team-management/new-user/new-user.component.ts
@janikEndtner janikEndtner reopened this Feb 2, 2024
@janikEndtner janikEndtner marked this pull request as draft February 2, 2024 12:22
@janikEndtner janikEndtner marked this pull request as ready for review February 2, 2024 14:40
@janikEndtner janikEndtner requested a review from Makae February 2, 2024 14:40
@janikEndtner janikEndtner changed the title Feature/790 members einladen #790 members einladen Feb 5, 2024
frontend/src/app/services/user.service.ts Show resolved Hide resolved
@if (index === 0) {
<label [for]="'firstName-col_' + index">Vorname</label>
}
<input
Copy link
Collaborator

Choose a reason for hiding this comment

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

Die Inputs sind irgendwie nicht "standard":
image

Sie sind ecking und nicht so hoch wie gewöhnlich. Irgendwie scheint das Material Theme nicht angewendet werden.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Das Padding hat noch gefehlt. Bezüglich den Ecken: ich habe dies den KeyResults angeglichen. Die Inputfelder sind schon etwas unterschiedlich.

frontend/cypress/e2e/teammanagement.cy.ts Outdated Show resolved Hide resolved
@@ -141,6 +141,48 @@ describe('Team management tests', () => {
});
});

describe('invite members', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be possible to add a test for the new user to log-in after registering, to verify the first or last name got updated and the assignment via email works? (Debatable, might be much effort to do)

</div>
<div class="lastname equal-sized-col">
<div class="input-style equal-sized-col">
@if (index === 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ich finde es ein bisschen speziell einen index mitzugeben. Ist die Label-click logik für das fokusieren des inputs notwendig? Sonst könnte man wahrscheinlich auch ohne index auskommen.
Und: Wenn es 2 Zeilen sind und ich auf das Label klicke, dann springt es in das input der ersten Zeile.

(Könnte man aber evtl. auch so lassen)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Wenn du das nicht über Labels machst, müsstest du die Titel wohl im äusseren invide-user-dialog.component.html hinzufügen. Dann hätte man wiederum das Problem, dass das Styling vielleicht nicht stimmt und die Spaltenbreite irgendwie kopiert werden müsste. Oder was wäre dann die Idee?

frontend/src/app/services/user.service.ts Show resolved Hide resolved
@janikEndtner janikEndtner merged commit d2caa33 into multitenancy_main May 31, 2024
5 checks passed
@Miguel7373 Miguel7373 deleted the feature/790_members_einladen branch October 31, 2024 08:23
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.

3 participants