-
Notifications
You must be signed in to change notification settings - Fork 8
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: Support custom fields in user-profile-widget + Edit/Delete flows #843
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit d0925fe. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 4 targetsSent with 💌 from NxCloud. |
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.
Added some comments
If something is not clear we can go over it together
...widget/src/lib/widget/mixins/initMixin/initComponentsMixins/initUserCustomAttributesMixin.ts
Outdated
Show resolved
Hide resolved
...widget/src/lib/widget/mixins/initMixin/initComponentsMixins/initUserCustomAttributesMixin.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitzan Peretz <nitzan@descope.com>
…om:descope/descope-js into feat/user_profile_widget_add_custom_fields
@nirgur added subscribe to |
I will be adding flows support in this PR. let's keep it open for now and not merge. |
…om:descope/descope-js into feat/user_profile_widget_add_custom_fields
@nirgur added edit/delete flow support. |
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 good 👍
Added one comment
}); | ||
} | ||
|
||
#updateCustomValueUserAttrs = withMemCache( |
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.
This function is a bit big and contains some repetitive code
Do you think we could split it into smaller functions?
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.
It was really about keeping the same standards as the other mixin - to begin with a preferred extracting code to functions and reuse.
Let me see what I can do here
Related Issues
fixes https://github.com/descope/etc/issues/8220
Part of https://github.com/descope/etc/issues/6501
Description
Widget Profile widget to support custom fields presentation - created a new mixin to support custom fields userAttribute component.