Skip to content

refactor(object-storage): rename folder and files following new naming conventions#22304

Open
pierre-pelloquin wants to merge 1 commit intodevelopfrom
DATATR-2925-objsto-update-uapp-archi-to-follow-up-guideline
Open

refactor(object-storage): rename folder and files following new naming conventions#22304
pierre-pelloquin wants to merge 1 commit intodevelopfrom
DATATR-2925-objsto-update-uapp-archi-to-follow-up-guideline

Conversation

@pierre-pelloquin
Copy link
Contributor

ref: #DATATR-2925

Description

Ticket Reference: #...

Additional Information

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request implements a comprehensive refactoring to standardize folder and file naming conventions across the pci-object-storage application. The changes align with modern React/TypeScript conventions by adopting consistent file suffixes (.component.tsx, .modal.tsx, .page.tsx, .hook.tsx), converting function declarations to arrow functions with named exports, and reorganizing folder structures to use bracket notation for dynamic routes (e.g., [region], [s3Name]).

Changes:

  • Standardized file naming with appropriate suffixes (.component.tsx, .modal.tsx, .page.tsx, .hook.tsx, .constants.ts)
  • Converted function declarations to arrow functions with consistent export patterns
  • Reorganized folder structure from flat naming to bracket notation for dynamic routes
  • Updated all import paths to reflect new file locations and naming
  • Removed trailing whitespace in multiple files

Reviewed changes

Copilot reviewed 137 out of 221 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vitest.config.js Removed trailing empty lines
Various component files Converted function declarations to arrow functions with named exports
Route-based pages Renamed from generic names (Create.page, Dashboard.page) to descriptive names (CreateObjectStorage.page, S3Dashboard.page)
Hook files Renamed to use .hook.tsx suffix consistently
Test files Updated import paths to match renamed source files
Context files Updated paths from old folder structure to new bracket notation
Storage-related files Moved from storage/ to organized structure under s3/[region]/[s3Name]/ and swift/[swiftId]/

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…g conventions

ref: #DATATR-2925

Signed-off-by: Pierre Pelloquin <pierre.pelloquin@ovhcloud.com>
@pierre-pelloquin pierre-pelloquin force-pushed the DATATR-2925-objsto-update-uapp-archi-to-follow-up-guideline branch from 007cae0 to d671a2f Compare February 16, 2026 08:03
@github-actions github-actions bot added the has conflicts Has conflicts to resolve before merging label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has conflicts Has conflicts to resolve before merging universe-public-cloud

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants