Add/edit entry on new "page"
Closed this issue · 2 comments
I love my little edit widget, but I must let it go.
When selecting to edit/add the user should be sent to "/cycle/:day/edit".
On small devices, the app bar should change (or maybe just covered) to look similar to examples below, while on larger ones it should be more typical with buttons below.
Questions
Do we want a Modal?
https://material-ui.com/components/modal/
Do we want a Dialog?
https://material-ui.com/components/dialogs/
OlaVea: "No"
Do we want a page?
Where in the code do we "put" the button? to open the modal/page?
OlaVea:
I found the <EditNoteIcon /> in DaySummary.js
Does that mean that <Fab /> is a sort of button?
OlaVea:
Where in the code do we "put" the modal?
OlaVea: If we will not use a modal, but will use a page. I guess we will put the page in the pages folder.
When you say "/cycle/:day/edit" do you mean this:
What does "/cycle/:day/edit" mean?
Is it similar to const steps
in Onboarding.js?
const steps = [
{
label: "Create account",
content: (
<UserForm
variant="signup"
onSubmitFulfilled={(event) => {
handleNext(event)
trackGoal("HGGOZCXZ")
}}
Is this @raae 's "little edit widget"?
Should today's POW! thing become twitters tweet thing?
When You say "app bar" you mean this code here? Or What?