-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FCE-400] Support names in demo app (and add missing CI checks) #66
Conversation
defaultRoomName: localStorage.getItem("roomName") ?? "", | ||
defaultUserName: localStorage.getItem("userName") ?? "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug fix 🙈
@@ -67,7 +67,9 @@ function App() { | |||
)} | |||
|
|||
<div className="absolute bottom-2 left-0 w-full grid place-content-center text-center text-xs z-30"> | |||
<p className="bg-slate-100/60 px-1 rounded-sm">{id}</p> | |||
<p className="bg-slate-100/60 px-1 rounded-sm"> | |||
{(metadata as { name?: string })?.name ?? id} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that inline type is not the prettiest, but will do the job until we have the predefined metadata typed by the sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is my assumption - soon we should have these values typed better, so then it will be fixed.
"lint:check": "eslint . --ext .ts,.tsx", | ||
"format": "prettier --write . --ignore-path ./.eslintignore", | ||
"format:check": "prettier --check . --ignore-path ./.eslintignore", | ||
"preview": "vite preview" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing commands
Description
Allow test app to handle user names in similar way as mobile app
Also add missing lint/format CI checks. And reformat code using our rules
Motivation and Context
Easier app testing
Types of changes
not work as expected)