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

basics_Zazulya_2 #3

Merged
merged 8 commits into from
Feb 25, 2025
Merged

basics_Zazulya_2 #3

merged 8 commits into from
Feb 25, 2025

Conversation

Ascens1ve
Copy link
Collaborator

No description provided.

@Ascens1ve Ascens1ve linked an issue Feb 20, 2025 that may be closed by this pull request
@proitshnik proitshnik added the In Review Task is ready for being checked label Feb 20, 2025

# Сервис для MongoDB
mongo-db:
image: mongo:latest
Copy link
Collaborator

Choose a reason for hiding this comment

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

Зафиксировать версию образа для избежания потенциальных ошибок, вызванных новыми версиями.

image: mongo:latest
container_name: mongo-db
ports:
- "27017:27017"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это dev версия. В prod версии такого быть не должно на будущее.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Выглядит хорошо. Позже посмотрю с практической точки зрения.

@proitshnik proitshnik added In Progress Task is being completed In Review Task is ready for being checked and removed In Review Task is ready for being checked In Progress Task is being completed labels Feb 22, 2025
@Ascens1ve Ascens1ve requested a review from proitshnik February 23, 2025 14:55
proitshnik
proitshnik previously approved these changes Feb 23, 2025
Copy link
Collaborator

@proitshnik proitshnik left a comment

Choose a reason for hiding this comment

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

Хороший прототип для проекта. Есть недостатки, которые уже будут учитываться при разработке основного варианта программы.

@Ascens1ve Ascens1ve changed the title 2 basics prototype 1 basics_Zazulya_2 Feb 23, 2025
PetrBodunov
PetrBodunov previously approved these changes Feb 24, 2025
recorder = new MediaRecorder(combinedStream, {mimeType: "video/webm"});
console.log(recorder);
// Получаем путь для сохранения файла
fileHandler = await directoryHandle.getFileHandle("testreco.webm", {create: true});
Copy link
Collaborator

Choose a reason for hiding this comment

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

Получается, что файл локально будет постоянно перезаписываться. Для начала думаю пойдет, но пользователь ожидает, что если он 3 раза сделает скринкаст, то и записей будет 3. Подумай, как можно создавать несколько записей. Скорее всего помимо предмета, группы и ФИО придется передавать еще время начала записи.

Copy link
Collaborator Author

@Ascens1ve Ascens1ve Feb 24, 2025

Choose a reason for hiding this comment

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

Для нескольких записей добавил время к названию файла. Время сделал без ':', чтобы сохранялось на всех системах. И в базу теперь заносится начало и конец записи, можно как-нибудь по-другому их сохранять.

@Ascens1ve Ascens1ve dismissed stale reviews from PetrBodunov and proitshnik via e08387d February 24, 2025 10:11
Copy link
Collaborator

@PetrBodunov PetrBodunov left a comment

Choose a reason for hiding this comment

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

Все остальное сделано отлично.

if (directoryHandle === null) {
uploadInfo.textContent = "Выберите место сохранения";
return;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Не понял для чего нужно дублирование if (выше в коде - 25 строка):

if (!directoryHandle) {
      uploadInfo.textContent = "Выберите место сохранения";
      return;
    }

@proitshnik proitshnik merged commit bc23ee5 into main Feb 25, 2025
1 check passed
@proitshnik proitshnik deleted the 2-basics_prototype-1 branch February 25, 2025 19:29
@proitshnik proitshnik removed the In Review Task is ready for being checked label Feb 25, 2025
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.

Basics
3 participants