Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/ui/word-wrap-1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Trishadring authored Feb 14, 2024
2 parents 0052d5f + 8c9a335 commit 483f0bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Note: If you are running the backend with simplified authentication, your abilit
If this is the case, you should be able to navigate to the [home page](https://localhost:3000) and the
[test space](https://localhost:3000/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa)

## Set up Analytics
You can add google analytics, hotjar and more by adding the config scripts
in the `analytics.js` file, which is loaded in via the `index.html` file.

## License

PeopleMover is licensed under the Apache 2.0 license.
4 changes: 4 additions & 0 deletions ui/public/analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*
Add analytics code here.
This file is imported into the index.html file.
*/
3 changes: 2 additions & 1 deletion ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
<script type="application/javascript" src="/analytics.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion ui/src/__mocks__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Note:
This `__mocks__` folder should be in the root folder ajacent to the node_modules folder,
however there is a bug and it will only manual mock node modules if this folder is in the src folder right now.
This folder should be moved if the bug gets resolved:
https://github.com/facebook/create-react-app/issues/7539
https://github.com/facebook/create-react-app/issues/7539

0 comments on commit 483f0bb

Please sign in to comment.