-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Login improvements #1210
feat: Login improvements #1210
Conversation
...and include combo component iris when during the extraction.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
… change ...plus pass userId to the props.
5f9959e
to
3b0865c
Compare
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.
Looks great !
userConfigs: ParsedConfig[]; | ||
}; | ||
|
||
export const ProfileContentTabs = (props: ProfileContentTabsProps) => { | ||
const { userConfigs } = props; | ||
const { userId, userConfigs: _userConfigs } = props; | ||
const [userConfigs, setUserConfigs] = React.useState(_userConfigs); |
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.
Not sure I understand the 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.
Ah, this commit was a preparation for the next one, probably they should be one – as we fetch the user configs on the server side, there was a need to useState
so that when user removes a chart, we can simply handle the change on the frontend, without re-querying configs (+ to make the table re-render once it's removed).
Contributes towards #1190.
This PR adds:
It also fixes a problem of not extracting components iris for combo charts and not carrying over the locale when clicking
Browse all datasets
button.