-
-
Notifications
You must be signed in to change notification settings - Fork 740
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: display created by user in search #7292
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
Have we considered how it looks for old feature flags created before we supported created_by_user_id? Will it then just say system user? |
Whats the argument to not flag this? |
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 fine to me, but I've got the same questions Ivar has. And like him, I'd lean towards flagging this initially. Probably not a huge deal, but gives us the option to turn it off if something goes wrong (reversible decisions 😉 )
@@ -28,7 +28,7 @@ export interface FeatureSearchResponseSchema { | |||
*/ | |||
createdAt: string | null; | |||
/** User who created the feature flag */ | |||
createdBy?: FeatureSearchResponseSchemaCreatedBy; | |||
createdBy: FeatureSearchResponseSchemaCreatedBy; |
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.
will this always have a created by even in old flags? We did do some sort of patching of pre-existing flags, didn't we?
row.user_name || | ||
row.user_username || | ||
row.user_email || | ||
'unknown'; |
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.
Is the unknown case where we don't know who created the flag initially? Like Ivar asked, what do we show then?
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.
About the changes
Displaying columns with created by user:
Currently we show avatar and user name + id on hover.
Next PR:
Important files
Discussion points
Should we put it behind a dedicated flag? It's a new table column that's visible by default on large screens.