Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Range picker improve #472

Merged
merged 7 commits into from
Jul 29, 2020
Merged

Conversation

derpdead
Copy link
Contributor

Description

Add advanced date range picker:

  • manipulation between months and years
  • new way of selecting range
  • new styling
  • animations

Issue # (#70)

Type of change

Please delete options that are not relevant.

  • 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)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit Tests
  • e2e Test

Checklist:

  • I have read the contribution requirements and fulfil them.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@derpdead derpdead requested a review from bleto July 29, 2020 07:59
@dawidstrix
Copy link

Build 111 Still Failing

Comment on lines 114 to 124
if (from && to) {
this.$emit('input', {
from: date,
to: null,
});
} else if (from && date < from) {
this.$emit('input', {
from: date,
to: null,
});
} else if (from === null) {
Copy link
Member

Choose a reason for hiding this comment

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

you can connect these 2 conditions because inside is that same logic.

bleto
bleto previously approved these changes Jul 29, 2020
bleto
bleto previously approved these changes Jul 29, 2020
@derpdead derpdead merged commit 6607b8d into ergonode:develop Jul 29, 2020
@derpdead derpdead deleted the range-picker-improve branch October 15, 2020 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants