Skip to content

feat(pagination) added an option to add custom title in pagination bu… #352

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

Merged

Conversation

VojtechKlos
Copy link
Contributor

Allow custom titles in carousel pagination.

Description

Extends on the pull request #263 allowing specifying custom title by passing the title prop to the slide component.

Motivation and Context

Sometimes you need custom titles instead of just "Item 0" etc...

How Has This Been Tested?

Just manually. I am not sure how and if to write tests for this.

Screenshots (if appropriate):

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)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • I have included a vue-play example (if this is a new feature)

@coveralls
Copy link

coveralls commented Dec 19, 2018

Coverage Status

Coverage increased (+0.1%) to 67.692% when pulling c17d02e on Symphony9:feat/custom-titles-in-pagination into de9a54a on SSENSE:v0.17.0.

@quinnlangille
Copy link
Member

Hey @VojtechKlos thanks for making the contribution, looks like your branch needs a rebase on v0.17.0 before we can review! There's a lot of noise on there from other PR, the rebase should fix that up.

josephting and others added 5 commits December 20, 2018 17:39
* fix(precommit): use jest exit code

* fix(jest): restore coverage collection context

* chore(package.json): remove phased out test tools
* fix(carousel): flush the slides left when they don't fill the width (SSENSE#323)

* fix(carousel): Flush the slides left when they don't fill the width (SSENSE#323)

When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left.
By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side

Fix SSENSE#323

* style(play): Use capitals in tests for consistency

* v0.16.1

* chore: build

* feat(standard): watch autoplay prop and enable/disable autoplay
@VojtechKlos VojtechKlos force-pushed the feat/custom-titles-in-pagination branch from 20d8d74 to a79b28f Compare December 20, 2018 16:54
@quinnlangille
Copy link
Member

Hey @VojtechKlos, thanks for the cleanup! I'll merge in now 🚀

@quinnlangille quinnlangille merged commit d0a06c1 into SSENSE:v0.17.0 Dec 20, 2018
@VojtechKlos
Copy link
Contributor Author

@quinnlangille hey, thanks for merging my pr. When is it planned to release version 0.17?

@quinnlangille
Copy link
Member

@VojtechKlos should be sometime next week! I'll make a release when it's out, if you're watching the repo you should get a notification :octocat:

@tomifis
Copy link

tomifis commented Feb 3, 2022

How can i make the title not appearing? I mean i don't want the title tag when hovering dots

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.

7 participants