-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Site Design Screen Improvements #16468
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
Merged
Merged
Changes from all commits
Commits
Show all changes
179 commits
Select commit
Hold shift + click to select a range
335a430
Remove thumbnail mode selector from design picker
mkevins 4f37a1c
Rename theme chooser title
mkevins b42d352
Remove subtitle text from theme chooser heading
mkevins 7d11be3
Move lambdas outsite of parentheses
mkevins f16160f
Remove bottom toolbar from theme chooser screen
mkevins d1bc940
Add TODOS for loose ends from removed UI
mkevins d3c84c4
Fix lint issue
mkevins a69e2e4
Merge branch 'feature/site-design-revamp--remove-thumbnail-mode-selec…
mkevins faf4c03
Fix lint issue
mkevins 48df301
Remove string resource hpp_subtitle that becomes unused
ovitrif 1d8ef0e
Merge pull request #16419 from wordpress-mobile/pr/16414-remove-unuse…
mkevins 522e2ec
Use mobile thumbnails in theme picker screen
mkevins ed4f540
Reword the test cases to reflect that thumbnails are not changed
mkevins 6104d45
Merge branch 'feature/site-design-revamp--remove-thumbnail-mode-selec…
mkevins 0079b9e
Remove thumbnail preview mode tracking in theme picker
mkevins 6ddbf18
Merge pull request #16415 from wordpress-mobile/feature/site-design-r…
ovitrif be51e24
Remove unusd resource hpp_button_max_width
ovitrif 7dbe9ed
Merge pull request #16414 from wordpress-mobile/feature/site-design-r…
ovitrif 24ee21f
Hide the category pills recyclerview and skeleton view
ovitrif 9f44324
Set text alignment of the big title to the left of the screen
ovitrif 69b4968
Add horizontal padding to the big title to align it with the preview …
ovitrif 92fcbc5
Align collapsed title text to left of Site Theme screen
ovitrif 02bccd2
Merge pull request #16428 from wordpress-mobile/feature/site-design-r…
ovitrif 05518bd
Merge branch 'trunk' into feature/site-design-revamp
ovitrif ae4b50f
Merge branch 'trunk' into feature/site-design-revamp
ovitrif 3a3c9d5
Sets the layout picker thumbnail layout dimension dynamically
antonis ed9e0c6
Sets the loading skeleton layout dimension dynamically
antonis 3f080de
Uses a different thumb dimension for tablet devices
antonis 0b0fbcf
Sets the category row height dynamically
antonis 10642c1
Present preview when the theme is tapped
mkevins c240b23
Deselect theme when the preview is dismissed
mkevins 822a85e
Hide selected overlay (check mark) in theme picker
mkevins 159b716
Merge pull request #16474 from wordpress-mobile/task/16408-enlarge-th…
antonis cc36732
Merge branch 'trunk' into feature/site-design-revamp
antonis 35c1b9c
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins c87bf46
Add content description for preview action to theme thumbnails
mkevins 949bc2a
Update theme picker tests
mkevins 8275b86
Remove unused test in theme picker viewmodel
mkevins 84a1829
Add comment on tracker default NOOP implementation
mkevins 3793ac3
Merge pull request #16480 from wordpress-mobile/feature/site-design-r…
antonis 54390d9
Merge branch 'trunk' into feature/site-design-revamp
antonis b845651
Extracts default implementation for the scale property of the ThumbDi…
antonis c950f0f
Adds dimension provider for recommended designs
antonis 8b3d3d7
WIP: Adds recommended designs row
antonis ceb4a36
Fixes lint issue
antonis e5128e3
Adds recommended title
antonis dfa6d16
Add id to divider view between layouts rows
ovitrif d8a612b
Add showDividers bool to layouts item view holder for showing/hiding …
ovitrif 97aaf34
Hide layouts row separator on site design screen
ovitrif b596539
Merge pull request #16488 from wordpress-mobile/task/16487-hide-separ…
antonis 2a1d5c1
Fixes broken tests
antonis 9217d24
Workaround to prevent recyclerview from recycling rows of different size
antonis df0d9ea
Override getItemViewType to re-enable recycling
mkevins e7abed6
Merge branch 'trunk' into feature/site-design-revamp
mkevins 9df16e1
Merge branch 'trunk' into feature/site-design-revamp
antonis d9eef78
Merge branch 'feature/site-design-revamp' into task/16393-recommended…
antonis 443e445
Minor code optimization to avoid force unwrapping
antonis d0d65f0
Extracts (dummy) recommendation logic to a separate function
antonis df5065a
Sets Blogging as the default fallback recommendation
antonis c3d5ab5
Mocks resource provider call with one parameter
antonis cac586f
Merge pull request #16486 from wordpress-mobile/task/16393-recommende…
ovitrif 259c91c
Merge branch 'trunk' into feature/site-design-revamp
antonis f502a2a
Updates FluxC reference
antonis a6f506f
Pass selected vertical to the design picker
antonis 85d9074
Recommend designs based on the selected vertical
antonis 8f5ea25
Merge branch 'trunk' into feature/site-design-revamp
antonis 7142471
Merge branch 'feature/site-design-revamp' into task/16503-recommend-v…
antonis 9677bb9
Extracts the recommendation logic to a separate file
antonis fe387f4
Tests the recommended designs logic
antonis 0052838
Adds a mechanism for randomising the order of layouts in specific cat…
antonis 29060b9
Randomises the order of site designs except for the recommended category
antonis 69d9798
Also save the ordered layouts per category for efficiency
antonis 9daa723
Unit tests for which categories should be randomised
antonis 232a730
Merge branch 'trunk' into feature/site-design-revamp
antonis c349fca
Merge branch 'feature/site-design-revamp' into task/16503-recommend-v…
antonis 11ff1a1
Merge branch 'task/16503-recommend-vertical-designs' into task/16506-…
antonis e0980a7
Unselect the layout after the choose action if fired
antonis 2fa545a
Merge branch 'task/16503-recommend-vertical-designs' into task/16506-…
antonis 3ddba5e
Adds recommended property in the enhanced_site_creation_site_design_s…
antonis 8893ea3
Merge branch 'trunk' into feature/site-design-revamp
antonis e80ad38
Merge branch 'feature/site-design-revamp' into task/16503-recommend-v…
antonis 319e4c5
Merge branch 'task/16503-recommend-vertical-designs' into task/16506-…
antonis 62812e7
Merge branch 'task/16503-recommend-vertical-designs' into task/16528-…
antonis 91c1cab
Hides keyboard on back
antonis db502a2
Add bottom helper text to theme picker
mkevins 1020c4d
Merge pull request #16531 from wordpress-mobile/task/16506-randomise-…
ovitrif 8a16b16
Merge pull request #16538 from wordpress-mobile/task/16528-track-reco…
ovitrif 7f12781
Merge pull request #16510 from wordpress-mobile/task/16503-recommend-…
ovitrif ab4b4c0
Moves the site design picker loadSavedState call to the correct place
antonis ad8044c
Merge pull request #16546 from wordpress-mobile/fix/crash-on-site-int…
ovitrif 8fe8fc8
Fix screens title visibility on the new & updated site creation screens
ovitrif 3c6c94e
Updates the UI on vertical change
antonis 18c2ac8
Adds unit test verifying that the vertical change triggers a reload
antonis 89e7f74
Merge pull request #16549 from wordpress-mobile/fix/16540-handle-vert…
ovitrif 9dbd048
Align collapsing titles on site creation screens to textStart
ovitrif eb9e6e2
Align header title & subtitle on site creation screens to textStart
ovitrif af3d168
Use site creation header v2 in site theme screen for consistency
ovitrif 925ee73
Merge branch 'trunk' into feature/site-design-revamp
mkevins 20383bf
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins 376303a
Fix detekt issues
mkevins f97da0a
Fix lint
mkevins d3af3a3
Rename appbar title id in site theme titlebar to avoid DuplicateInclu…
ovitrif f3c6c21
Remove unused dimension resource siq_title_padding_start
ovitrif 157d929
Remove redundant horizontal margins override in the site creation hea…
ovitrif 0147793
Merge pull request #16550 from wordpress-mobile/issue/16464-site-crea…
antonis fc56927
Merge branch 'feature/site-design-revamp' into issue/16551-align-site…
antonis c70fc58
Merge pull request #16556 from wordpress-mobile/issue/16551-align-sit…
antonis d11ba98
Merge branch 'trunk' into feature/site-design-revamp
mkevins 789d613
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins 01d5a85
Make some style adjustments
mkevins 3812665
Only show footer when list is populated
mkevins 1509790
Merge pull request #16555 from wordpress-mobile/feature/site-design-r…
ovitrif 3a7dd1a
Replace SiteCreationActivity dependency injection with Hilt
ovitrif 2bf8d9f
Inject SiteCreationVM with Hilt
ovitrif 600d725
Replace dagger with hilt for SiteCreationIntents fragment & viewModel
ovitrif c62b642
Replace dagger with hilt for SiteCreationSiteName fragment & viewModel
ovitrif 496bd2a
Fix SiteCreationMainVM injection with Hilt
ovitrif 0d6e4f8
Cleanup AppComponent
ovitrif f4810e0
Replace dagger with hilt for HomePagePicker fragment & viewModel
ovitrif 1d62470
Replace dagger with hilt for SiteCreationDomains fragment & viewModel
ovitrif 3e5e382
Replace dagger with hilt for SiteCreationPreview fragment & viewModel
ovitrif 9f72fff
Fix whitespace indentation in SiteCreationDomainsFragment
ovitrif aca0745
Remove unused import in SiteCreationPreviewFragment
ovitrif 2f24b9f
Merge pull request #16575 from wordpress-mobile/refactor/site-creatio…
antonis 48a6dfc
Merge branch 'trunk' into feature/site-design-revamp
antonis 2383dc9
Add temporary feature flag to facilitate testing
mkevins aa00844
Disable volley cache for MShots loader
mkevins 1ce7d7c
Add reminder note about nested recycler viewholder pool
mkevins 46cd6c0
Implement preloader function in main site creation view model
mkevins 04a4cdb
Invoke preloading at the start, and cancel before theme picker loads
mkevins 4ad7aff
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins 1faffab
Sets the loading skeleton to the size of the recommended row
antonis 290de92
Merge pull request #16597 from wordpress-mobile/task/site-design-reva…
ovitrif 283d30e
Sets the correct height in the Page Layout Picker
antonis ddca94e
Merge pull request #16599 from wordpress-mobile/fix/site-design-skele…
mkevins e48fbcd
Merge branch 'trunk' into feature/site-design-revamp
mkevins fe52805
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins fc4d3e0
Merge branch 'trunk' into feature/site-design-revamp
antonis 12f8f4c
Fixes Lint issue
antonis 5130cbd
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
antonis 86f014e
Updates view model test with the new parameters
antonis 28900f7
Merge branch 'feature/site-design-revamp--preload-mshots' of github.c…
mkevins ba5f8c1
Move preload cancellation inside when expression
mkevins 290593e
Set preloading null outside of network check
mkevins 1a67643
Revert "Add temporary feature flag to facilitate testing"
mkevins 0cfce3d
Revert "Disable volley cache for MShots loader"
mkevins 92ff57a
Merge branch 'trunk' into feature/site-design-revamp
mkevins e9b9a3d
Merge branch 'feature/site-design-revamp' into feature/site-design-re…
mkevins b2f99c7
Remove instantiation of nested recycledViewPools
mkevins 29c2398
Merge pull request #16584 from wordpress-mobile/feature/site-design-r…
mkevins f56b967
Merge branch 'trunk' into feature/site-design-revamp
ovitrif 34b10eb
Add divider on top of helper text of site theme screen
ovitrif a6df1ee
Increase padding of helper text to 16dp
ovitrif efb8acc
Increase font size of category title on site theme
ovitrif ebcd379
Fix increase padding of footer to 16dp
ovitrif 5351d73
Remove TODO comment from init of SiteCreationMainVM that is no longer…
ovitrif 0d522e6
Remove if condition for cancelling the preview preloading job
ovitrif cefc268
Add bool prop for useLargeCategoryHeading to keep LayoutCategoryAdapt…
ovitrif fed9a50
Move handling of row dividers to bind method block
ovitrif 6287565
Suppress LongParameterList check for LayoutsItemViewHolder ctor
ovitrif ff0aa69
Merge pull request #16619 from wordpress-mobile/feature/site-design-r…
antonis af325dd
Merge branch 'trunk' into feature/site-design-revamp
antonis 5794113
Uses the custom Glide loader for preloading the MShots
antonis 4e3f28a
Removes unused import
antonis 02805c6
Merge pull request #16624 from wordpress-mobile/task/preload-mshot
ovitrif 71a21ee
Merge branch 'trunk' into feature/site-design-revamp
antonis a89ba30
Merge branch 'trunk' into feature/site-design-revamp
mkevins ea6d246
Merge branch 'trunk' into feature/site-design-revamp
antonis b30c49c
Adds release notes
antonis de2dd95
Merge pull request #16667 from wordpress-mobile/task/site-design-reva…
antonis 9b818ae
Merge branch 'trunk' into feature/site-design-revamp
antonis 66b37eb
Adds margin between recommended design title and subtitle
antonis eb916f8
Aligns overlay and stroke visibility in design selection
antonis f6d7e87
Merge pull request #16692 from wordpress-mobile/task/site-design-reva…
twstokes 0abd1f3
Merge pull request #16693 from wordpress-mobile/task/site-design-reva…
twstokes f39946e
Save view model data in home page picker fragment on orientation changes
mkevins 591dddf
Remove writing theme picker vm to activity bundle
mkevins 2d3ab46
Merge pull request #16700 from wordpress-mobile/feature/site-design-r…
antonis d2ecdc4
Merge branch 'trunk' into feature/site-design-revamp
antonis 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
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
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.
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.