-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ban user column to be used as display column #12003
Ban user column to be used as display column #12003
Conversation
const subtype = fieldSchema.subtype as FieldSubtype | ||
switch (subtype) { | ||
case FieldSubtype.USER: | ||
const related = await processOutputBBReferences( |
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.
One thing to consider here is performance if we have a lot of rows/links, this is inside a double loop, this await could massively delay things - I wonder if there is a better way we can manage this (like bulking the requests in someway?)
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.
As discussed, simplified to use a formula if required
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## feature/multi-user-type-column #12003 +/- ##
===================================================================
+ Coverage 56.44% 74.53% +18.09%
===================================================================
Files 259 326 +67
Lines 7916 13859 +5943
Branches 1471 2905 +1434
===================================================================
+ Hits 4468 10330 +5862
- Misses 3162 3293 +131
+ Partials 286 236 -50
... and 584 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
cec5ebd
to
07b8218
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.
LGTM!
Description
Disabling user columns to be set as a display column. They add plenty of complexity, and there are workarounds using formulas instead
Screenshots