Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

[FRNT-438] rewite select with list and popover#125

Draft
Irinaristova wants to merge 16 commits into
masterfrom
feat/FRNT-438-rewite-select-with-list-and-popover
Draft

[FRNT-438] rewite select with list and popover#125
Irinaristova wants to merge 16 commits into
masterfrom
feat/FRNT-438-rewite-select-with-list-and-popover

Conversation

@Irinaristova

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added @atoms Changes inside atoms @molecules labels May 28, 2021
Comment thread src/ui/organisms/select/index.tsx Outdated
Comment thread src/ui/organisms/select/index.tsx
Comment thread src/ui/organisms/select/index.tsx
Comment thread src/ui/organisms/select/index.tsx Outdated
Comment thread src/ui/organisms/select/index.tsx Outdated
@Irinaristova Irinaristova force-pushed the feat/FRNT-438-rewite-select-with-list-and-popover branch from cdebeee to b7586c5 Compare May 31, 2021 09:39
@Irinaristova Irinaristova marked this pull request as draft June 8, 2021 10:22
@Irinaristova Irinaristova marked this pull request as ready for review July 14, 2021 16:54
@Irinaristova Irinaristova force-pushed the feat/FRNT-438-rewite-select-with-list-and-popover branch from 668ceb0 to 6cb2433 Compare July 15, 2021 13:21
Comment thread src/lib/keyboard-event.ts Outdated
Comment on lines +10 to +11
onClick?: React.EventHandler<React.SyntheticEvent>;
role?: string;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: может стоит заменить на что-то вроде

type ListElementProps = React.HTMLAttributes<HTMLLIElement> & { /* our props */ }

И все оставшиеся пропсы в итоге спредить в элемент

focus?: boolean;
}

const UploadAreaBase: React.FC<UploadAreaProps & Priority> = ({

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

thought: Может стоит это выносить в UploadAreaProps (через intersection)? Как минимум если будем экспортировать UploadAreaProps, будет не очень правильно с типами

Comment thread yarn.lock
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.5.tgz#848d7b9f031caca9d0cd0af01b063f226f52d785"
integrity sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==
<<<<<<< HEAD

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick(blocking): у тебя тут что-то осталось из конфликта)

Comment thread yarn.lock
version "7.14.6"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.6.tgz#d85cc68ca3cac84eae384c06f032921f5227f4b2"
integrity sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==
<<<<<<< HEAD

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick(blocking): и еще что-то

Comment thread yarn.lock
"@babel/helper-create-class-features-plugin" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
"@babel/plugin-syntax-private-property-in-object" "^7.14.5"
<<<<<<< HEAD

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick(blocking): еще

@risenxxx risenxxx left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

.

Comment thread src/lib/keyboard-event.ts
const camelCase = (string: string) => string.charAt(0).toLowerCase() + string.slice(1);

const hasHandler = (handler: Handler, key: string) => {
return Object.prototype.hasOwnProperty.call(handler, key);

@risenxxx risenxxx Jul 20, 2021

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Это для фикса возможной проблемы, что там не объект прилетит (вообще как бы практически не важно, но закрыть варнинг)

@sergeysova sergeysova marked this pull request as draft August 30, 2021 08:46
@sergeysova sergeysova requested review from risenxxx and tatinacher and removed request for ainursharaev and rchubarkin August 30, 2021 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

@atoms Changes inside atoms @molecules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants