Skip to content

feat: add object rename action#146

Merged
overtrue merged 1 commit into
mainfrom
overtrue/add-object-rename
Jul 4, 2026
Merged

feat: add object rename action#146
overtrue merged 1 commit into
mainfrom
overtrue/add-object-rename

Conversation

@overtrue

@overtrue overtrue commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Pull Request

Description

Adds an object rename action in the object browser. The rename flow copies the object to the new key in the same prefix, then deletes the original object.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test improvements
  • Security fix

Testing

  • Unit tests added/updated
  • Manual testing completed
pnpm install --frozen-lockfile
pnpm exec tsc --noEmit --pretty false
pnpm lint
node --test tests/lib/object-rename.test.ts tests/lib/i18n-locales.test.js tests/lib/object-list-source.test.js
pnpm exec prettier --check components/object/list.tsx hooks/use-object.ts lib/object-rename.ts lib/permission-capabilities.ts tests/lib/object-rename.test.ts i18n/locales/*.json

Checklist

  • Code follows the project's style guidelines
  • Self-review completed
  • TypeScript types are properly defined
  • All commit messages are in English (Conventional Commits)
  • All existing tests pass
  • No new dependencies added, or they are justified

Related Issues

Closes #143

Screenshots (if applicable)

Manual browser check completed for renaming sample.txt to renamed.txt.

Additional Notes

No new dependencies.

Copilot AI review requested due to automatic review settings July 4, 2026 05:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@overtrue overtrue mentioned this pull request Jul 4, 2026
7 tasks
@overtrue overtrue merged commit c7af406 into main Jul 4, 2026
10 checks passed
@overtrue overtrue deleted the overtrue/add-object-rename branch July 4, 2026 05:38
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.

[FEATURE] I want rename file easily

2 participants