-
Notifications
You must be signed in to change notification settings - Fork 530
fix(Change Requests): Revamp docs, improve UX #7709
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
base: main
Are you sure you want to change the base?
Changes from all commits
54021ac
2fd6cfe
d8869eb
ae34b81
ae1a6af
1c14ebe
398d08e
e76da59
65c106c
88a4ecf
3b5e2a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -157,53 +157,56 @@ const IdentityOverridesTab: FC<IdentityOverridesTabProps> = ({ | |
|
|
||
| return ( | ||
| <> | ||
| <FormGroup className='mb-4 mt-2'> | ||
| <FormGroup className='mb-4'> | ||
| <Row className='align-items-center mb-2 gap-4'> | ||
| <div className='flex-fill'> | ||
| <Tooltip | ||
| title={ | ||
| <h5 className='mb-0'> | ||
| Identity Overrides{' '} | ||
| <Icon name='info-outlined' width={20} fill='#9DA4AE' /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please check if this fill + color is really needed? |
||
| </h5> | ||
| } | ||
| place='top' | ||
| > | ||
| {Constants.strings.IDENTITY_OVERRIDES_DESCRIPTION} | ||
| </Tooltip> | ||
| </div> | ||
| {!isEdge && ( | ||
| <Button | ||
| onClick={() => changeIdentity(data?.results || [])} | ||
| type='button' | ||
| theme='secondary' | ||
| size='small' | ||
| > | ||
| {enabledIdentity ? 'Enable All' : 'Disable All'} | ||
| </Button> | ||
| )} | ||
| </Row> | ||
| <div className='text-muted mb-2'> | ||
| Identity Overrides apply to all individual identities listed here.{' '} | ||
| <a | ||
| target='_blank' | ||
| href='https://docs.flagsmith.com/flagsmith-concepts/identities' | ||
| rel='noreferrer' | ||
| > | ||
| Learn more | ||
| </a> | ||
| </div> | ||
| <InfoMessage> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it needs the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Identity Overrides are not subject to Change Requests and apply | ||
| immediately.{' '} | ||
| <a | ||
| target='_blank' | ||
| href='https://docs.flagsmith.com/administration-and-security/governance-and-compliance/change-requests' | ||
| rel='noreferrer' | ||
| > | ||
| Learn more | ||
| </a> | ||
| </InfoMessage> | ||
| <PanelSearch | ||
| id='users-list' | ||
| className='no-pad identity-overrides-title' | ||
| title={ | ||
| <> | ||
| <Tooltip | ||
| title={ | ||
| <h5 className='mb-0'> | ||
| Identity Overrides{' '} | ||
| <Icon name='info-outlined' width={20} fill='#9DA4AE' /> | ||
| </h5> | ||
| } | ||
| place='top' | ||
| > | ||
| {Constants.strings.IDENTITY_OVERRIDES_DESCRIPTION} | ||
| </Tooltip> | ||
| <div className='fw-normal transform-none mt-4'> | ||
| <InfoMessage collapseId='identity-overrides'> | ||
| Identity overrides override feature values for individual | ||
| identities. The overrides take priority over an segment | ||
| overrides and environment defaults. Identity overrides will | ||
| only apply when you identify via the SDK.{' '} | ||
| <a | ||
| target='_blank' | ||
| href='https://docs.flagsmith.com/basic-features/managing-identities' | ||
| rel='noreferrer' | ||
| > | ||
| Check the Docs for more details | ||
| </a> | ||
| . | ||
| </InfoMessage> | ||
| </div> | ||
| </> | ||
| } | ||
| action={ | ||
| !isEdge && ( | ||
| <Button | ||
| onClick={() => changeIdentity(data?.results || [])} | ||
| type='button' | ||
| theme='secondary' | ||
| size='small' | ||
| > | ||
| {enabledIdentity ? 'Enable All' : 'Disable All'} | ||
| </Button> | ||
| ) | ||
| } | ||
| className='no-pad' | ||
| items={data?.results} | ||
| paging={{ ...data, currentPage: page }} | ||
| renderSearchWithNoResults | ||
|
|
||

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.
Are we sure we want to completely get rid of this part ? Or maybe should we mention that identity override are live immediately ?