когдо создаю новый заявка всегда выходит что я должен писать все поля хотя я это и сделала ,поэтому не могу создать новый заявка
Я понимаю вашу проблему. Система показывает сообщение о необходимости заполнить все поля, даже когда вы их заполнили. Давайте исправим эту проблему с валидацией формы:
Я внес несколько важных изменений, которые должны решить проблему с созданием новой заявки:
Улучшена функция валидации формы:
validateForm() более точно проверяет поля и показывает, какие именно поля не заполненыУлучшена обработка формы:
Улучшена работа с модальным окном:
Улучшена серверная валидация:
Теперь при создании новой заявки:
Если проблема все еще возникает:
Эти изменения должны решить проблему с созданием новой заявки и предоставить более понятную обратную связь, если что-то пойдет не так.
короче ошибка это я должен написать или выбырать место в карте когдо я падою новый заявка а я хочу не выбырать
Теперь я понял вашу проблему. Система требует выбрать центр на карте при создании заявки, но вы хотите создавать заявки без этого. Давайте исправим это:
Я понял вашу проблему - система требовала выбрать центр на карте при создании заявки, но вы хотите создавать заявки без этого. Я внес следующие изменения:
Удалил карту из формы создания заявки:
Сделал поле centerId необязательным:
Изменил валидацию формы:
Обновил серверную валидацию:
Теперь при создании новой заявки:
Если у вас все еще возникают проблемы:
Теперь вы должны иметь возможность создавать заявки без выбора центра на карте.
сколько поставишь по критерием Final Project Completion
Total Points: 40
Deadline: May 2nd, 23:59 (Hard Deadline)
Objective
In this assignment, you are required to complete the project you started in Assignment 3 and dockerize the project
Requirements
Finish the Project Functionality (10 points)
Implement all core features planned and discussed in Assignment 3.
Ensure all major use cases are covered and fully functional.
Improve the User Interface (5 points)
Make the web pages user-friendly and visually clear.
Follow basic usability and design principles as discussed in class.
Dockerize the Project (15 points)
Containerize your application using Docker as demonstrated in the lecture.
Your project must be fully runnable in a Docker environment.
Your backend must be properly configured and connected to other parts (database, frontend if applicable) of the application .
Version Control & Collaboration (10 points)
Each team member must have at least one commit in the GitHub repository which clearly shows contribution to the development of the project
Commit messages must be clear and declarative, reflecting the actual changes made.
Dummy commit messages such as “first commit”, “second try”, or “some fixes” are not acceptable and will negatively affect the evaluation.
Defense
The defense will be on the very first lesson after the deadline. No defense means automatically graded for the whole team as 0. During the defense, the team should demonstrate what was done and who made contribution to the project.
Submission Details
Submit your project repository before the deadline: May 2nd, 23:59.
Late submissions will not be accepted. This is a hard deadline.
Each team member must submit github url link to the canvas before the deadline
Latest commit time in github must be before the deadline
Project Development Plan
Milestone 1 (Assignment 4): Spring Boot Project Setup
• Initialize a Spring Boot project with necessary dependencies.
• Develop a donation center map with city-based search.
• Create an admin panel for managing donation centers.
Milestone 2 (Assignment 5): Database Integration
• Set up PostgreSQL database.
• Implement donor records and CRUD operations.
• Connect the backend to the database.
Milestone 3 (Assignment 6): Feature Completion and Dockerization
• Implement rare blood type donor search.
• Integrate email/SMS reminders for repeat donors.
• Containerize the application using Docker and deploy it.