UNPKG

@promotedai/react-introspection

Version:

Promoted Introspection integration for React web apps

209 lines (101 loc) 10.2 kB
## [2.0.2](https://github.com/promotedai/react-introspection/compare/v2.0.1...v2.0.2) (2022-11-25) ### Bug Fixes * build issue ([85b58cd](https://github.com/promotedai/react-introspection/commit/85b58cdc64c28ab6aeb3db65df0050d6d707dea9)) * change 'Promoted Rank' to 'Retrieval Rank' ([e63d582](https://github.com/promotedai/react-introspection/commit/e63d5827541dcd21aa3a23a793820a20ed806bb3)) * more fixes ([cf76b1e](https://github.com/promotedai/react-introspection/commit/cf76b1ea3ed281e1a0b0e264c05d8d538839ac4d)) ## [2.0.1](https://github.com/promotedai/react-introspection/compare/v2.0.0...v2.0.1) (2022-11-15) ### Bug Fixes * remove logUserId from PromotedIntrospectionBanner props ([b2b7de6](https://github.com/promotedai/react-introspection/commit/b2b7de652d35679e59970d4c92d5bc017a42e47c)) # [2.0.0](https://github.com/promotedai/react-introspection/compare/v1.5.0...v2.0.0) (2022-11-15) ### Features * add improvements to page-wide banner and use a provider pattern ([c262a25](https://github.com/promotedai/react-introspection/commit/c262a25f0b6e387de0fd476d1eee49d2737aa422)) ### BREAKING CHANGES * The search list now needs to be wrapped in a single PromotedIntrospectionProvider component # [1.5.0](https://github.com/promotedai/react-introspection/compare/v1.4.3...v1.5.0) (2022-11-12) ### Bug Fixes * add full payload to debug tab and put logUserId in banner ([e30e694](https://github.com/promotedai/react-introspection/commit/e30e694088ffc82c87d23dfc629bbbe463b238ae)) ### Features * add debug tab and page-wide banner ([034f7d1](https://github.com/promotedai/react-introspection/commit/034f7d1b310d0fa6cde906c30bc26c6616e92a5e)) ## [1.4.3](https://github.com/promotedai/react-introspection/compare/v1.4.2...v1.4.3) (2022-11-08) ### Bug Fixes * correctly position the popup when direction='right' prop is passed ([c49f954](https://github.com/promotedai/react-introspection/commit/c49f954d0838c0461dc3d83d126d67109eb02c32)) ## [1.4.2](https://github.com/promotedai/react-introspection/compare/v1.4.1...v1.4.2) (2022-11-02) ### Bug Fixes * apply class prefixes in all environments ([aec05ed](https://github.com/promotedai/react-introspection/commit/aec05ed15b032ca87c75a331b144874466333cd3)) ## [1.4.1](https://github.com/promotedai/react-introspection/compare/v1.4.0...v1.4.1) (2022-11-02) ### Bug Fixes * add a more robust copy mechanism ([024a813](https://github.com/promotedai/react-introspection/commit/024a813c8d32123b9bfe39b8bb7c21218c3648e2)) # [1.4.0](https://github.com/promotedai/react-introspection/compare/v1.3.9...v1.4.0) (2022-10-31) ### Features * allow displaying the popup to the right of the trigger ([0fe05d2](https://github.com/promotedai/react-introspection/commit/0fe05d2f75dc100af3e8b5f191269f3fc8b0e776)) ## [1.3.9](https://github.com/promotedai/react-introspection/compare/v1.3.8...v1.3.9) (2022-10-29) ### Bug Fixes * change Impr label to CTR ([dcbe166](https://github.com/promotedai/react-introspection/commit/dcbe16638fa0440a5ffa4c0a7ab2df9defc004a2)) ## [1.3.8](https://github.com/promotedai/react-introspection/compare/v1.3.7...v1.3.8) (2022-10-28) ### Bug Fixes * resolve issue with competing MUI versions ([34d2a47](https://github.com/promotedai/react-introspection/commit/34d2a4717ae69a1f26614a3ea2b3855df018410c)) * resolve issue with competing MUI versions ([10c28f5](https://github.com/promotedai/react-introspection/commit/10c28f552c1fc4399c6649e5452d03d08e39699a)) ## [1.3.7](https://github.com/promotedai/react-introspection/compare/v1.3.6...v1.3.7) (2022-10-26) ### Bug Fixes * Update version ([4680b10](https://github.com/promotedai/react-introspection/commit/4680b105a096c5ed4bb1cc3e36e7c39eae235564)) ## [1.3.6](https://github.com/promotedai/react-introspection/compare/v1.3.5...v1.3.6) (2022-10-26) ### Bug Fixes * display insertion id ([f1fb719](https://github.com/promotedai/react-introspection/commit/f1fb719c98684e2280ff72318e5fcb79c6e031f5)) * display request id ([bec161c](https://github.com/promotedai/react-introspection/commit/bec161cb87b35cf84bdbd98a39511265f8fa4926)) * display request id ([6c90552](https://github.com/promotedai/react-introspection/commit/6c90552750a57b2fb1c3c03c9f3f02a19b0cbda8)) ## [1.3.5](https://github.com/promotedai/react-introspection/compare/v1.3.4...v1.3.5) (2022-10-25) ### Bug Fixes * Re-run build ([89757ca](https://github.com/promotedai/react-introspection/commit/89757ca3b89e0679d4636ab652b10542b4837b08)) ## [1.3.4](https://github.com/promotedai/react-introspection/compare/v1.3.3...v1.3.4) (2022-10-25) ### Bug Fixes * update version to stay in sync with tag ([ada9522](https://github.com/promotedai/react-introspection/commit/ada9522a6c69b0fcbbcd3f1ecbc3a878f2356774)) ## [1.3.3](https://github.com/promotedai/react-introspection/compare/v1.3.2...v1.3.3) (2022-10-25) ### Bug Fixes * keep the endpoint version instead of leaving it to the client ([b906f80](https://github.com/promotedai/react-introspection/commit/b906f8074bc0923adbf8d95972700ad56a5d0c08)) * keep the endpoint version instead of leaving it to the client ([40f41aa](https://github.com/promotedai/react-introspection/commit/40f41aa96b8dae7b03ab879c613f30ffaceaaa4c)) ## [1.3.2](https://github.com/promotedai/react-introspection/compare/v1.3.1...v1.3.2) (2022-10-21) ### Bug Fixes * Update version number ([94dfe56](https://github.com/promotedai/react-introspection/commit/94dfe56742971caf664c2ea2261041fe7b4aee4a)) ## [1.3.1](https://github.com/promotedai/react-introspection/compare/v1.3.0...v1.3.1) (2022-10-21) ### Bug Fixes * remove references to navigator and allow scrolling while popup is open ([fa95ad0](https://github.com/promotedai/react-introspection/commit/fa95ad0ec18445716f71aea0d5c26cf9da43c496)) # [1.3.0](https://github.com/promotedai/react-introspection/compare/v1.2.1...v1.3.0) (2022-10-21) ### Features * small package updates for chromatic ([5aaebbe](https://github.com/promotedai/react-introspection/commit/5aaebbe497a295c8e1f07d48f239cdf9ce4d9f37)) ## [1.2.1](https://github.com/promotedai/react-introspection/compare/v1.2.0...v1.2.1) (2022-10-20) ### Bug Fixes * Sync version with GitHub tag ([9d62f42](https://github.com/promotedai/react-introspection/commit/9d62f4224aa280200902f13cc6e4cd5be075076c)) # [1.2.0](https://github.com/promotedai/react-introspection/compare/v1.1.0...v1.2.0) (2022-10-20) ### Bug Fixes * add error logging, change file names, and remove dev/v1 from endpoint path ([83c55fe](https://github.com/promotedai/react-introspection/commit/83c55fea5b2069d0941cd21d329a22d2fda87596)) * adjust stories for mock data, and fix issue with controlled popup ([1a6852f](https://github.com/promotedai/react-introspection/commit/1a6852fe5a5393db329770071929a659e3a5fc72)) * fix issue with storybook mock ([b7e961b](https://github.com/promotedai/react-introspection/commit/b7e961b63f14326b2af5b7e785bb039d7f3ac564)) * make apikey optional ([45b9285](https://github.com/promotedai/react-introspection/commit/45b928575eb34c6b22e4a4e6d9482a9c3c3f4ea4)) * update in response to PR comments ([f4653f3](https://github.com/promotedai/react-introspection/commit/f4653f3c54cf28eb6d37e073d0bb2d97627ce289)) ### Features * begin api integration for stats screen ([bc5d6e2](https://github.com/promotedai/react-introspection/commit/bc5d6e27d0a9cd495bb09f7dccf1fd870bd5270a)) * implement copy functionality ([803a2ba](https://github.com/promotedai/react-introspection/commit/803a2ba940117866cdf1451415775c86c3e91857)) * update to include known fields and refactor config ([8925d1f](https://github.com/promotedai/react-introspection/commit/8925d1f3ccf3dcfb51cca06d0661d6ff078a00dd)) # [1.1.0](https://github.com/promotedai/react-introspection/compare/v1.0.2...v1.1.0) (2022-10-14) ### Features * add chromatic and chromatic github action ([02b9b19](https://github.com/promotedai/react-introspection/commit/02b9b19d4088bc03d1c99d88895599df4d21224e)) ## [1.0.2](https://github.com/promotedai/react-introspection/compare/v1.0.1...v1.0.2) (2022-10-13) ### Bug Fixes * bump the version ([fe829a7](https://github.com/promotedai/react-introspection/commit/fe829a7b02dcf328c9f83e3102f9d2506ee35924)) ## [1.0.1](https://github.com/promotedai/react-introspection/compare/v1.0.0...v1.0.1) (2022-10-13) ### Bug Fixes * attempt fix for npm publish ([c5cdfc4](https://github.com/promotedai/react-introspection/commit/c5cdfc4412a4c30e4d0bdf82a13bb8d5c830e799)) # 1.0.0 (2022-10-13) ### Bug Fixes * bump up the node version in the github action ([0b3d32d](https://github.com/promotedai/react-introspection/commit/0b3d32d6a5ff93aae6de1f189a880172666edaac)) * downgrade MUI to work with React 16, and improve HOC interface ([c1626e0](https://github.com/promotedai/react-introspection/commit/c1626e01d85b7da5c5cf74a30cd3b0d3f9d41a5f)) * fix missing package.json issue ([ff7558c](https://github.com/promotedai/react-introspection/commit/ff7558c8ea5cc5ad91cd93aba36d2c7681fda978)) * improve responsiveness and add lazy loading to the popup contents ([b5d7d7d](https://github.com/promotedai/react-introspection/commit/b5d7d7dbc7f8982cab23450c9d5b4a79e81896b5)) * remove hover trigger so that we avoid importing material-ui until the popup is displayed ([17066ab](https://github.com/promotedai/react-introspection/commit/17066abf6cca284b60b59f983984e40788b98151)) ### Features * add moderation log panel ([48fe0ea](https://github.com/promotedai/react-introspection/commit/48fe0ea464a83d560dc125712e3f4c7bc3d03b36)) * add more trigger options ([2ce57f0](https://github.com/promotedai/react-introspection/commit/2ce57f0b9d85c81ad357797c2dab844226554112)) * add OverlayOnHover trigger type ([d86a140](https://github.com/promotedai/react-introspection/commit/d86a1406ca1294eccac62db829b3d30f57fa9197)) * add some build refinements, styling refinements, and include storybook ([278e578](https://github.com/promotedai/react-introspection/commit/278e5780ad50de769461fb93003a175720971eb8)) * add tooltips for statistics ([82b884e](https://github.com/promotedai/react-introspection/commit/82b884e6d5c86f8196c49f2e6c9d5ea55ea9e090)) * allow creation of a custom trigger ([7c30c28](https://github.com/promotedai/react-introspection/commit/7c30c2827139d61e8385e78db8d0224cf266bfd5))