-
Notifications
You must be signed in to change notification settings - Fork 2
feat: home screen redesign with vertical pager #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jvsena42
wants to merge
140
commits into
master
Choose a base branch
from
feat/home-redesign
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,489
−549
Open
Changes from all commits
Commits
Show all changes
140 commits
Select commit
Hold shift + click to select a range
59cbdba
chore: add widgetsOnboardingHintDismissed flag
jvsena42 7256873
feat: update HomeUiState with new fields
jvsena42 7c813a3
feat: update HomeViewModel with page tracking and hint logic
jvsena42 49fabc5
chore: simplify ActivityListSimple
jvsena42 c81eb53
chore: add string resources and drawable
jvsena42 764a92f
feat: restructure HomeScreen with VerticalPager
jvsena42 0dc1ddb
feat: change SuggestionCard to use aspectRatio instead of fixed size
jvsena42 f58a288
feat: convert suggestion list into a grid
jvsena42 6db1be5
feat: add Suggestions entry to AddWidgetsScreen
jvsena42 7cf6cd1
feat: create SuggestionsPreviewScreen and wire navigation
jvsena42 f59d13c
chore: lint
jvsena42 634af1d
feat: replace autogenerated icons
jvsena42 b134eb0
feat: make suggestions a widget type
jvsena42 eb3a667
fix: check for pending transfer on showEmptyState
jvsena42 c315002
Merge branch 'master' into feat/home-redesign
jvsena42 63d4e38
fix: replace icon with image
jvsena42 bd60dbc
fix: implement Headline24 style
jvsena42 2d0ca86
fix: accent tag
jvsena42 10b1da1
feat: image padding
jvsena42 6689065
Merge remote-tracking branch 'origin/feat/home-redesign' into feat/ho…
jvsena42 907df7d
fix: bottom padding
jvsena42 ce97fcc
fix: cards alignment
jvsena42 e91c097
fix: close suggestion icon color
jvsena42 169df7b
fix: show all padding
jvsena42 767d5cd
fix: update show all label
jvsena42 9dc135c
fix: TabBar height
jvsena42 ad0ab3e
fix: TabBar bottom padding
jvsena42 1d91ee0
fix: remove empty state bottom padding
jvsena42 37180db
fix: support icon height
jvsena42 adf2779
feat: update default widgets set
jvsena42 6b3b144
feat: icon edit widget
jvsena42 37c4985
fix: drawer icon color
jvsena42 bbed759
fix: remove unnecessary spacer
jvsena42 8a97b12
fix: icon color
jvsena42 4744405
Merge branch 'master' into feat/home-redesign
jvsena42 b963072
feat: display balances section on empty state
jvsena42 29a1278
feat: default widgets
jvsena42 8793e70
fix: onboarding hint text and alightment
jvsena42 12784ed
chore: add immutable annotation
jvsena42 ee63974
chore: add stable annotation annotation
jvsena42 bade558
refactor: remove navController from inner composables to improve stab…
jvsena42 5e3ff4b
chore: add immutability annotation
jvsena42 40bea4c
chore: add more preview cases
jvsena42 86f3368
fix: initial page state
jvsena42 4044a1e
chore: match preview with default widgets
jvsena42 cb1107c
fix: match home screen paddings to ios
jvsena42 7535f59
fix: roolback balance header space
jvsena42 789344e
fix: rollback space
jvsena42 08d5105
fix: divider color
jvsena42 7691b95
fix: match letter spacing with ios
jvsena42 5889531
fix: prefix font weight
jvsena42 65b1ade
fix: skip last spacer
jvsena42 1d49b6e
fix: reimport icons with padding
jvsena42 c54654b
fix: suggestions order
jvsena42 9d3e149
fix: suggestion title padding
jvsena42 37c0fc3
fix: card dimensions
jvsena42 7b5f739
fix: reimport image
jvsena42 34e7a8a
fix: BlockCard.kt styles
jvsena42 8fa9f50
fix: banner padding
jvsena42 9f57678
fix: banner icon size
jvsena42 66f0a9b
merge: master into feat/home-redesign
jvsena42 bf6b9f3
fix: match spacing with figma
jvsena42 f013116
fix: preserve widget order during edit mode
jvsena42 0ccd103
chore: lint
jvsena42 5f284a9
fix: remove spacer
jvsena42 027cbac
chore: lint
jvsena42 f41a2f1
chore: lint
jvsena42 119a5f1
fix: restore FillHeight
jvsena42 7aaab3f
fix: remove news from default
jvsena42 86bc245
fix: hide empty state when no balance but has previous txs
jvsena42 52f701e
Merge branch 'master' into feat/home-redesign
jvsena42 2b2ba57
fet: implement disabled widgets UI on add widget screen
jvsena42 9d03353
feat: implement disabled widgets UI on add widget screen
jvsena42 8c961eb
Merge remote-tracking branch 'origin/feat/home-redesign' into feat/ho…
jvsena42 83f0338
fix: replace hardcoded width with line breaking
jvsena42 1cdc5cf
fix: update widgets state when deleting
jvsena42 b79df49
fix: always add a new widget on the last position
jvsena42 8df6412
fix: disable edit mode when adding a widget
jvsena42 f38c8d1
feat: reduce vertical pager swipe threshold
jvsena42 3bf9028
chore: lint
jvsena42 5d86631
fix: widget editing background
jvsena42 2f1b501
fix: remove alpha
jvsena42 96da0ab
fix: move drag detection to WidgetActionDrag long press
jvsena42 1275700
fix: isDragging style
jvsena42 b238bd3
fix: fetch widgets earlier
jvsena42 bc7fd23
fix: don't uppercase the time of banner text
jvsena42 c9f6ee3
fix: scroll gestures leaking to home trough back stack
jvsena42 f36d404
Merge branch 'master' into feat/home-redesign
jvsena42 8a570a5
feat: remove icon add
jvsena42 6e380ad
update test id
piotr-iohk 0990e9a
fix: implement blockPointerInputPassthrough to prevent pointer events…
jvsena42 e934bea
Merge remote-tracking branch 'origin/feat/home-redesign' into feat/ho…
jvsena42 9be38b6
fix: remove the isDragging altha
jvsena42 8e9e827
fix: disable pager when editing widgets
jvsena42 e799afb
fix: parallelize widget refresh
jvsena42 57bfe6e
fix: stiffen pager snap animation to prevent midway stop
jvsena42 eade2c5
Merge branch 'master' into feat/home-redesign
jvsena42 4163a76
chore: lint
jvsena42 a3dfce0
chore: make composable private
jvsena42 9896fe1
fix: skip calculator and suggestions update
jvsena42 03db7fb
fix: add defensive validation for drag coroutine
jvsena42 2e36100
Merge branch 'master' into feat/home-redesign
jvsena42 501f6ec
Merge branch 'master' into feat/home-redesign
jvsena42 11a559c
fix: typo
jvsena42 5c080ca
refactor: replace Spacer with VerticalSpacer
jvsena42 538b212
chore: lint
jvsena42 247c8f3
chore: reduce getActivities calls and uiState race condition scenario
jvsena42 7cca77b
chore: remove curly braces
jvsena42 9f235ed
refactor: replace hardcoded animation duration
jvsena42 4ee61f3
chore: remove curly braces
jvsena42 6e55259
chore: update preview annotation
jvsena42 f95809c
refactor: reorder params
jvsena42 49899a5
refactor: reorder params
jvsena42 ce66c05
refactor: remove uppercase from Headline20
jvsena42 2856601
refactor: extract SecondaryDisplay
jvsena42 b686030
refactor: extract suggestion methods in HomeViewModel
jvsena42 a307bed
refactor: extract spaceToNewline() String extension
jvsena42 5b91d76
refactor: replace LocalConfiguration.screenHeightDp with LocalWindowInfo
jvsena42 476fecf
refactor: extract bottom spacer height
jvsena42 ab0eaca
fix: back nav from Widget Settings returns to wrong state
jvsena42 6c17f40
fix: change "Show All" button top padding from 2.dp to 16.dp to match…
jvsena42 5df901f
fix: add .imePadding
jvsena42 c1c59db
fix: sync state on refresh receive state
jvsena42 118cee3
fix: call onLeftHome() when home screen is paused instead of when it …
jvsena42 ca347a0
fix: add a retry mechanism (retryShouldShowReceivedSheet) that retrie…
jvsena42 248234d
fix: reduce pager scroll threshold to make it more fluid
jvsena42 dad2b52
chore: lint
jvsena42 81c003d
fix: enable predictive back on all activity screen
jvsena42 9e8e427
Merge branch 'master' into feat/home-redesign
jvsena42 0e33a58
chore: add tablet preview
jvsena42 27f4016
Merge remote-tracking branch 'origin/feat/home-redesign' into feat/ho…
jvsena42 af22d4c
feat: add dark gradient at the bottom of widgets pages
jvsena42 5b7a2a0
fix: move imePadding to parent composable
jvsena42 e4edb6d
refactor: use haze effect
jvsena42 905bc7d
fix: restore StiffnessMedium to fix stuck scroll
jvsena42 dc2f3e8
Merge branch 'master' into feat/home-redesign
jvsena42 41a6868
fix: match edit behaviour with iOS
jvsena42 2e6a1e8
fix: improve widgets rendering by separating suggestions and others i…
jvsena42 25aa461
Merge branch 'master' into feat/home-redesign
jvsena42 45da477
Merge branch 'master' into feat/home-redesign
jvsena42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,11 @@ | ||
| package to.bitkit.data.dto.price | ||
|
|
||
| import androidx.compose.runtime.Stable | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Stable | ||
| @Serializable | ||
| data class PriceDTO( | ||
| val widgets: List<PriceWidgetData>, | ||
| @Stable val widgets: List<PriceWidgetData>, | ||
| val source: String | ||
| ) |
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
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
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
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
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
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
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
2 changes: 2 additions & 0 deletions
2
app/src/main/java/to/bitkit/models/widget/BlocksPreferences.kt
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
2 changes: 2 additions & 0 deletions
2
app/src/main/java/to/bitkit/models/widget/FactsPreferences.kt
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
2 changes: 2 additions & 0 deletions
2
app/src/main/java/to/bitkit/models/widget/HeadlinePreferences.kt
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
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
2 changes: 2 additions & 0 deletions
2
app/src/main/java/to/bitkit/models/widget/WeatherPreferences.kt
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.