Skip to content

Commit f828c58

Browse files
authored
Merge pull request #33 from necyberteam/refactor-userinfo
Refactor userinfo, bring back in build directory, comment out feedback flow for now
2 parents 9980c34 + 74abc13 commit f828c58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1298
-617
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# misc
1212
.DS_Store
13+
.idea
1314
.env
1415
.env.local
1516
.env.development.local
@@ -27,8 +28,8 @@ yarn-error.log*
2728
*.diff
2829
*.patch
2930

30-
# Build output
31-
/build
31+
# Library output
32+
# /build (still required, to refactor?)
3233
/dist
3334

3435
# local-notes, claude

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function MyApp() {
149149
| `welcome` | string | - | Welcome message |
150150
| `userEmail` | string | - | User's email (pre-populates ticket forms when logged in) |
151151
| `userName` | string | - | User's display name (pre-populates ticket forms when logged in) |
152-
| `username` | string | - | User's username/ACCESS ID (pre-populates ticket forms when logged in) |
152+
| `accessId` | string | - | User's ACCESS ID (pre-populates ticket forms when logged in) |
153153
154154
### Standalone Javascript
155155
@@ -204,7 +204,7 @@ botController.destroy();
204204
| `welcome` | string | - | Welcome message |
205205
| `userEmail` | string | - | User's email (pre-populates ticket forms when logged in) |
206206
| `userName` | string | - | User's display name (pre-populates ticket forms when logged in) |
207-
| `username` | string | - | User's username/ACCESS ID (pre-populates ticket forms when logged in) |
207+
| `accessId` | string | - | User's ACCESS ID (pre-populates ticket forms when logged in) |
208208
209209
> **More Examples**: See `index.html` in this repository for examples including login state management, embedded mode, and programmatic control. Run the react app to see the same in a react context.
210210

build/asset-manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files": {
3+
"main.css": "./static/css/main.css",
4+
"main.js": "./static/js/main.js",
5+
"static/js/453.chunk.js": "./static/js/453.chunk.js",
6+
"index.html": "./index.html",
7+
"main.css.map": "./static/css/main.css.map",
8+
"main.js.map": "./static/js/main.js.map",
9+
"453.chunk.js.map": "./static/js/453.chunk.js.map"
10+
},
11+
"entrypoints": [
12+
"static/css/main.css",
13+
"static/js/main.js"
14+
]
15+
}

build/favicon.ico

3.78 KB
Binary file not shown.

build/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.js"></script><link href="./static/css/main.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

build/logo192.png

5.22 KB
Loading

build/logo512.png

9.44 KB
Loading

build/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

build/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

build/static/css/main.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)