Feature fetch CustomerProfile data
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, react
- Ambito
- frontend
Direzione di ricerca
Esamina la dipendenza #20 e il componente CustomerProfile, quindi segui il pulsante "Show profile" della tabella. Usa il customer endpoint specificato con l'ID selezionato e verifica che, quando si fa clic sul pulsante, il profilo mostri l'ID, l'indirizzo e-mail, lo stato VIP e il numero di telefono in un elenco.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Display a customer profile - iteration 2
Depends on #20
Instructions:
When a "Show profile" button is clicked in the table, fetch the corresponding customer profile from https://cyf-react.glitch.me/customers/<ID> in the <CustomerProfile /> component. A customer profile should show the customer ID, their email, if they are VIP and their phone number in a list.
Hint: You need to use useEffect and the correct dependency array. You'll need to fetch customers data from the API every time a "Show profile" button is clicked and render it accordingly.
Test:
When you click on a "Show profile" button in the table, the corresponding customer profile is loaded and rendered on the screen.
- Lingua principale
- JavaScript
- Stelle
- 1
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeYourFuture/React-Module-Project
-
Feature Error Message Aperta♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Feature Loading Message Aperta🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Feature Search State Aperta🐂 Size Medium 📅 Week 3 🧩 Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Feature Active Row Aperta🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Feature Bookings state Aperta🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
Tutte le issue di CodeYourFuture/React-Module-Project
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
web-platform-tests/interop#1455 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100