Skip to content

refactor(webapp): rename query hooks to kebab-case convention#1018

Draft
abouolia wants to merge 17 commits intodevelopfrom
feat/query-hooks-refactor-kebab-case
Draft

refactor(webapp): rename query hooks to kebab-case convention#1018
abouolia wants to merge 17 commits intodevelopfrom
feat/query-hooks-refactor-kebab-case

Conversation

@abouolia
Copy link
Copy Markdown
Contributor

@abouolia abouolia commented Mar 6, 2026

Summary

This PR standardizes the file naming convention in the hooks/query directory by renaming files from camelCase/PascalCase to kebab-case.

Changes

  • Renamed query hook files to follow kebab-case convention:
    • apiKeys.tsxapi-keys.tsx
    • cashflowAccounts.tsxcashflow-accounts.tsx
    • creditNote.tsxcredit-note.tsx
    • exchangeRates.tsxexchange-rates.tsx
    • inventoryAdjustments.tsxinventory-adjustments.tsx
    • itemsCategories.tsxitems-categories.tsx
    • landedCost.tsxlanded-cost.tsx
    • manualJournals.tsxmanual-journals.tsx
    • paymentMades.tsxpayment-mades.tsx
    • paymentReceives.tsxpayment-receives.tsx
    • taxRates.tstax-rates.ts
    • transactionsLocking.tsxtransactions-locking.tsx
    • vendorCredit.tsxvendor-credit.tsx
    • warehousesTransfers.tsxwarehouses-transfers.tsx
    • UniversalSearch/UniversalSearch.tsxUniversalSearch/universal-search.tsx
  • Updated all imports throughout the codebase
  • Added react-query and react-query-devtools dependencies

Test plan

  • Verify all imports resolve correctly
  • Run TypeScript compilation to ensure no type errors
  • Verify the application builds successfully

pr_agent:summary

pr_agent:walkthrough

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.

1 participant