Skip to content

Conversation

@OffRange
Copy link
Owner

No description provided.

This commit introduces the Tag entity, enhancing the database's capability to store and manage relationships between tags and secure elements.

Additionally, this update includes the conversion of certain classes to Kotlin. Leveraging Kotlin's coroutine support provides a more streamlined and efficient approach, aligning with modern best practices for asynchronous programming.
This commit implements a user interface element, empowering users to create and assign custom tags to their elements seamlessly.
This allows for better comparisons/equality checks between two SecureElement objects
Implemented the doFlowInLifecycle extension function. This function enhances UI state management by ensuring that Kotlin flows are handled in accordance with the lifecycle state of the component, thus providing more efficient and safer UI updates.
Implemented enhancements in EditDialogBuilder to allow setting custom button listeners that do not automatically dismiss the dialog upon execution. This modification provides more control over the dialog's behavior during user interactions.
…dling

Refined withSelectionPredicate in SelectionTracker to disallow operations on default tags like 'Password'. This change ensures critical tags remain protected from actions like deletion or renaming, enhancing data integrity and user experience.
Refactored the setButtonListener logic in EditDialogBuilder to include additional validations for tag editing. Now, the updated code checks for blank inputs and unchanged tag names. This enhancement streamlines user input handling and prevents unnecessary database operations, contributing to a more robust and user-friendly tag management experience.
Introduced a new preference setting enabling users to toggle between tag view and classic element list view in the dashboard. This enhancement offers a customizable user experience, catering to diverse user preferences for dashboard display.
Included a new ProGuard rule to preserve classes implementing the ElementDetail interface. This ensures crucial functionalities related to database entities remain intact during the code obfuscation process.
Updated the build configuration with a ksp block to enable Kotlin source generation for Room database operations. This addition optimizes the integration of Room with Kotlin, ensuring more efficient and type-safe database interactions.
Updated the DAO function with the @transaction annotation to optimize database operations. This change not only improves efficiency but also resolves an issue related to view reloading, enhancing overall application performance and reliability.
The migration process is enhanced with logic to handle tag insertion and association, ensuring data integrity and consistency post-migration.
Could have caused a problem setting tags directly via the constructor -> default tags would not have been set
@OffRange OffRange added the enhancement New feature or request label Dec 26, 2023
@OffRange OffRange added this to the Version 1.2 milestone Dec 26, 2023
@OffRange OffRange linked an issue Dec 26, 2023 that may be closed by this pull request
@OffRange OffRange changed the title [Reafture] Tag [Feature] Tag Dec 26, 2023
@OffRange OffRange merged commit 280a727 into main Dec 26, 2023
@OffRange OffRange deleted the feat/tag branch December 26, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tags for Elements (Categories)

2 participants