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

Feature: Refresh schedule - code optimizations #3242

Merged
merged 1 commit into from
Jan 6, 2019

Conversation

ranbena
Copy link
Contributor

@ranbena ranbena commented Jan 3, 2019

This is part of a PR batch to finalize the refresh-schedule feature.
After merging all changes in to feature/refresh-schedule/emtwo it should be merged into master.

What changed

This commit introduces no change in style or functionality.
Prepares code for upcoming changes.

Optimizations

  1. Moved intervalToSeconds to @/filters since the corresponding method resides there.
  2. Removed unused or unnecessary code in favor of moment and lodash,
  3. Used advanced js features for clean, lean and perf - getters/setters, memoization and array deconstruction.

🤘

@ranbena ranbena self-assigned this Jan 3, 2019
@ghost ghost added in progress labels Jan 3, 2019
Copy link
Member

@arikfr arikfr left a comment

Choose a reason for hiding this comment

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

👌

@ranbena ranbena changed the base branch from feature/refresh-schedule/emtwo to master January 6, 2019 09:00
@ranbena ranbena force-pushed the feature/refresh-schedule/code-opt branch from da6a596 to ff00b0a Compare January 6, 2019 09:04
@ranbena ranbena merged commit 3ee83a4 into master Jan 6, 2019
@ghost ghost removed in progress labels Jan 6, 2019
@ranbena ranbena deleted the feature/refresh-schedule/code-opt branch January 6, 2019 10:35
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