Skip to content

refactor: display "Buckets" instead of "Databases" in storage tab#2341

Merged
stnguyen90 merged 1 commit intoappwrite:mainfrom
floherzler:refactor-ui-buckets-instead-of-databases
Dec 8, 2025
Merged

refactor: display "Buckets" instead of "Databases" in storage tab#2341
stnguyen90 merged 1 commit intoappwrite:mainfrom
floherzler:refactor-ui-buckets-instead-of-databases

Conversation

@floherzler
Copy link
Copy Markdown
Contributor

@floherzler floherzler commented Sep 9, 2025

What does this PR do?

Shows the correct tab description pagination (e.g. "48 Buckets per page" instead of "48 Databases"), likely caused by a copy and paste mistake when duplicating the Storage tab from the Databases tab..

Fixes #2655

Test Plan

This only changes one string

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

I have read the Contributing Guidelines.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected pagination label on the Storage page to display “Buckets” instead of “Databases,” aligning the UI with the content being viewed. Pagination behavior (limit, offset, total) remains unchanged.

@appwrite
Copy link
Copy Markdown

appwrite Bot commented Sep 9, 2025

Console

Project ID: 688b7bf400350cbd60e9

Sites (2)
Site Status Logs Preview QR
 console-qa
688b7cf6003b1842c9dc
Failed Failed Authorize Preview URL QR Code
 console-cloud
688b7c18002b9b871a8f
Failed Failed Authorize Preview URL QR Code

Note

Cursor pagination performs better than offset pagination when loading further pages.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 9, 2025

Walkthrough

The change modifies src/routes/(console)/project-[region]-[project]/storage/+page.svelte by updating the label prop of the PaginationWithLimit component from "Databases" to "Buckets". The component’s other props (limit, offset, total) continue to bind to data.limit, data.offset, and data.buckets.total respectively. No additional logic, data bindings, or exported/public entity declarations were altered.

Pre-merge checks (3 passed)

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title clearly and concisely summarizes the primary change by stating that the pagination label in the storage tab will display “Buckets” instead of “Databases,” directly reflecting the scope of the refactor.
Description Check ✅ Passed The description directly addresses the change by explaining the incorrect pagination string fix, outlines the specific UI update, and mentions the minimal test plan, making it clearly relevant to the changeset.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: updating UI text from "Databases" to "Buckets" in the storage tab.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@stnguyen90 stnguyen90 merged commit a499ae5 into appwrite:main Dec 8, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display "Buckets" instead of "Databases" in the storage tab

2 participants