Skip to content

Commit

Permalink
Merge branch 'hotfix/tchap_v2.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
appndigital committed Feb 10, 2023
2 parents a8e86eb + e452acc commit 7881313
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 5 deletions.
10 changes: 10 additions & 0 deletions TCHAP_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Changes in Tchap 2.6.1 (2023-02-10)
===================================

Other changes
-------------
- Remove welcome slide related to spaces ([#821](https://github.com/tchapgouv/tchap-android-v2/issues/821))
- Remove the ability to install an app from Tchap ([#832](https://github.com/tchapgouv/tchap-android-v2/issues/832))
- [Dark modes] Fix contrast of blue color ([#838](https://github.com/tchapgouv/tchap-android-v2/issues/838))


Changes in Tchap 2.6.0 (2023-01-24)
===================================

Expand Down
3 changes: 3 additions & 0 deletions library/ui-styles/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
<!-- Used for item separators in list, on surface -->
<attr name="vctr_list_separator_on_surface" format="color" />

<!-- Tchap : Used for filter menu -->
<attr name="tchap_filter_menu" format="color" />

<!-- Background color used for:
- unread badge background for a room item in the room list
- start unread indicator for a room item in the room list
Expand Down
3 changes: 2 additions & 1 deletion library/ui-styles/src/main/res/values/palette.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
<color name="palette_tchap_pumpkin_orange">#EF8425</color>
<color name="palette_tchap_jade_green">#2CCE70</color>
<color name="palette_tchap_greyish_brown">#4F4F4F</color>
<color name="palette_tchap_dark_blue">#3377FF</color>

</resources>
</resources>
1 change: 1 addition & 0 deletions library/ui-styles/src/main/res/values/styles_tablayout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<style name="ThemeOverlay.Vector.HomeFilterTabLayout" parent="Theme.Vector.Launcher">
<item name="colorSurface">?vctr_toolbar_background</item>
<item name="colorPrimary">?tchap_filter_menu</item>
<item name="colorOnSurface">?vctr_content_secondary</item>
</style>

Expand Down
1 change: 1 addition & 0 deletions library/ui-styles/src/main/res/values/theme_black.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<item name="vctr_markdown_block_background_color">#FF4D4D4D</item>
<item name="vctr_toolbar_background">@color/element_background_black</item>
<item name="tchap_bottom_navigation_background">@color/element_background_black</item>
<item name="tchap_filter_menu">@color/palette_tchap_dark_blue</item>

<!-- Material color -->
<item name="colorSurface">@android:color/black</item>
Expand Down
1 change: 1 addition & 0 deletions library/ui-styles/src/main/res/values/theme_dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<item name="vctr_message_bubble_outbound">@color/vctr_message_bubble_outbound_dark</item>
<item name="vctr_badge_color_border">@color/vctr_badge_color_border_dark</item>
<item name="tchap_bottom_navigation_background">@color/element_system_dark</item>
<item name="tchap_filter_menu">@color/palette_tchap_dark_blue</item>

<!-- room message colors -->
<item name="vctr_notice_secondary">#61708B</item>
Expand Down
1 change: 1 addition & 0 deletions library/ui-styles/src/main/res/values/theme_light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<item name="vctr_message_bubble_outbound">@color/vctr_message_bubble_outbound_light</item>
<item name="vctr_badge_color_border">@color/vctr_badge_color_border_light</item>
<item name="tchap_bottom_navigation_background">@color/element_background_light</item>
<item name="tchap_filter_menu">@color/palette_tchap_official_blue</item>

<!-- room message colors -->
<item name="vctr_notice_secondary">#61708B</item>
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "2.6.0"
version = "2.6.1"
directory = "changelog.d"
filename = "TCHAP_CHANGES.md"
name = "Changes in Tchap"
Expand Down
2 changes: 1 addition & 1 deletion vector-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ext.versionMinor = 6
// Note: even values are reserved for regular release, odd values for hotfix release.
// When creating a hotfix, you should decrease the value, since the current value
// is the value for the next regular release.
ext.versionPatch = 0
ext.versionPatch = 1

static def getGitTimestamp() {
def cmd = 'git show -s --format=%ct'
Expand Down
2 changes: 2 additions & 0 deletions vector/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

<!-- To be able to install APK from the application -->
<!-- Tchap: Remove the ability to install an app from Tchap (https://github.com/tchapgouv/tchap-android/issues/832)
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
-->

<!-- Location Sharing -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,12 @@ class ReleaseNotesFragment : VectorBaseFragment<BottomSheetReleaseNotesBinding>(
R.string.onboarding_new_app_layout_welcome_message,
R.drawable.ill_app_layout_onboarding_rooms
),
ReleaseCarouselData.Item(
// Tchap : No space function
/* ReleaseCarouselData.Item(
R.string.onboarding_new_app_layout_spaces_title,
R.string.onboarding_new_app_layout_spaces_message,
R.drawable.ill_app_layout_onboarding_spaces
),
), */
ReleaseCarouselData.Item(
R.string.onboarding_new_app_layout_feedback_title,
R.string.onboarding_new_app_layout_feedback_message,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7881313

Please sign in to comment.