Commit bdc14f7
feat: pfe-readtime (#1510)
* cleaned up code and tied it all together
* fix word-count calculation functionality
* Updating readtime calculation to be based on the average readtime of supported countries
* update demo page styles as well as add language code functionality
* remove some css
* demo page updates
* Pair programming
* WIP updates for multiple calls to functions from observers.
* fix JS
* fix for -forChangedHandler
* update pfe-readtim_test
* Update JS to not show pfe-readtime if the calculated readtime is <1 minute and update demo page to show this example in action.
* Update elements/pfe-readtime/demo/pfe-readtime.story.js
Co-authored-by: [ Cassondra ] <[email protected]>
* Update elements/pfe-readtime/README.md
Co-authored-by: [ Cassondra ] <[email protected]>
* some code review feedback items
* update vue and react test.html files
* code review updates
* update readme
* add var for font size
* WIP: AT updates
* clean up test.html
* fix: added setup element references to readtime element
* fixes for lang fuctionality
* cleanup of lang code functionality
* WIP: fix hidding readtime if there is no value
* Adding in getters & attributes
* update changelogs
* Update baselines
* add test for templateString
* update templateString test name
* Update tests
* Revert clipboard update
* Update storybook
* Fix template error
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: [ Cassondra ] <[email protected]>
Co-authored-by: [ Cassondra ] <[email protected]>
Co-authored-by: heyMP <[email protected]>1 parent 90acada commit bdc14f7
File tree
23 files changed
+1527
-1
lines changed- elements/pfe-readtime
- demo
- src
- test
- test
- vrt-baseline
- desktop_chrome
- desktop_ie
23 files changed
+1527
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments