-
Notifications
You must be signed in to change notification settings - Fork 52
Conversation
abbdf56 to
30a0005
Compare
f34f8f9 to
d406233
Compare
502b69b to
8093d63
Compare
d45b95c to
cb637bd
Compare
cb637bd to
9b36f43
Compare
b47617a to
3240639
Compare
3240639 to
0cdfefa
Compare
b707106 to
f3c29d8
Compare
f3c29d8 to
b426237
Compare
a94d637 to
ac1036d
Compare
@enjeck
enjeck
left a comment
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.
Even with the screenshots, I'm not sure what we're adding and what the usecase is?
Koc
commented
Jul 20, 2026
@enjeck I've updated description:
There are 2 tables:
employeesandvacations. We can addvacation.requesterrelation column that referenced toemployee.name. But what if we need to display more column from the related table? e.g.employee.department. That's where relation lookup can help: select already existent relation and choose what extra column should be displayed.
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.
try to omit if/else and move functionality to the column class
e3d186a to
dd0bdd6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
dd0bdd6 to
af54364
Compare
enjeck
commented
Aug 29, 2026
That's where relation lookup can help: select already existent relation and choose what extra column should be displayed.
Having a relation column, and a lookup column is extremely confusing. Even with this, I had to think extra hard to understand how they're different. If I'm struggling to understand as the dev, I doubts users will easily get it (or maybe it's just me, lol).
I would need others to check if they understand this just from the description and images. Maybe @nextcloud/designers need to weigh in
well, that's pretty similar to Excel's VLOOKUP function. But I'm open to changes here, let's wait for our designers
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
4362724 to
9667d06
Compare
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
9667d06 to
e7ff045
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.
replaced with a simple function
kra-mo
commented
Aug 31, 2026
I certainly think the names should be changed at least. @marcoambrosini, ideas?
Let's also just say that Excel's ancient statistics-oriented DSL is maybe not the best language to draw inspiration from when it comes to design ;)
the "Lookup" term is used for this in both Baserow and Airtable. For the relational ones they use the wording "Link to table". I would do the same
Maybe this can help: https://baserow.io/user-docs/lookup-field
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.
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.
same as previous comment.
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.
Lookup cells still open as an empty text editor. RelationLookup is register here, but TableRow uses getTableCellComponent from TableCell.js, which doesnt include it and falls back to TableCellHtml. you should add the same mapping in TableCell.js.
Uh oh!
There was an error while loading. Please reload this page.
This is continuation of #2248 that allows to display more column from relation table.
There are 2 tables:
employeesandvacations. We can addvacation.requesterrelation column that referenced to the row id of theemployeeand displayemployee.name. But what if we need to display more column from the related table? e.g.employee.department. That's where relation lookup can help: select already existent relation and choose what extra column should be displayed.🖼️ Screenshots
image
image🗒️ TODO
getTableCellComponenthelper for better reusability #2763 first