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

Added support for dir value for organizer - for PR 132 #177

Merged
merged 1 commit into from Jun 5, 2021

Conversation

MaikHannemann
Copy link
Contributor

  • README.md
    • Updated to include organizer.dir
  • src\schema\index.js
    • Updadet organizer schema to include dir
  • src\utils\fold-line.js
    • Changed approach from building an array that joins at the end, to a string concat approach, which is about 4 times faster, which seemed appropriate, for the function that is called the most.
  • src\utils\format-date.js
    • Extracted isArray() check to be only done once
  • src\utils\set-alarm.js
    • Swapped setDuration() function with formatDuration(), since it is duplicate code
  • test\pipeline\build.spec.js
    • Added dir attribute to the organizer objects
  • test\pipeline\format.spec.js
    • Added dir attribute to the organizer objects
  • test\schema\index.spec.js
    • Added dir attribute to the organizer objects

Issue that is being addressed: #132

* README.md
    - Updated to include organizer.dir
* src\schema\index.js
    - Updadet organizer schema to include dir
* src\utils\fold-line.js
    - Changed approach from building an array that joins at the end, to a string concat approach, which is about 4 times faster, which seemed appropriate, for the function that is called the most.
* src\utils\format-date.js
    - Extracted isArray() check to be only done once
* src\utils\set-alarm.js
    - Swapped setDuration() function with formatDuration(), since it is duplicate code
* test\pipeline\build.spec.js
    - Added dir attribute to the organizer objects
* test\pipeline\format.spec.js
    - Added dir attribute to the organizer objects
* test\schema\index.spec.js
    - Added dir attribute to the organizer objects
@adamgibbons adamgibbons merged commit 4759444 into adamgibbons:master Jun 5, 2021
adamgibbons added a commit that referenced this pull request Jun 5, 2021
adamgibbons added a commit that referenced this pull request Jun 5, 2021
@adamgibbons
Copy link
Owner

@MaikHannemann thanks for this - there was however one failing test, so I've reverted. Happy to merge again if you can fix that test.

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.

None yet

2 participants