Skip to content

Conversation

@VladKalachev
Copy link
Contributor

#153 Add node notification
#130 Add function install dependencies
#152 Add button install dependencies
#133 Create functional delete package.json dependencies (WS)
#132 Add button delete dependencies

Copy link
Collaborator

@KovaSs KovaSs left a comment

Choose a reason for hiding this comment

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

Fix pls

{title}
</div>
<div className={css.rightGroup}>
{btn && btn}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Strange

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix

onChange={onInputChange}
/>
<div className={css.wrapper}>
{!!packages.length && packages.map(el => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{!!packages.length && packages.map(el => {
{Boolean(packages.length) && packages.map(el => {

}

return (
<div className={`${css.item} ${active === pkg.name ? css.active : ''}`} onClick={() => handleClick(pkg.name)} >
Copy link
Collaborator

Choose a reason for hiding this comment

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

Есть жи пакет classnames

const styles = cn(css.item, {
  [css.active]: active === pkg.name
}

}

export default function Dependencies () {
const { t } = useTranslation('dependencies')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Пора бы вынести все состояние в отдельный кастомный хук, а то уже многовато функционала набралось

)
}

function renderAnimatedDots () {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Уже повторение функционала с созданием проекта давайте вынесем в утилиту

Copy link
Collaborator

@KovaSs KovaSs left a comment

Choose a reason for hiding this comment

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

Think about this)

VladKalachev and others added 5 commits August 31, 2020 12:32
…ectDependencies.tsx

Co-authored-by: Denis Isaev / Денис Исаев <32105128+KovaSs@users.noreply.github.com>
…mPackages.tsx

Co-authored-by: Denis Isaev / Денис Исаев <32105128+KovaSs@users.noreply.github.com>
…endencies.modal.tsx

Co-authored-by: Denis Isaev / Денис Исаев <32105128+KovaSs@users.noreply.github.com>
@VladKalachev VladKalachev merged commit cbb8582 into develop Aug 31, 2020
@VladKalachev VladKalachev deleted the feature/add-btn-install branch August 31, 2020 09:42
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