feat: redesign bean management screen (2.2.0) - #45
Merged
Merged
Conversation
…d German translations
- Remove updateLastGrinderSetting tests from DAO, repository, and use case tests - Remove unused SearchAndFilterRow composable (replaced by IntegratedSearchAndFilterBar) - Extract helper methods in UpdateBeanUseCase to reduce return count - Shorten deprecation message in Bean.kt to fix line length
Rewrite BeanListItem into a text-badge-driven profile card with header-level selection, and relocate destructive actions (delete) into the edit screen. - AddEditBeanViewModel: add deleteBean() mirroring the soft-delete path, plus a deleteSuccess UiState flag matching the saveSuccess convention. - AddEditBeanScreen: destructive "Delete bean" button + confirmation dialog in the Bean Status card (portrait + landscape), pops back on success. - BeanListItem: new header Row (64dp photo hero or inline bean icon, meta Column with name/roast date/badges/stats, trailing selection control). - SelectedBadge: primaryContainer Surface + Check, fixes prior primary-content tint inconsistency. - BeanPhotoThumbnailLarge: 64dp variant rendering nothing when no photo (caller decides no-photo treatment). - BeanBadgesRow + StatusBadge: self-describing text badges for freshness tier and bean status, replacing the colored dot and freshness pill. - BeanStatsRow: single grinder · shots · last used row. - Delete dead private composables (BeanActionSection, BeanInformation, BeanStatistics, RoastFreshnessIndicator, GrinderSettingWithStatus). - Add 5 short-label status/freshness strings (en + de, parity maintained). Co-Authored-By: Claude <noreply@anthropic.com>
Bean management redesign, shot history filter, grind-setting streamlining, and fixes. Priority items ([*]) feed the Play Store what's-new via scripts/extract-whatsnew.sh. Co-Authored-By: Claude <noreply@anthropic.com>
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.
2.2.0 — Bean Management Redesign
Redesigns the Bean Management screen around photo-prominent bean cards with smart sorting and live status, adds a shot-history-by-bean filter, and streamlines grind-setting setup.
What changed
Bean management
BeanManagementViewModelBeanStatusCalculator(with tests) + last-used date formatting (en + de)Shot history
Refactor
GetActiveBeansUseCase,GetBeanHistoryUseCase, trimsBeanDao/BeanRepository/UpdateBeanUseCase)Tooling
justfile(build / test / check / install / screenshot),CLAUDE.md, refreshed screenshotsFixes
label_searchtranslationChangelog → Play Store "What's new"
Driven by
[*]items inCHANGELOG.mdviascripts/extract-whatsnew.sh 2.2.0(209/500 chars):Release
Tag
v2.2.0after merge + device test.