Dev#26
Merged
Merged
Conversation
- 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.
…OLUMNS for enhanced transaction table
…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.
…proved functionality and documentation
…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.
Transactions
- 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.
Transactions delete
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.