Skip to content

Transactions delete#25

Merged
jwchavarrro merged 19 commits into
devfrom
transactions-delete
Dec 29, 2025
Merged

Transactions delete#25
jwchavarrro merged 19 commits into
devfrom
transactions-delete

Conversation

@jwchavarrro

Copy link
Copy Markdown
Owner

No description provided.

jwchavarrro added 18 commits December 28, 2025 17:02
- Standardized import statements across Breadcrumb components for better organization.
- Cleaned up formatting and removed unnecessary whitespace for enhanced code clarity.
- Updated BreadcrumbsProps interface and related hooks for consistent type definitions.
…ment

- Integrated GenericTable to display transactions with a query function for fetching data.
- Updated import statements to include necessary types and services.
- Configured new button and actions column for enhanced user interaction.
… enhanced table functionality

- Updated TransactionsPage to utilize CONFIG_COLUMNS for defining table columns.
- Integrated CONFIG_ACTIONS for improved action handling within the transactions table.
- Enhanced user interaction with a more structured and configurable table layout.
…safety

- Replaced string literals for transaction types and categories with enums in types.ts.
- Updated related interfaces and hooks to utilize the new enum types for better consistency and type checking.
…pe safety

- Renamed TransactionType and TransactionCategory to ENUM_TRANSACTION_TYPE and ENUM_TRANSACTION_CATEGORY respectively.
- Updated interfaces and hooks to reflect the new enum names for consistency and enhanced type checking.
…stency

- Updated import statements across various components to ensure proper paths and organization.
- Removed unnecessary whitespace and ensured consistent formatting in multiple files.
- Enhanced type imports for better clarity and maintainability.
- Updated import paths in breadcrumb item renderer and processing hook to enhance clarity and maintainability.
- Ensured consistent usage of types across components for better code structure.
…pe safety and consistency

- Changed TAB_TRANSACTIONS_OPTIONS from an object to an array of ENUM_TRANSACTION_TYPE for better type handling.
- Updated selectedTabTransactionsContext to directly use ENUM_TRANSACTION_TYPE.INCOME, removing the dependency on the constants import.
… management

- Integrated Tabs component to allow switching between income and expense transaction views.
- Created TransactionsTableIncome and TransactionsTableExpense components for displaying respective transaction types.
- Updated import statements for better organization and clarity.
- Removed the previous GenericTable implementation in favor of a more modular tabbed approach.
…UI and organization

- Removed unnecessary whitespace in TransactionsPage for cleaner code.
- Enhanced CreateEditTransactionPage with Header and Message components to indicate under construction status.
- Updated Tabs component imports and cleaned up code in the Tabs implementation for better readability.
- Streamlined exports in transactions tab components for improved organization.
…roved user interaction

- Updated Tabs component styles to include cursor pointer and capitalize text for better usability and visual consistency.
…functionality

- Added context imports to manage selected transactions and open action dialogs.
- Updated handleOnClickDelete function to utilize context for setting selected transactions and opening the delete confirmation dialog.
- Streamlined exports in index.ts to include base-dialog for better organization.
- Added new keywords for 'Cancel' and 'Confirm' in keywords.ts for enhanced user interaction.
…raction

- Integrated BaseDialog into TransactionsPage for transaction deletion confirmation.
- Updated Dialog components with improved structure and consistent styling.
- Refactored DialogFooter to utilize keywords for button texts.
- Enhanced ButtonAction interface for better type safety.
- Cleaned up code in delete-action fragment for improved readability.
- Replaced useSelectedTransactions with useSelectedTransaction for improved context management.
- Updated TransactionsPage to handle transaction deletion with a custom hook.
- Streamlined delete-action component to utilize the new transaction selection context.
- Removed obsolete selected-transactions context file for better code organization.
- Added loading state management for delete operation using isDeleting.
- Updated handleOnConfirm to include success and error handling for transaction deletion.
- Integrated toast notifications for user feedback on deletion success or failure.
- Improved query invalidation and refetching logic in useDeleteTransaction hook for better data consistency.
@vercel

vercel Bot commented Dec 29, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
control-cash Ready Ready Preview, Comment Dec 29, 2025 0:46am

- Streamlined import statements across dialog components for better organization.
- Removed unnecessary whitespace and improved formatting for enhanced code clarity.
- Updated DialogHeader, DialogFooter, and DialogActions to maintain consistent styling and structure.
- Enhanced Tabs component styling for improved user interaction.
@jwchavarrro
jwchavarrro merged commit 8791faa into dev Dec 29, 2025
5 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.

1 participant