Skip to content
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

Enables New App Layout in Labs #7166

Merged
merged 4 commits into from
Sep 19, 2022

Conversation

ericdecanini
Copy link
Contributor

@ericdecanini ericdecanini commented Sep 17, 2022

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Enables New App Layout in Labs (set default to true)

Motivation and context

Closes #7165

Screenshots / GIFs

Tests

Test this branch from having the labs flag disabled or clear your data and start the app from a fresh install. See that new app layout is enabled by default

Tested devices

  • Physical
  • Emulator
  • OS version(s): Android 13

Checklist

@ericdecanini ericdecanini added the PR-Small PR with less than 20 updated lines label Sep 17, 2022
@ericdecanini ericdecanini marked this pull request as ready for review September 17, 2022 17:18
@@ -38,7 +38,7 @@

<!-- Level 1: Labs -->
<bool name="settings_labs_thread_messages_default">false</bool>
<bool name="settings_labs_new_app_layout_default">false</bool>
<bool name="settings_labs_new_app_layout_default">true</bool>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is fine, but I do not think it will have an effect if the preference is already stored in the XML file of the user (I guess after the screen Labs settings has been displayed for the first time). Anyway I guess this is acceptable. Just to share this warning in case people do not understand why AppLayout is not enabled by default on their phone.

Copy link
Contributor

@fedrunov fedrunov Sep 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't work only for people who changed value manually, means enabled AppLayout and then disabled it. For those who didn't change from default value it will work (tested)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, I was not sure. Then this is really fine!

@fedrunov fedrunov added the Z-NextRelease For issues and PRs which should be included in the NextRelease. label Sep 19, 2022
@@ -50,7 +50,7 @@ import im.vector.app.withIdlingResource
import timber.log.Timber

class ElementRobot(
private val labsPreferences: LabFeaturesPreferences = LabFeaturesPreferences(false)
private val labsPreferences: LabFeaturesPreferences = LabFeaturesPreferences(true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I would also have forget to update this (2 sources of truth...). Thanks!

@sonarcloud
Copy link

sonarcloud bot commented Sep 19, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ericdecanini ericdecanini merged commit 7d2cbf5 into develop Sep 19, 2022
@ericdecanini ericdecanini deleted the feature/eric/enable-app-layout-labs branch September 19, 2022 17:35
@SuperSandro2000
Copy link

The new layout is not ready yet and currently just an oversimplified and incomplete version of the old. I tried it in the last releases and immediately switched back because I couldn't switch spaces anymore or find my group chats which where being mixed into one list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Small PR with less than 20 updated lines Z-NextRelease For issues and PRs which should be included in the NextRelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App Layout: Enable in Labs
4 participants