Skip to content

Sprint 4: Basket Page, Catalog Page Enhancements, and About Us Page Implementation#54

Merged
dmalashev merged 142 commits intodevelopfrom
release/basket-about_us
Jun 23, 2025
Merged

Sprint 4: Basket Page, Catalog Page Enhancements, and About Us Page Implementation#54
dmalashev merged 142 commits intodevelopfrom
release/basket-about_us

Conversation

@dmalashev
Copy link
Copy Markdown
Owner

  1. Task: link

  2. Screenshot:
    image
    image

  3. Deploy: link

  4. Done 17.06.2025/ deadline 17.06.2025

  5. Mentions: @katie-soft @baranovdv

  6. Brief description:

  7. Score: 0 / 60

Mentor Evaluation Criteria (0 / 60 points): 👨‍🏫

  1. Code Review Participation (0 / 10 points): Students actively participate in code reviews, providing constructive feedback and suggestions to their peers. 🗣️
  2. No Merges Without Approvals (0 / 10 points): Pull requests are not merged without approvals from other team members, ensuring the quality of code contributions. 👍
  3. Pull Request Descriptions (0 / 10 points): Pull requests include detailed descriptions, outlining the changes made and the purpose of the changes, facilitating better understanding and review. 📝
  4. Task Board Management (0 / 10 points): Students maintain and regularly update a task board (e.g., Trello, Jira), ensuring that tasks are moved according to their progress and completion. 📊
  5. Active Participation in Development Discussions (0 / 5 points): Students take an active role in discussing the development process, sharing ideas, and collaborating on solutions and improvements. 🗨️
  6. Unit Test Coverage (0 / 15 points): The codebase has a minimum of 30% unit test coverage, ensuring the reliability and robustness of the implemented features. ✔️

Penalties for Mentor Evaluation Criteria: ❌

  1. Linter Errors (0 / 5 points): If there are errors from the linter, a penalty of 5 points will be applied. Ensure that you follow the linter rules to maintain high code quality. 🛠️📝🛑

  2. Prettier Errors (0 / 5 points): If there are formatting errors detected by Prettier, a penalty of 5 points will be applied. It's important to adhere to established formatting conventions for clean, readable code. 📐✍️🛑

  3. Presence of 'any' (0 / 5 points): The use of 'any' in TypeScript can lead to potential typing issues and is generally discouraged. A penalty of 5 points will be applied if 'any' is found in the code. 🚫🔍🛑

  4. Non-functional Scripts in package.json (0 / 5 points): All scripts defined in the package.json should function correctly. If there are non-working scripts, a penalty of 5 points will be applied. ⚙️📦🛑

  5. Non-SPA Application (0 / 60 points): The application should be a Single Page Application (SPA) with an empty index.html. If this requirement is not met, a penalty of 60 points will be applied. ⚠️🖥️🛑

<Flex vertical align="center" gap={20} style={{ padding: 20 }}>
<Title>About Us</Title>
<AboutUsCard
photo={artyomPhoto}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Данные про каждого человека лучше вынести в отдельную константу - так будет легче редактировать их при необходимости + сократится код компонента

githubLink="https://github.com/dmalashev"
/>
<Title level={4}>
To provide joint work in the team and separate tasks we used Jira dashboard. We decomposited tasks to clearly
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Было бы классно добавить стек технологий и список инструментов, которые использовали в проекте

?.find((attribute) => attribute.name === 'release_year')
?.value.split('-')[0] || 'No Year';

const label: string =
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Код аналогичный для 3 характеристик - можно вынести в отдельную функцию

const discount: number | undefined = productObject?.masterVariant.prices?.find((price) => price?.country === 'US')
?.discounted?.value.centAmount;

const items: DescriptionsProps['items'] = [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Константу можно вынести в отдельный файл


return (
<div className="main">
<Typography.Title level={1} style={{ borderRadius: '5px', color: 'white', textAlign: 'center' }}>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

См. как используется деструктуризация для Typography в других компонентах

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Да, мне я просто так быстро писал, что решил сэкономить 2-3 секунды, не делаю деструктуризацию)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Опечатка в названии файла

import './cart-titles.css';

const { Text } = Typography;
const getSpan = (index: number) => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Какие-то магические числа - лучше заменить на более понятные

color: #DB4444;
}

@media (width <= 580px) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Можно не дублировать медиа-запрос

@dmalashev dmalashev merged commit 67da345 into develop Jun 23, 2025
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.

4 participants