Skip to content

Sprint-3 profile page layout#35

Merged
euguenia merged 10 commits intosprint-3_catalog-product-profilefrom
sprint-3_profile-page_layout
Sep 2, 2023
Merged

Sprint-3 profile page layout#35
euguenia merged 10 commits intosprint-3_catalog-product-profilefrom
sprint-3_profile-page_layout

Conversation

@Nargiza14
Copy link
Collaborator

Sprint [sprint #3]

Task

Trello task link

Summary

  1. Done 02.09.2023 / Deadline 05.09.2023
  2. Score 10/10

Changelog

  • add profile (user) page layout

Screenshot

Снимок экрана 2023-09-02 в 11 13 51


export const AddressPanel: FC<PanelProps> = (props) => {
const isEdit = props.mode === 'edit';
const [todo, setTodo] = useState(isEdit ? props.editTodo : DEFAULT_TODO);
Copy link
Collaborator

Choose a reason for hiding this comment

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

what does todo mean?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

todo means an address that the user can add to the list of addresses. The address board was made based on the ToDo List. Some elements were difficult to rename. That's why they remained unchanged.

import { AddressPanel } from '../../components/Panel/Panel';
import { BoardList } from '../../components/AddressList/AddressList';

export type Board = {
Copy link
Owner

Choose a reason for hiding this comment

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

It is better to put the types in separate files

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My bad

@euguenia euguenia merged commit 5e053cc into sprint-3_catalog-product-profile Sep 2, 2023
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.

3 participants

Comments