Challenge front end tech test Developer Pablo Stolarczuk #18
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.
Creation of new repository folders.repository.
Creation of new domain folders.domain
Addition of new repository folders in repositories catalog (catalog/index)
Creation of new table CreativesTableWidget and development of the main requirement.
The format of the field "Uploaded date" is slightly adapted but displayed as"YYYY-MM-DD" because it is not defined explicitly the expected format and it can be easily changed later according to functional requirements.
I tried to reuse as much as possible the existent widgets or components but the ui component TableUI did not have the features I needed (for example, no headers are displayed or it is organized the data in 1 cell ) Finally I created a plain table using html for rendering the data of Creatives.
I could have created a reusable component providing a table having the features needed for the Creatives Table which could be reused in the rest of the proyect but I considered that it would take too much time in this moment and I have prioritized delivering the challenge as soon as possible.
Creation of new repository sectors.repository where the functions getSectorsCount and getSectorsName are created simulating a query to the backend returning the corresonding arrays. coming from hardcoded json objects.
Creation of new domain sectors.domain. Here it is created and exported the interfaces that normally come from graphql schemas.
Addition of new repository sectors in repositories catalog (catalog/index)
Creation of new page "Sectors" (sectors.page) inside the "Business settings" context and development of the main requirement.
Addition of new route "/business-settings/sectors" inside business-settings.route and import of new component for rendering the new page Sectors.