Skip to content

UI for Tags field#43

Merged
Megadash452 merged 29 commits intodevfrom
tags-field
Apr 19, 2026
Merged

UI for Tags field#43
Megadash452 merged 29 commits intodevfrom
tags-field

Conversation

@Megadash452
Copy link
Copy Markdown
Collaborator

Implemented UI for the Tags field in the NewTransactionForm.

The field shows tags that are currently selected by the user. These selected tags will be assigned to the new transaction in the database when it is created. The field also has a button that pops-up a dialog to view all available tags, and select/deselect from those. The dialog also has a button to create a new Tag with an icon, name, and color.

See #31 for an idea of what the UI looks like.

 * Gradle can run pre-build rust script automatically on build (wish it was on sync, but I'll take it).
 * Added new border style (dashed).
 * Added all user icons (about 170 of them).
 * Icon picker dialog and color picker button + dialog are done.
 * Added `UserIcons` object to access the *usericon_\** drawables.
   * The backing field is safely initialized using a Mutex, and the code runs in the WORKER_THREAD so that the UI thread is not blocked.
 * `rememberWork()` can take a **`key`** argument to rerun the work if the **`key`** changes.
@Megadash452 Megadash452 self-assigned this Apr 13, 2026
@Megadash452 Megadash452 added the feature New feature or request label Apr 13, 2026
@Megadash452 Megadash452 changed the base branch from main to dev April 13, 2026 23:42
@Megadash452 Megadash452 linked an issue Apr 13, 2026 that may be closed by this pull request
 * When user long-presses on a TagFrame, a DropdownMenu pops up with **Edit** and **Delete** actions.
   * Added edit and delete icons for those menu items.
 * Changed `TagCreatorDialog` to `TagEditorDialog`.
 * Tag operations is now only handled by the ViewModel.
   * `selectedTags` should only contain tag ID info.
 * Fixed UserIcons not loading in previews or tests; They should be loaded by the composables that use it instead.
 * Fixed miscellaneous visual effects.
@Megadash452 Megadash452 merged commit 81cb0d9 into dev Apr 19, 2026
1 of 2 checks passed
@Megadash452 Megadash452 deleted the tags-field branch April 19, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transaction categories/tags

1 participant