-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Setting for reading time #1767
Setting for reading time #1767
Conversation
Relaunched the Travis task that failed to clear cache for some reason. |
@@ -29,6 +29,9 @@ public function getConfigTreeBuilder() | |||
->integerNode('rss_limit') | |||
->defaultValue(50) | |||
->end() | |||
->integerNode('reading_speed') | |||
->defaultValue(200) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 200 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix. I didn't fix some tests.
bd0483f
to
91bcc92
Compare
91bcc92
to
6432b92
Compare
I removed the slider to put a list. More readable.
|
Reading speed | ||
~~~~~~~~~~~~~ | ||
|
||
wallabag calculates a reading time for each article. You can define here, thanks to the slider, if you are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a slider anymore
Just improved tests ... |
I'm ok with that PR. |
@@ -248,6 +255,30 @@ public function getRssLimit() | |||
} | |||
|
|||
/** | |||
* Set readingSpeed. | |||
* | |||
* @param int $readingSpeed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be float
right? (same for the getReadingSpeed
)
ee57dcf
to
1b64a84
Compare
Add a setting in config screen to define the reading speed for each user (I read so fast, I read so slowly, etc.)
TODO :