documenso icon indicating copy to clipboard operation
documenso copied to clipboard

feat: signing volume

Open ephraimduncan opened this issue 1 year ago • 2 comments

CleanShot 2024-09-19 at 14 28 49@2x

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a LeaderboardTable component for displaying and managing signing volumes with search, sorting, and pagination capabilities.
    • Added a new admin interface for the leaderboard, ensuring only authorized users can access it.
    • Enhanced navigation with a new "Leaderboard" button in the admin panel.
  • Translations

    • Added new translations for "Leaderboard" and "Signing Volume" in both German and English, improving localization for the new features.
    • Updated existing translation references for clarity and consistency.

ephraimduncan avatar Sep 19 '24 14:09 ephraimduncan

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
prd-app 🔄 Building (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:32am
prd-marketing 🔄 Building (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:32am
prd-openpage-api ❌ Failed (Inspect) Dec 3, 2024 0:32am
stg-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:32am
stg-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:32am
stg-marketing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:32am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
prd-docs ⬜️ Ignored (Inspect) Visit Preview Dec 3, 2024 0:32am

vercel[bot] avatar Sep 19 '24 14:09 vercel[bot]

[!IMPORTANT]

Review skipped

Auto reviews are limited to specific labels.

:label: Labels to auto review (1)
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough
📝 Walkthrough

Walkthrough

This pull request includes extensive updates to localization files for both German and English translations, enhancing user interface strings across the application. It introduces new translation entries, modifies existing ones, and adds new functionality for fetching and displaying leaderboard data. New components and actions related to the leaderboard feature have been created, including asynchronous functions for data retrieval and React components for rendering the leaderboard interface.

Changes

File Path Change Summary
packages/lib/translations/de/web.po Updated German translations for UI strings, adding new entries and modifying existing ones for clarity and accuracy.
packages/lib/translations/en/web.po Updated English translations, adding new entries for "Leaderboard" and "Signing Volume," and refining existing messages.
apps/web/src/app/(dashboard)/admin/leaderboard/fetch-leaderboard.actions.ts Introduced search function for fetching leaderboard data with authorization checks.
packages/lib/server-only/admin/get-signing-volume.ts Added getSigningVolume function to retrieve signing volume data, including query parameters and pagination.
packages/lib/translations/de/web.js Introduced German localization module with structured messages for UI prompts and error handling.
packages/lib/translations/en/web.js Introduced English localization module with structured messages for UI prompts and error handling.
apps/web/src/app/(dashboard)/admin/leaderboard/page.tsx Added Leaderboard component for rendering the leaderboard interface with session and authorization checks.
apps/web/src/app/(dashboard)/admin/leaderboard/data-table-leaderboard.tsx Added LeaderboardTable component for displaying leaderboard data, including search and pagination functionality.
packages/lib/translations/de/common.po Updated German translations for document-related notifications and actions, refining existing messages for clarity.
packages/lib/translations/de/marketing.po Updated German marketing translations, enhancing clarity and consistency for user engagement phrases.
packages/lib/translations/es/common.po Updated Spanish translations for document management and team interactions, improving clarity and accuracy.
packages/lib/translations/es/marketing.po Updated Spanish marketing translations for improved localization and accuracy.
packages/lib/translations/es/web.po Updated Spanish translations for UI elements, adding new entries and refining existing translations for clarity.
packages/lib/translations/fr/common.po Updated French translations for document-related actions and notifications, ensuring clarity and accuracy.
packages/lib/translations/fr/marketing.po Updated French marketing translations for improved clarity and consistency.
packages/lib/translations/fr/web.po Updated French translations for UI strings, adding new entries and refining existing messages for clarity.

Possibly related PRs

  • #1327: This PR adds translations to the German localization files, which directly relates to the updates made in the main PR for German translations in web.po.
  • #1355: This PR introduces initial French translations, which aligns with the main PR's focus on enhancing localization for German translations, indicating a broader effort in translation updates across languages.
  • #1346: This PR allows editing pending documents and includes updates to translations, which may relate to the changes in user interface strings in the main PR.
  • #1402: This PR updates the German translation file common.po, which is relevant to the main PR's updates to the same file.
  • #1403: This PR updates the German translation file web.po, which is directly related to the changes made in the main PR.
  • #1444: This PR updates the German translations in common.po, which is relevant to the main PR's focus on translation updates.
  • #1461: This PR updates the German translations in common.po, which aligns with the main PR's updates to the same file.
  • #1463: This PR introduces Polish translations, which indicates a broader effort in translation updates across languages, similar to the main PR's focus on German translations.
  • #1474: This PR updates the German translations in common.po, which is relevant to the main PR's updates to the same file.

Suggested labels

pkg: ee changes, apps: marketing

Suggested reviewers

  • dguyen
  • ElTimuro

Poem

🐰 In the meadow where translations bloom,
New words sprout, dispelling the gloom.
With leaders tall and volumes bright,
We guide our users, day and night.
From German fields to English skies,
Clarity reigns, as our app flies! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

coderabbitai[bot] avatar Sep 19 '24 14:09 coderabbitai[bot]

@ephraimduncan Looks good so far. Can you fix the merge conflicts, so I can it to to staging to test with the stripe dev account?

ElTimuro avatar Oct 23 '24 12:10 ElTimuro

working on it now

ephraimduncan avatar Oct 23 '24 12:10 ephraimduncan