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

4larin/component routing #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

4larin
Copy link
Collaborator

@4larin 4larin commented Jan 29, 2022

No description provided.

Copy link
Member

@Enjoy2Live Enjoy2Live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good as a start but these issues I mentioned needs to be resolved first before I can merge.
on a side note I think the reason changes aren't going through is totally a back end issue.

},
]}
>
<Input />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why everything here is an input field?

there are different fields we use and some of them are way more complicated, for example but no limited to: description uses markdown input field

Comment on lines +61 to +73
<Upload.Dragger
name="heroImage"
action={`${apiUrl}/media/upload`}
listType="picture"
maxCount={5}
multiple
>
<ImageField
value=""
title=""
width={200}
/>
</Upload.Dragger>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only have one heroImage and here it's possible for a user to put multiple!

Comment on lines +102 to +106
{/* <ShowButton
hideText
size="small"
recordItemId={record.id}
/>
/> */}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did hide this as it's not going to be used for now.

Comment on lines +13 to +15
{ label: "Slug", name: "slug", required: true },
{ label: "CatchPhrase", name: "catchPhrase", required: true },
{ label: "Title", name: "title", required: true },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second key of these three array objects is "name" but the rest is "title". we have to be consistent with those names so either pick "title" or "name"

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

Successfully merging this pull request may close these issues.

2 participants