Skip to content

736 fix location field error displayng#922

Merged
rusnakvlad merged 49 commits intodevelopmentfrom
736-FixLocationFieldErrorDisplayng
Dec 20, 2021
Merged

736 fix location field error displayng#922
rusnakvlad merged 49 commits intodevelopmentfrom
736-FixLocationFieldErrorDisplayng

Conversation

@rusnakvlad
Copy link
Collaborator

dev

GitHub Project

Code reviewers

Second Level Review

Summary of issue

The warning message of location validation was not displayed on the front, also the validation of location was not even happening on the back.

Summary of change

Was created location component which now handle logic of chousing location, also for location.onlineMeeting and location.Type we do not use any more component Field with property component, now is used directly the content which was passed to the property component of component Field. At the backend was refactored logic of location, so now we do not store in EventDto fields type, point and onlineMeeting, but only LocationDto. Also the type of onlineMeeting is not any more Uri, it was replaced by string.What about validation process, now the EventViewModel is validating directly in controller.

Testing approach

ToDo

CHECK LIST

  • PR is reviewed manually again (to make sure you have 100% ready code)
  • I've checked new feature as logged in and logged out user if needed
  • PR meets all conventions

#736

@rusnakvlad rusnakvlad self-assigned this Nov 26, 2021
@rusnakvlad rusnakvlad changed the title 736 fix location field error displayng 711 fix location field error displayng Nov 26, 2021
@rusnakvlad rusnakvlad changed the title 711 fix location field error displayng 736 fix location field error displayng Nov 26, 2021
iuriikhrystiuk
iuriikhrystiuk previously approved these changes Dec 20, 2021
@sonarqubecloud
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

85.0% 85.0% Coverage
0.0% 0.0% Duplication

@rusnakvlad rusnakvlad merged commit 79dfe68 into development Dec 20, 2021
@rusnakvlad rusnakvlad deleted the 736-FixLocationFieldErrorDisplayng branch December 20, 2021 16:56
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.

Splitting the location field in the event form into 2 fields: online meeting and map

3 participants