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

Extract ui components from ImageUpload component #138

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

sandercamp
Copy link
Contributor

What

Explain what changes inside the code, this can be as simple or complicated as you want as long as it's clear

Why

Explain why these things are changes. This explanation is for your colleagues and your future self.

Code Review

Please consider the following checklist when reviewing this Pull Request.
More background and details here.

  • Does the code actually solve the problem it was meant to solve?
  • Is the code covered by unit tests? Integration tests?
  • Does anything here need documentation? (Focus on why, not what.)
  • Does any of this code deal with privacy sensitive information or affects security? Ask an additional reviewer.
  • Is the code easy to understand and change in the future?
  • Is the same code or concept duplicated? Find a balance between DRYness and readability.
  • Does the code reasonably adhere to the Kabisa coding standards?
  • Be kind.

@sandercamp sandercamp changed the base branch from develop to refactor/ui-improvements November 3, 2023 09:59
src/ui/Navigation/Navigation.stories.tsx Outdated Show resolved Hide resolved
src/ui/Navigation/Navigation.stories.tsx Outdated Show resolved Hide resolved
src/ui/Navigation/Navigation.stories.tsx Outdated Show resolved Hide resolved
src/ui/Navigation/Navigation.stories.tsx Outdated Show resolved Hide resolved
src/ui/Select/index.tsx Outdated Show resolved Hide resolved
Copy link

codeclimate bot commented Nov 3, 2023

Code Climate has analyzed commit e16ecc8 and detected 10 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 10

The test coverage on the diff in this pull request is 45.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 16.3% (3.5% change).

View more on Code Climate.

@sandercamp sandercamp changed the base branch from refactor/ui-improvements to refactor/ui-components November 3, 2023 09:59
@sandercamp sandercamp changed the title Refactor/image dropdown Extract ui components from ImageUpload component Nov 3, 2023
@sandercamp sandercamp marked this pull request as ready for review November 7, 2023 07:42
}

.dropzone:focus {
outline: none;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this be a problem a11y wise?


type DropzoneProps = {
label?: string
[x: string]: any; // Plugin context determines which props are needed
Copy link
Contributor

Choose a reason for hiding this comment

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

Would unknown maybe better iso of any?

@marcianosr
Copy link
Contributor

Approved with some comments

@sandercamp sandercamp merged commit 8cac00c into refactor/ui-components Nov 14, 2023
2 checks passed
@sandercamp sandercamp deleted the refactor/image-dropdown branch November 24, 2023 12:44
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