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

feat: 517 secure form #315

Merged
merged 17 commits into from
Dec 30, 2024
Merged

feat: 517 secure form #315

merged 17 commits into from
Dec 30, 2024

Conversation

mateuszszczecina
Copy link
Collaborator

Jira issue(s)

https://selleolabs.atlassian.net/browse/LC-517

Overview

Add modal to protect the user from data loss in questions form

@mateuszszczecina mateuszszczecina added the review me 👀 PR is ready to be reviewed label Dec 27, 2024
@mateuszszczecina mateuszszczecina self-assigned this Dec 27, 2024
Copy link
Collaborator

@wielopolski wielopolski left a comment

Choose a reason for hiding this comment

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

GJ 🍻
I left some comments

apps/api/src/lesson/lesson.type.ts Outdated Show resolved Hide resolved
apps/api/src/lesson/services/adminLesson.service.ts Outdated Show resolved Hide resolved
apps/api/src/seed/nice-data-seeds.ts Outdated Show resolved Hide resolved
@@ -95,8 +95,8 @@ export async function createNiceCourses(
lessonData.type === LESSON_TYPES.PRESENTATION
? "pptx"
: lessonData.type === LESSON_TYPES.VIDEO
? "mp4"
: null,
? "mp4"
Copy link
Collaborator

Choose a reason for hiding this comment

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

it looks like a messy shift

@@ -9,8 +9,8 @@ import type { UserWithCredentials } from "test/factory/user.factory";
type CamelToSnake<T extends string, P extends string = ""> = string extends T
? string
: T extends `${infer C0}${infer R}`
? CamelToSnake<R, `${P}${C0 extends Lowercase<C0> ? "" : "_"}${Lowercase<C0>}`>
: P;
? CamelToSnake<R, `${P}${C0 extends Lowercase<C0> ? "" : "_"}${Lowercase<C0>}`>
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like a messy shift

Copy link
Collaborator

@wielopolski wielopolski left a comment

Choose a reason for hiding this comment

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

Rename PR and merge it, GJ 🍻

@mateuszszczecina mateuszszczecina changed the title ms: feat 517 secure form feat: feat 517 secure form Dec 30, 2024
@mateuszszczecina mateuszszczecina changed the title feat: feat 517 secure form feat: 517 secure form Dec 30, 2024
@mateuszszczecina mateuszszczecina merged commit 7376e8a into main Dec 30, 2024
4 of 6 checks passed
@mateuszszczecina mateuszszczecina deleted the ms_feat_517_secure_form branch December 30, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review me 👀 PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants