Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some comments lol:
Can’t find image for the upload file portion. On Figma, the drop zone is just a screen shot so I free styled it.
Imported existing ‘ImageModel.tsx’ file, but could not call as a component since I needed to modify it. Put modified version in ‘ProviderGallerySlide.tsx’.
Uploading image follows how Map Info uploads images:
Tried to put gallery creation component into collapsible component but refreshes page every time I click to expand. Maybe something to do with the provider page instead of the collapsible component since the collapsible is dependent on scrollheight and you cannot scroll on page? Removing that style lets you see in collapsible but breaks the expand-close. Also, the collapsible sets side margins for its children component, so child width is slowly gets constrained to middle when viewing from larger screens; not sure if that is how it is supposed to be.
Carousel was not working on add/edit providers screen (refreshes page when trying to go to next slides like clicking the collapsible), moved to ‘SingleProvider.tsx’ and marked with "{/*TO BE DELETED */} as with the gallery creation components in ‘RowForm.tsx’.