Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: enhance ninjas page #219

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

pedrofp4444
Copy link
Member

@pedrofp4444 pedrofp4444 commented Dec 22, 2023

This PR intends to improve the entire user experience of the target audience (Guardians). I moved the editing and creation of Ninjas from new pages to a single modal that keeps the route in use. I also standardized the Ninjas page to match the rest of the application with "default" components. At this point, it is still necessary to correct the "invalid date" in the Ninjas edition, which arises from the fact that the .birthday property is not included in the response data. I'm awaiting correction from the backend to make the changes fully functional.

Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for coderdojobraga-web canceled.

Name Link
🔨 Latest commit fbee07d
🔍 Latest deploy log https://app.netlify.com/sites/coderdojobraga-web/deploys/6585d801db702a00081959d3

@reviewpad reviewpad bot added the app App related contributions label Dec 22, 2023
Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for coderdojobraga-blog canceled.

Name Link
🔨 Latest commit fbee07d
🔍 Latest deploy log https://app.netlify.com/sites/coderdojobraga-blog/deploys/6585d8011cdab4000810bd51

Copy link

reviewpad bot commented Dec 22, 2023

AI-Generated Summary: This pull request refactors the "Ninjas" page to enhance usability. Changes are made in three files, with net 167 insertions and 101 deletions. The update includes improvements in how user interaction with the "Edit" option behaves in the "Ninja" component, replacing the previous Link-based approach with a state-based method utilizing React's useState hook to show a form based on user confirmation. Additionally, significant changes are made in the "NinjaForm" component, introducing a modal instead of a switching page for creating or editing a Ninja's data. Meanwhile, the "ninjas" page has seen additions related to state management and fetch methods for better UX during Ninja creation.

Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for coderdojobraga-app ready!

Name Link
🔨 Latest commit fbee07d
🔍 Latest deploy log https://app.netlify.com/sites/coderdojobraga-app/deploys/6585d801edbee50008442712
😎 Deploy Preview https://deploy-preview-219--coderdojobraga-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for coderdojobraga-maintenance canceled.

Name Link
🔨 Latest commit fbee07d
🔍 Latest deploy log https://app.netlify.com/sites/coderdojobraga-maintenance/deploys/6585d801cf62e60008e16502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app App related contributions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant