Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: show records count on connections page #2936

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

TBonnin
Copy link
Collaborator

@TBonnin TBonnin commented Nov 1, 2024

Column is called Records cc @bastienbeurier
Count is shorten when greater than 1000. Ex: 1.6K, 3M.
Non-shorten count is always shown in the hover tooltip

Screenshot 2024-11-01 at 14 13 41

Depends on this bugfix to be merged first and inaccurate rows in the db to be fixed

Issue ticket number and link

https://linear.app/nango/issue/NAN-1929/[trial]-show-object-count-in-sync-tab

Checklist before requesting a review (skip if just adding/editing APIs & templates)

  • I added tests, otherwise the reason is:
  • I added observability, otherwise the reason is:
  • I added analytics, otherwise the reason is:

Copy link

linear bot commented Nov 1, 2024

<Table.Head className="w-[120px]">Last Sync Start</Table.Head>
<Table.Head className="w-[130px]">Next Sync Start</Table.Head>
<Table.Head className="w-[140px]">Next Sync Start</Table.Head>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated but with 130 it would add a new line when value is Schedule Paused

@TBonnin TBonnin force-pushed the tbonnin/nan-1929/record-count-ui branch 2 times, most recently from 7e65df1 to c62465b Compare November 1, 2024 18:21
}
}
return count.toLocaleString();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have formatQuantity() that does the same thing but shorter

@TBonnin TBonnin force-pushed the tbonnin/nan-1929/record-count-ui branch from c62465b to 14a2821 Compare November 5, 2024 18:29
@TBonnin TBonnin force-pushed the tbonnin/nan-1929/record-count-ui branch from 14a2821 to 0e88f8f Compare November 7, 2024 20:31
@TBonnin
Copy link
Collaborator Author

TBonnin commented Nov 7, 2024

FYI @khaliqgant @bodinsamuel added a commit to show the count breakdown per model in the tooltip
0e88f8f
Screenshot 2024-11-07 at 15 32 40

Column is called `Records`
Count is shorten when greater than 1000. Ex: 1.6K, 3M
Non-shorten count is always shown in the hover tooltip
@TBonnin TBonnin force-pushed the tbonnin/nan-1929/record-count-ui branch from 0e88f8f to 35c74ab Compare November 12, 2024 14:43
@TBonnin TBonnin enabled auto-merge (squash) November 12, 2024 14:43
@TBonnin TBonnin merged commit 8ea1142 into master Nov 12, 2024
20 checks passed
@TBonnin TBonnin deleted the tbonnin/nan-1929/record-count-ui branch November 12, 2024 14:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants