Paulo Porto Jr buildbox web challenge#222
Open
prtpj1 wants to merge 19 commits intoBuildbox-IT-Solutions:masterfrom
Open
Paulo Porto Jr buildbox web challenge#222prtpj1 wants to merge 19 commits intoBuildbox-IT-Solutions:masterfrom
prtpj1 wants to merge 19 commits intoBuildbox-IT-Solutions:masterfrom
Conversation
adds initial npm packs adds css reset file removes initial vite stuffs
➡️ removes tsconfig.app.json and tsconfig.node.json to simplify this only-frontend project
➡️ creates the form inputs and buttons cmdand quote> ➡️ unifies CSS globally on App.css
➡️ adds functionality to load avatar picture from hd ➡️ adds Avatar component to show the loaded picture
➡️ adds the code to function onSubmit to add a new post with name, message and picture ➡️ adds uuid to generates a random id for each new post ➡️ adds global type PostProps ➡️ adds hook useNewPost
➡️ When user click on button Publish, a new post is created and the form reset to initial state
➡️ adds functionality to clear the form by clicking on button Descartar ➡️ creates the function handleResetForm to res-use on Publicar button to clear the form after publish a new post
➡️ adds function to remove avatar picture
➡️ adds the possibility to remove from post list a post it was already published
➡️ removes unnecessary styled component from avatar container
➡️ to fix a responsivity issue with trashcan icon avatar
➡️ tests if form elements rendering correctly
➡️ tests if when "Publicar" buttons is clickec the data is submited correctly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Paulo Porto Jr
email: prtpj1@gmail.com
cel/whatsapp: 21-97374-9986