Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Spring cleaning - #257

Merged
omnidan merged 4 commits into
masterfrom
dev/spring-cleaning
Jan 8, 2020
Merged

omnidan merged 4 commits into
masterfrom
dev/spring-cleaning

Conversation

@nmay231

@nmay231 nmay231 commented Jan 6, 2020

Copy link
Copy Markdown
Collaborator
  • Please check if the PR fulfills these requirements
  • The commit message(s) are descriptive of the changes made
  • The PR contains changes that are focused and differs from other PRs
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
  • Removed code smells/wrote code to be clearer
  • Added sections to issue and PR templates for doc changes

@coveralls

coveralls commented Jan 6, 2020 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 97.674% when pulling beb4b55 on dev/spring-cleaning into 9c18edb on master.

@nmay231

nmay231 commented Jan 6, 2020

Copy link
Copy Markdown
Collaborator Author

@omnidan These are just a few minor changes.

I think I'm going to work on field extensions next (you can look at a demo in field-extensions-demo)

@nmay231
nmay231 force-pushed the dev/spring-cleaning branch from c4f3bec to cf724cb Compare January 6, 2020 22:26
Comment thread src/reducer.js Outdated
function insert (history, state, limit, group) {
debug.log('inserting', state)
debug.log('new free: ', limit - lengthWithoutFuture(history))
debug.log('new free: ', limit - history.past.length - 1)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I think now it is a bit unclear why we are subtracting one. Either we store this in a separate variable (history.path.length + 1), or we keep the function

@nmay231
nmay231 force-pushed the dev/spring-cleaning branch from cf724cb to beb4b55 Compare January 7, 2020 17:21
@nmay231

nmay231 commented Jan 7, 2020

Copy link
Copy Markdown
Collaborator Author

Changes made 👍

I already rebased it manually, so this can be merged normally. Thanks.

@omnidan
omnidan merged commit bc902c4 into master Jan 8, 2020
@omnidan

omnidan commented Jan 8, 2020

Copy link
Copy Markdown
Owner

Thanks @nmay231 !

@nmay231
nmay231 deleted the dev/spring-cleaning branch January 8, 2020 11:19
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