UNPKG

@readr-media/react-feedback

Version:

## Installation `yarn install`

168 lines (141 loc) 12.2 kB
# @readr-media/react-feedback Changelog ## 2023-11-03, Version 4.0.0 ### Notable Changes - refactor: replace sessionStorage with localStorage ### Commits * \[[`1c9113ad6a`](https://github.com/readr-media/react-feedback/commit/1c9113ad6a)] - refactor(feedback): replace sessionStorage with localStorage (Tsuki Akiba) * \[[`e591a5cc9f`](https://github.com/readr-media/react-feedback/commit/e591a5cc9f)] - chore(feedback): bump version to 3.8.0 (Tsuki Akiba) * \[[`6be61adf9c`](https://github.com/readr-media/react-feedback/commit/6be61adf9c)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2023-11-02, Version 3.8.0 ### Notable Changes - fix: handle behavior under strict mode - feat: add defaultText config to text field ### Commits * \[[`f2ac4c0821`](https://github.com/readr-media/react-feedback/commit/f2ac4c0821)] - feat(feedback): add defaultText config to text field (Tsuki Akiba) * \[[`aaae3c3104`](https://github.com/readr-media/react-feedback/commit/aaae3c3104)] - fix(feedback): handle behavior under strict mode (Tsuki Akiba) * \[[`8d6d108d3d`](https://github.com/readr-media/react-feedback/commit/8d6d108d3d)] - chore(feedback): bump version to 3.7.0 (Tsuki Akiba) * \[[`5cc91be486`](https://github.com/readr-media/react-feedback/commit/5cc91be486)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2023-10-19, Version 3.7.0 ### Notable Changes - fix: add missing key attribute - refactor: make commentItem cropping behavior configurable - fix: remove unwanted form submission behavior ### Commits * \[[`ec869a2d88`](https://github.com/readr-media/react-feedback/commit/ec869a2d88)] - fix(feedback): remove unwanted form submission behavior (Tsuki Akiba) * \[[`60b208bd9e`](https://github.com/readr-media/react-feedback/commit/60b208bd9e)] - refactor(feedback): make commentItem cropping behavior configurable (Tsuki Akiba) * \[[`fc27855bd4`](https://github.com/readr-media/react-feedback/commit/fc27855bd4)] - fix(feedback): add missing key attribute (Tsuki Akiba) * \[[`a2755f24c2`](https://github.com/readr-media/react-feedback/commit/a2755f24c2)] - chore(feedback): bump version to 3.6.0 (Tsuki Akiba) * \[[`c849625828`](https://github.com/readr-media/react-feedback/commit/c849625828)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2023-10-19, Version 3.6.0 ### Notable Changes - fix: errors in statistics handle in single field form ### Commits * \[[`e94489d258`](https://github.com/readr-media/react-feedback/commit/e94489d258)] - fix(feedback): errors in statistics handle in single field form (Tsuki Akiba) * \[[`f453e538b8`](https://github.com/readr-media/react-feedback/commit/f453e538b8)] - fix(feedback): error in notify handle (Tsuki Akiba) * \[[`f474bcafaa`](https://github.com/readr-media/react-feedback/commit/f474bcafaa)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2023-08-07, Version 3.5.2 ### Notable Changes - fix: error in notify handle ### Commits * \[[`449bf1c359`](https://github.com/readr-media/react-feedback/commit/449bf1c359)] - chore(feedback): bump version to 3.5.2 (Tsuki Akiba) * \[[`d26828f987`](https://github.com/readr-media/react-feedback/commit/d26828f987)] - fix(feedback): error in notify handle (Tsuki Akiba) * \[[`adaeb35d7f`](https://github.com/readr-media/react-feedback/commit/adaeb35d7f)] - fix(feedback): collaboration issues (Tsuki Akiba) * \[[`99927ff22c`](https://github.com/readr-media/react-feedback/commit/99927ff22c)] - docs(feedback): update CHNAGELOG (Tsuki Akiba) ## 2023-08-06, Version 3.5.1 ### Notable Changes - fix: collaboration issues ### Commits * \[[`a11e17b802`](https://github.com/readr-media/react-feedback/commit/a11e17b802)] - chore(feedback): bump version to 3.5.1 (Tsuki Akiba) * \[[`b25ff1879e`](https://github.com/readr-media/react-feedback/commit/b25ff1879e)] - fix(feedback): collaboration issues (Tsuki Akiba) * \[[`3adb94f782`](https://github.com/readr-media/react-feedback/commit/3adb94f782)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2023-08-06, Version 3.5.0 ### Notable Changes - feat: add SingleOptionField - refactor: update mock data ### Commits * \[[`b87b8cbba3`](https://github.com/readr-media/react-feedback/commit/b87b8cbba3)] - chore(feedback): bump version to 3.5.0 (Tsuki Akiba) * \[[`2ec4d1efb6`](https://github.com/readr-media/react-feedback/commit/2ec4d1efb6)] - refactor(feedback): update mock data (Tsuki Akiba) * \[[`7ce00e55b2`](https://github.com/readr-media/react-feedback/commit/7ce00e55b2)] - refactor(feedback): add mock data of SingleOptionField (Tsuki Akiba) * \[[`b98002add9`](https://github.com/readr-media/react-feedback/commit/b98002add9)] - feat(feedback): add SingleOptionField (Tsuki Akiba) * \[[`e300679ee6`](https://github.com/readr-media/react-feedback/commit/e300679ee6)] - chore(feedback): bump version to 3.4.0 (Tsuki Akiba) * \[[`8bee3207d5`](https://github.com/readr-media/react-feedback/commit/8bee3207d5)] - docs(feedback): update CHANGELOG ## 2023-08-04, Version 3.4.0 ### Notable Changes - feat: add shouldShowItemControl option to comment field - feat: add commentListTitle option to comment field - feat: add identifier option to comment field - fix: style issues - fix: issues in typedef - chore: add type file generation process - chore: add font loading to devServer - chore: add DS_store to gitignore ### Commits * \[[`2ea8118ee4`](https://github.com/readr-media/react-feedback/commit/2ea8118ee4)] - chore(feedback): bump version to 3.4.0 * \[[`a3b1dab104`](https://github.com/readr-media/react-feedback/commit/a3b1dab104)] - refactor(feedback): update typedef * \[[`cc770acf07`](https://github.com/readr-media/react-feedback/commit/cc770acf07)] - chore(feedback): add type file generation process * \[[`9d7a08427d`](https://github.com/readr-media/react-feedback/commit/9d7a08427d)] - fix(feedback): issues in typedef * \[[`bd08b33be8`](https://github.com/readr-media/react-feedback/commit/bd08b33be8)] - chore(feedback): add DS\_store to gitignore * \[[`b222a268fe`](https://github.com/readr-media/react-feedback/commit/b222a268fe)] - feat(feedback): add identifier option to comment field * \[[`8fc8e01204`](https://github.com/readr-media/react-feedback/commit/8fc8e01204)] - feat(feedback): add classnames to comment components (Tsuki Akiba) * \[[`8c6c443bdd`](https://github.com/readr-media/react-feedback/commit/8c6c443bdd)] - feat(feedback): add shouldShowItemControl option to text field (Tsuki Akiba) * \[[`ec47830cad`](https://github.com/readr-media/react-feedback/commit/ec47830cad)] - feat(feedback): add commentListTitle option to text field (Tsuki Akiba) * \[[`9d15946c0a`](https://github.com/readr-media/react-feedback/commit/9d15946c0a)] - fix(feedback): style issues (Tsuki Akiba) * \[[`8c50404f24`](https://github.com/readr-media/react-feedback/commit/8c50404f24)] - chore(feedback): add font loading to devServer (Tsuki Akiba) * \[[`88ca8f0d16`](https://github.com/readr-media/react-feedback/commit/88ca8f0d16)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2022-11-11, Version 3.3.0 ### Notable Changes - chore: set react and styled-components as peerDependencies ### Commits * \[[`c9ac6172b8`](https://github.com/readr-media/react-feedback/commit/c9ac6172b8)] - chore(feedback): bump version to 3.3.0 (Tsuki Akiba) * \[[`2becf223eb`](https://github.com/readr-media/react-feedback/commit/2becf223eb)] - chore(feedback): set react and styled-components as peerDependencies (Tsuki Akiba) * \[[`582fa5a437`](https://github.com/readr-media/react-feedback/commit/582fa5a437)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2022-11-11, Version 3.2.0 ### Notable Changes - chore: update react package version to `^18.1.0` ### Commits * \[[`e4ef821806`](https://github.com/readr-media/react-feedback/commit/e4ef821806)] - chore(feedback): bump version to 3.2.0 (Tsuki Akiba) * \[[`6c1e2054a7`](https://github.com/readr-media/react-feedback/commit/6c1e2054a7)] - chore(feedback): update react package version (Tsuki Akiba) * \[[`a33cbfec81`](https://github.com/readr-media/react-feedback/commit/a33cbfec81)] - docs(feedback): update CHANGELOG (Tsuki Akiba) ## 2022-11-11, Version 3.1.0 ### Notable Changes - fix: `giveLikes` is callable after userId is ready - feat: add `storageKey` option to set sessionStorage key - feat: prevent manipulate likes before data loaded - feat: add disabled style of thumb buttons ### Commits * \[[`ed95fa551c`](https://github.com/readr-media/react-feedback/commit/ed95fa551c)] - chore(feedback): bump version to 3.1.0 (Tsuki Akiba) * \[[`81d9e9d83e`](https://github.com/readr-media/react-feedback/commit/81d9e9d83e)] - feat(feedback): add disabled style (Tsuki Akiba) * \[[`ed12912bd1`](https://github.com/readr-media/react-feedback/commit/ed12912bd1)] - feat(feedback): prevent manipulate likes before data loaded (Tsuki Akiba) * \[[`f4200c6d4f`](https://github.com/readr-media/react-feedback/commit/f4200c6d4f)] - feat(feedback): add storageKey option (Tsuki Akiba) * \[[`f8a1f18563`](https://github.com/readr-media/react-feedback/commit/f8a1f18563)] - fix(feedback): giveLikes before userId is ready (Tsuki Akiba) * \[[`ba1dfbf4c1`](https://github.com/readr-media/react-feedback/commit/ba1dfbf4c1)] - docs(feedback): update CHANGELOG.md (Tsuki Akiba) * \[[`943eff4b6e`](https://github.com/readr-media/react-feedback/commit/943eff4b6e)] - docs(feedback): update CHANGELOG.md (Tsuki Akiba) ## 2022-11-08, Version 3.0.2 ### Notable Changes - refactor: add query params to getLikes request - docs: add JSDoc comments - refactor: add query parameter (`identifier`) to like - feat: add `shouldUseRecaptcha` option to control usage of reCAPTCHA - refactor: manage style with theme config - feat: add theme for politics-tracker ### Commits * \[[`e02368600b`](https://github.com/readr-media/react-feedback/commit/e02368600b)] - chore(feedback): bump version to 3.0.2 (Tsuki Akiba) * \[[`c7b67cb206`](https://github.com/readr-media/react-feedback/commit/c7b67cb206)] - chore(feedback): add CHANGELOG.md to files (Tsuki Akiba) * \[[`669ca5620a`](https://github.com/readr-media/react-feedback/commit/669ca5620a)] - docs(feedback): update CHANGELOG (Tsuki Akiba) * \[[`a662f5f32a`](https://github.com/readr-media/react-feedback/commit/a662f5f32a)] - chore(feedback): bump version to 3.0.1 (Tsuki Akiba) * \[[`2c6bc772d0`](https://github.com/readr-media/react-feedback/commit/2c6bc772d0)] - docs(feedback): update CHANGELOG (Tsuki Akiba) * \[[`554a4ac635`](https://github.com/readr-media/react-feedback/commit/554a4ac635)] - chore(feedback): bump version to 3.0.0 (Tsuki Akiba) * \[[`b5c02457d8`](https://github.com/readr-media/react-feedback/commit/b5c02457d8)] - Merge branch 'main' of <https://github.com/readr-media/react> (Tsuki Akiba) * \[[`22ba564d94`](https://github.com/readr-media/react-feedback/commit/22ba564d94)] - feat(feedback): add theme for politics-tracker (Tsuki Akiba) * \[[`3bf33d0817`](https://github.com/readr-media/react-feedback/commit/3bf33d0817)] - refactor(feedback): mange style with theme config (Tsuki Akiba) * \[[`d511f93742`](https://github.com/readr-media/react-feedback/commit/d511f93742)] - feat(feedback): add shouldUseRecaptcha option (Tsuki Akiba) * \[[`006b55e29f`](https://github.com/readr-media/react-feedback/commit/006b55e29f)] - refactor(feedback): add query parameter (`identifier`) to like (Tsuki Akiba) * \[[`3fc24eeede`](https://github.com/readr-media/react-feedback/commit/3fc24eeede)] - docs(feedback): add JSDoc comments (Tsuki Akiba) * \[[`d3eaeba4ba`](https://github.com/readr-media/react-feedback/commit/d3eaeba4ba)] - refactor(feedback): add query params to getLikes (Tsuki Akiba) * \[[`f47fa6e876`](https://github.com/readr-media/react-feedback/commit/f47fa6e876)] - chore(feedback): add CHANGELOG.md (nickhsine) ## 2022-10-06, Version 2.0.0 ### Notable Changes - refactor: only export `Feedback` component. Remove `buildEmbeddedCode` and `loadWebpackAssets` functions. ### Commits * \[[`4955ee5385`](https://github.com/readr-media/react-feedback/commit/4955ee5385)] - chore(feedback): bump version to 2.0.0 (nickhsine) * \[[`e20670fb8a`](https://github.com/readr-media/react-feedback/commit/e20670fb8a)] - refactor(feedback): remove `loadWebpackAssets` and `buildEmbeddedCode` functions (nickhsine)