question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Column header titles are not consistent with plurals elsewhere (and ignore custom plurals)

See original GitHub issue

Column header titles seem to have their own word splitting for words. For example, with a list QRReferencePoint:

afbeelding

Notice Qr Reference Points in the header, and QRReference Points as generated plural in the cells.

A closely related problem is that they ignore any custom plurals. I’ve configured a custom label, singular and plural of “QR Reference Point” and “QR Reference Points” to properly format “QRReference”, but the title seems to ignore it:

afbeelding

Steps To Reproduce

Title Inconsistency

  1. Have two linked entities in a one-to-many relationship where the inverse side of the relationship has a name containing multiple capital letters, e.g. A has one or more QRReferencePoints.
  2. Add the field referencing QRReferencePoints (in A, meaning A.QRReferencePoints) to the initial columns of A.
  3. Observe the mismatch in cell output and column title.

Reproduce Ignored Plurals

  1. Have two linked entities in a one-to-many relationship, A has one or more B’s.
  2. Give B a custom label, singular, and plural.
  3. Add the field referencing B (in A, meaning A.B) to the initial columns of A.
  4. Observe the mismatch in cell output and column title.

Expected Behaviour

The column title uses the same plural as the cells do, both when plurals have been customized and when they don’t.

Information

  • Node Version: 16
  • Browser: Firefox 102

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dcousenscommented, Jul 26, 2022

Thanks for the follow up and explanation @NoTuxNoBux, it helps us learn how we can improve the API’s.

1reaction
dcousenscommented, Jul 26, 2022

@NoTuxNoBux to help us test, verify and resolve your problem, can you provide an example schema?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Translations · Issue #1274 · sveltejs/kit - GitHub
In PO files, the plural is handled with the following syntax ... the same way whether it's in a table column header or...
Read more >
Column titles in a table: singular or plural?
This is largely stylistic. Typically they would be singular. (Name, Address, etc.) However, your "Parameter name" entries have multiple ...
Read more >
10.1 The function knitr::kable() | R Markdown Cookbook
If you want to be able to customize each table individually when placing them side by side, you may use the kables() function...
Read more >
Style Guide: - Baylor University
What we've compiled here are guidelines to help us keep our oral history transcripts consistent and professional looking. We want interviewees to know...
Read more >
Excel COUNTIF and COUNTIFS Formulas Explained
New in Excel 2007 is the COUNTIFS function, which allows you to stipulate multiple criteria, hence the plural.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found