fix(Change Requests): Revamp docs, improve UX#7709
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Docker builds report
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7709 +/- ##
=======================================
Coverage 98.52% 98.52%
=======================================
Files 1444 1444
Lines 54971 54971
=======================================
Hits 54161 54161
Misses 810 810 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The uv bump in #7708 changed tool.uv.required-version from a pinned "0.11.14" to a range ">=0.11.18". The install-uv Make target derived UV_VERSION via lstrip("="), which leaves the ">=" prefix intact and produces the invalid pip requirement "uv==>=0.11.18", failing every API image build. Strip leading comparator characters so the derived version is a bare "0.11.18". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
|
Visual Regression19 screenshots compared. See report for details. |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the documentation and frontend UI to clearly distinguish between 'Feature Change Requests' (environment-level) and 'Segment Change Requests' (project-level). It renames various UI labels, updates the RBAC and Change Requests documentation, refactors the Identity and Segment Overrides tabs to improve layout and clarify behavior, and replaces '4-eyes' terminology with 'four-eyes'. Additionally, it updates the uv package manager's required version specification in the API configuration. There are no review comments, and I have no feedback to provide.
Zaimwa9
left a comment
There was a problem hiding this comment.
Overall looks good to me. Most of my comments are NIT, I let you decide if they are worth.
I'd just push back on removing the collapsible note for Identity override InfoMessage (which is a nit too I agree). Ideally it would be dismissable
| {!showCreateSegment && ( | ||
| <div> | ||
| <p className='text-right mt-4 fs-small lh-sm modal-caption'> | ||
| Drag overrides to adjust priority. |
There was a problem hiding this comment.
NIT and not 100% convinced but proposing :)
| Drag overrides to adjust priority. | |
| Re-order overrides to adjust priority. |
| | Feature state type | Scoped to | Requires a Change Request? | | ||
| | ------------------- | ------------------------------- | -------------------------- | | ||
| | Environment default | All users in an environment | ✅ Yes | | ||
| | Segment override | Users matching a segment | ✅ Yes | | ||
| | Identity override | A single specific identity | ❌ No — live immediately | |
There was a problem hiding this comment.
Are we sure we want to completely get rid of this part ? Or maybe should we mention that identity override are live immediately ?
| > | ||
| Learn more | ||
| </a> | ||
| </p>{' '} |
There was a problem hiding this comment.
| </p>{' '} | |
| </p> |
| Learn more | ||
| </a> | ||
| </div> | ||
| <InfoMessage> |
There was a problem hiding this comment.
I think it needs the collapseId like here to be collapsable, except if that was intentional ? https://github.com/Flagsmith/flagsmith/pull/7709/changes#diff-856506891655aee9290f3dd8ed40cc093a5a57d53942d1bfb1c76f35eae75786L178
| title={ | ||
| <h5 className='mb-0'> | ||
| Identity Overrides{' '} | ||
| <Icon name='info-outlined' width={20} fill='#9DA4AE' /> |
There was a problem hiding this comment.
Can you please check if this fill + color is really needed?
| } | ||
| } | ||
|
|
||
| .segment-overrides-title { |
There was a problem hiding this comment.
We still reference this class on SegmentOverridesTab.tsx:141 (the <Row>), and it'll be style-less once this rule goes. This is safe to drop there too and avoid leaving an orphan. You already cleaned up identity-overrides-title nicely, this is just the last one.

Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Rogue PR resulting from customer support work.
How did you test this code?
Manually checked visual changes, and you can too:
New documentation: https://docs-git-fix-segment-change-requests-docs-ux-flagsmith.vercel.app/administration-and-security/governance-and-compliance/change-requests
UI screenshots:
Before:

After:

Before:

After — contains some extra UI unrelated with changes:
