Repository navigation
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
e3d186a to
dd0bdd6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
dd0bdd6 to
af54364
Compare
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 |
9667d06 to
e7ff045
Compare
|
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 |
e7ff045 to
8920bc5
Compare
|
@samin-z I've rebased branch, fixed conflicts and code review comments, pipeline, added new tests. |
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
|
Team, in case it helps - a real-world use case from within Nextcloud, maybe relevant for the design discussion on this lookup/show a field of the linked row thing. We track press coverage in Tables: one row per article (~2,400 rows), and a separate "PR Outlets" table with one row per outlet (website, YouTube channel, print title) holding Audience, Tier, Vertical and Country. Classification is per outlet, so every article should show its outlet's values. Over the weekend I wrote a script that copies these values over via the API because there's no built-in mechanism in Tables. What we would need from lookups;
Then, another thing: live vs frozen values. When we re-classify an outlet from Tier 3 to Tier 2, we'd like old rows to change. I guess it works that way, but I just want to clarify... wrt naming, "Link to table" + "Lookup" (as in Airtable/Baserow) would be clear to me at least... @samin-z can show you our tables if you want ;-) |
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
🗒️ TODO
getTableCellComponenthelper for better reusability #2763 first