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

VaPagination rework #2283

Merged
merged 24 commits into from Sep 13, 2022
Merged

Conversation

aluarius
Copy link
Contributor

@aluarius aluarius commented Aug 22, 2022

Additionally closes: #2269

Description

  • Pagination rework according to the new VaButton implementation.
  • New visual states and examples.
  • Component moved out from VaButtonGroup.
  • Docs updates.

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

Copy link
Contributor

@RVitaly1978 RVitaly1978 left a comment

Choose a reason for hiding this comment

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

Buttons have confusing styles. For example:

![chrome-capture-2022-7-23](https://user-images.githubusercontent.com/55198465/186181812-3604e6c6-a74a-46ce-a260-0b524a6e7152.gif)

@aluarius
Copy link
Contributor Author

Buttons have confusing styles.

Damn, looks strange, will investigate.

@rustem-nasyrov
Copy link
Collaborator

rustem-nasyrov commented Aug 23, 2022

Current page number is barely visible:

![image](https://user-images.githubusercontent.com/29167241/186191465-3abae922-9816-4cc8-a3b6-3639a4a1362c.png) ![image](https://user-images.githubusercontent.com/29167241/186192473-0b18d7df-3111-48ff-bb7c-44ee697415e5.png)

@aluarius
Copy link
Contributor Author

Current page number is barely visible

Will move VaButton out of VaButtonGroup can't set separate button state without it. Moreover, no benefits, only problems.

@aluarius aluarius marked this pull request as draft August 23, 2022 15:44
fix:review bugs fixes
refactor:docs updates
@aluarius aluarius marked this pull request as ready for review August 24, 2022 13:07
@m0ksem m0ksem added this to the 1.5.0 milestone Aug 27, 2022
@m0ksem m0ksem added the component Is a new component or part of existing one label Aug 27, 2022
Copy link
Contributor

@m0ksem m0ksem left a comment

Choose a reason for hiding this comment

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

![image](https://user-images.githubusercontent.com/23530004/189381887-3cb5688a-de3e-4da0-98b4-6f3b3c5871ef.png)

Buttons must be disabled.


Stange input

![image](https://user-images.githubusercontent.com/23530004/189382298-51fc8cba-e4e4-4c84-8290-982418c9eadd.png)

packages/ui/src/components/va-pagination/VaPagination.vue Outdated Show resolved Hide resolved
Copy link
Contributor

@asvae asvae left a comment

Choose a reason for hiding this comment

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

Looks good!

feat: docs updates
fix: docs translation fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component Is a new component or part of existing one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants