From 16c06166ba60abf9a74b5efa9967fd6c3563c8fe Mon Sep 17 00:00:00 2001 From: Joyeeta Date: Fri, 8 Nov 2024 10:59:17 +0530 Subject: [PATCH 1/3] release 0.3.2 --- FluentUI.Demo/build.gradle | 4 +- .../src/main/assets/dogfood-release-notes.txt | 34 ++++++------- config.gradle | 48 +++++++++---------- ...i-office-build-universal-publish-1espt.yml | 2 +- 4 files changed, 42 insertions(+), 46 deletions(-) diff --git a/FluentUI.Demo/build.gradle b/FluentUI.Demo/build.gradle index efac90573..bf668cf2b 100644 --- a/FluentUI.Demo/build.gradle +++ b/FluentUI.Demo/build.gradle @@ -13,8 +13,8 @@ android { applicationId 'com.microsoft.fluentuidemo' minSdkVersion 21 targetSdkVersion 34 - versionCode 2001 - versionName '0.3.1' + versionCode 2002 + versionName '0.3.2' testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } kotlinOptions { diff --git a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt index 8e8020269..0bcb7823f 100644 --- a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt +++ b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt @@ -1,29 +1,25 @@ -Release Version 0.3.1: +Release Version 0.3.2: What's new Fluent v1: Fix/enhancement - 1. Theming fixes for calendar view - 2. Update with correct event on snackbar action dismiss - 3. Added custom accessory view property to BottomSheetItem class - 4. Fixed issue related to multiple substitutions specified in non-positional format of string resource `position_string` - 5. Accessibility: Fixed talkback incorrectly pronouncing 'Persistent Bottomsheets' - 6. Fixed issue with DrawerDialogs not anchored to the bottom when display Cutout Support is enabled - 7. Fixed issue with Icons not properly visible in PersistentBottomSheet by adding color tint in HorizontalListAdapter + 1. People picker a11y fixes in demo app Fluent v2: Fix/enhancement - 1. Migration from Swipeable to Anchored Draggable & other refactor for Drawer and Bottom Drawer - 2. Profile pic fixes for Avatar - 3. Allowing text style configuration for tab bar items - 4. Added ability to initialize bottom drawers with initial state - 5. Fixed loss of activity UI state on recomposition for Drawers - 6. Fixed drawers disappearing on recomposition - 7. Added new dependency in fluentui_core -> compose foundation version 1.6.0 - 8. Tab bar indicator now supports custom colors and gradients - 9. Icons in Tab bar can now use gradients instead of single colors + 1. Avatar pie component addition to Avatar group + 2. Added Support for Center aligned navigation bar title with leading left Avatar icon button + 3. Fixed Top Drawer ANR issue + 4. Fixed issue with Bottom drawer not opening consistently + 5. Alignment issue in list content builder fixed + 6. Fixed issue with Bottom Drawer shifting upwards and going out of screen with IME open + 7. Added ability to modify indicator color in tab item. + 8. Added ability to use gradients in tab bar icons + 9. Scrim functionality fixes & demo activity enhancements for bottom sheet + 10. Added ability for performing action after dismiss and prevent dismissal on scrim click + 11. Grouped list item added in demo app + 12. Radio group buttons added in demo app -Note: Fluent version 0.1.x (from 0.1.48) supports compose version 0.1.43 (BOM 2023.06.01). Fluent versions 0.2.x will support compose version 1.5.1 (BOM 2023.09.00). - Fluent version 0.3.x will support compose foundation version 1.6.0. \ No newline at end of file +Note: Fluent versions 0.2.x will support compose version 1.5.1 (BOM 2023.09.00). Fluent version 0.3.x will support compose foundation version 1.6.0. \ No newline at end of file diff --git a/config.gradle b/config.gradle index 0ebec7295..d5a760381 100644 --- a/config.gradle +++ b/config.gradle @@ -13,38 +13,38 @@ */ project.ext.fluentui_calendar_versionid = '0.3.1' project.ext.fluentui_controls_versionid = '0.3.1' -project.ext.fluentui_core_versionid = '0.3.1' -project.ext.fluentui_listitem_versionid = '0.3.1' -project.ext.fluentui_tablayout_versionid = '0.3.1' -project.ext.fluentui_drawer_versionid = '0.3.1' -project.ext.fluentui_ccb_versionid = '0.3.1' +project.ext.fluentui_core_versionid = '0.3.2' +project.ext.fluentui_listitem_versionid = '0.3.2' +project.ext.fluentui_tablayout_versionid = '0.3.2' +project.ext.fluentui_drawer_versionid = '0.3.2' +project.ext.fluentui_ccb_versionid = '0.3.2' project.ext.fluentui_others_versionid = '0.3.1' -project.ext.fluentui_transients_versionid = '0.3.1' -project.ext.fluentui_topappbars_versionid = '0.3.1' -project.ext.fluentui_menus_versionid = '0.3.1' -project.ext.fluentui_peoplepicker_versionid = '0.3.1' -project.ext.fluentui_persona_versionid = '0.3.1' -project.ext.fluentui_progress_versionid = '0.3.1' +project.ext.fluentui_transients_versionid = '0.3.2' +project.ext.fluentui_topappbars_versionid = '0.3.2' +project.ext.fluentui_menus_versionid = '0.3.2' +project.ext.fluentui_peoplepicker_versionid = '0.3.2' +project.ext.fluentui_persona_versionid = '0.3.2' +project.ext.fluentui_progress_versionid = '0.3.2' project.ext.fluentui_icons_versionid = '0.3.1' project.ext.fluentui_notification_versionid = '0.3.1' -project.ext.FluentUI_versionid = '0.3.1' +project.ext.FluentUI_versionid = '0.3.2' project.ext.fluentui_calendar_version_code = 2001 project.ext.fluentui_controls_version_code = 2001 -project.ext.fluentui_core_version_code = 2001 -project.ext.fluentui_listitem_version_code = 2001 -project.ext.fluentui_tablayout_version_code = 2001 -project.ext.fluentui_drawer_version_code = 2001 -project.ext.fluentui_ccb_version_code = 2001 +project.ext.fluentui_core_version_code = 2002 +project.ext.fluentui_listitem_version_code = 2002 +project.ext.fluentui_tablayout_version_code = 2002 +project.ext.fluentui_drawer_version_code = 2002 +project.ext.fluentui_ccb_version_code = 2002 project.ext.fluentui_others_version_code = 2001 -project.ext.fluentui_transients_version_code = 2001 -project.ext.fluentui_topappbars_version_code = 2001 -project.ext.fluentui_menus_version_code = 2001 -project.ext.fluentui_peoplepicker_version_code = 2001 -project.ext.fluentui_persona_version_code = 2001 -project.ext.fluentui_progress_version_code = 2001 +project.ext.fluentui_transients_version_code = 2002 +project.ext.fluentui_topappbars_version_code = 2002 +project.ext.fluentui_menus_version_code = 2002 +project.ext.fluentui_peoplepicker_version_code = 2002 +project.ext.fluentui_persona_version_code = 2002 +project.ext.fluentui_progress_version_code = 2002 project.ext.fluentui_icons_version_code = 2001 project.ext.fluentui_notification_version_code = 2001 -project.ext.FluentUI_version_code = 2001 +project.ext.FluentUI_version_code = 2002 project.ext.license_type = 'MIT License' project.ext.license_url = 'https://github.com/microsoft/fluentui-android/blob/master/LICENSE' project.ext.github_url = 'https://github.com/microsoft/fluentui-android' diff --git a/fluentui-office-build-universal-publish-1espt.yml b/fluentui-office-build-universal-publish-1espt.yml index 46d3ac53c..f08b8f592 100644 --- a/fluentui-office-build-universal-publish-1espt.yml +++ b/fluentui-office-build-universal-publish-1espt.yml @@ -62,6 +62,6 @@ extends: vstsFeedPublish: 'Office' vstsFeedPackagePublish: 'fluentuiandroid' versionOption: 'custom' - versionPublish: '0.3.1' + versionPublish: '0.3.2' packagePublishDescription: 'Fluent Universal Package' publishedPackageVar: 'fluent package' \ No newline at end of file From c2ddfb72730be2be11a947f83cd2e073113d28d3 Mon Sep 17 00:00:00 2001 From: Joyeeta Date: Fri, 8 Nov 2024 11:07:28 +0530 Subject: [PATCH 2/3] update notes --- .../src/main/assets/dogfood-release-notes.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt index 0bcb7823f..d7aa2328d 100644 --- a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt +++ b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt @@ -15,11 +15,11 @@ Fix/enhancement 5. Alignment issue in list content builder fixed 6. Fixed issue with Bottom Drawer shifting upwards and going out of screen with IME open 7. Added ability to modify indicator color in tab item. - 8. Added ability to use gradients in tab bar icons - 9. Scrim functionality fixes & demo activity enhancements for bottom sheet - 10. Added ability for performing action after dismiss and prevent dismissal on scrim click - 11. Grouped list item added in demo app - 12. Radio group buttons added in demo app + 8. Added ability to use gradients for tab bar icons + 9. Scrim functionality fixes & other enhancements for bottom sheet + 10. Added ability to perform action after dismiss and prevent dismissal on scrim click for bottom sheet + 11. Grouped list item added + 12. Radio group buttons added Note: Fluent versions 0.2.x will support compose version 1.5.1 (BOM 2023.09.00). Fluent version 0.3.x will support compose foundation version 1.6.0. \ No newline at end of file From d8220181f3de6b33fb62cb195e5b7105628b65a5 Mon Sep 17 00:00:00 2001 From: Joyeeta Date: Fri, 8 Nov 2024 15:58:16 +0530 Subject: [PATCH 3/3] add modified badges --- .../src/main/assets/dogfood-release-notes.txt | 2 +- .../java/com/microsoft/fluentuidemo/Demos.kt | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt index d7aa2328d..0fe2ada53 100644 --- a/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt +++ b/FluentUI.Demo/src/main/assets/dogfood-release-notes.txt @@ -9,7 +9,7 @@ Fluent v2: Fix/enhancement 1. Avatar pie component addition to Avatar group - 2. Added Support for Center aligned navigation bar title with leading left Avatar icon button + 2. Added Support for Center aligned App bar title with leading left Avatar icon button 3. Fixed Top Drawer ANR issue 4. Fixed issue with Bottom drawer not opening consistently 5. Alignment issue in list content builder fixed diff --git a/FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/Demos.kt b/FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/Demos.kt index fc2695227..f9df775d5 100644 --- a/FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/Demos.kt +++ b/FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/Demos.kt @@ -146,7 +146,7 @@ val V1DEMO = arrayListOf( Demo(DATE_TIME_PICKER, DateTimePickerActivity::class), Demo(DRAWER, DrawerActivity::class), Demo(LIST_ITEM_VIEW, ListItemViewActivity::class), - Demo(PEOPLE_PICKER_VIEW, PeoplePickerViewActivity::class), + Demo(PEOPLE_PICKER_VIEW, PeoplePickerViewActivity::class, Badge.Modified), Demo(PERSISTENT_BOTTOM_SHEET, PersistentBottomSheetActivity::class), Demo(PERSONA_CHIP_VIEW, PersonaChipViewActivity::class), Demo(PERSONA_LIST_VIEW, PersonaListViewActivity::class), @@ -161,25 +161,25 @@ val V1DEMO = arrayListOf( ) val V2DEMO = arrayListOf( - Demo(V2APP_BAR_LAYOUT, V2AppBarActivity::class), + Demo(V2APP_BAR_LAYOUT, V2AppBarActivity::class, Badge.Modified), Demo(V2AVATAR, V2AvatarActivity::class), Demo(V2AVATAR_CAROUSEL, V2AvatarCarouselActivity::class), - Demo(V2AVATAR_GROUP, V2AvatarGroupActivity::class), + Demo(V2AVATAR_GROUP, V2AvatarGroupActivity::class, Badge.Modified), Demo(V2BADGE, V2BadgeActivity::class), Demo(V2BANNER, V2BannerActivity::class), Demo(V2BASIC_CHIP, V2BasicChipActivity::class), Demo(V2BASIC_CONTROLS, V2BasicControlsActivity::class), Demo(V2BOTTOM_DRAWER, V2BottomDrawerActivity::class), - Demo(V2BOTTOM_SHEET, V2BottomSheetActivity::class), - Demo(V2BUTTON, V2ButtonsActivity::class), + Demo(V2BOTTOM_SHEET, V2BottomSheetActivity::class, Badge.Modified), + Demo(V2BUTTON, V2ButtonsActivity::class, Badge.Modified), Demo(V2CARD, V2CardActivity::class), Demo(V2CARD_NUDGE, V2CardNudgeActivity::class), Demo(V2CITATION, V2CitationActivity::class), Demo(V2CONTEXTUAL_COMMAND_BAR, V2ContextualCommandBarActivity::class), Demo(V2DIALOG, V2DialogActivity::class), - Demo(V2DRAWER, V2DrawerActivity::class), - Demo(V2LABEL, V2LabelActivity::class, Badge.Modified), - Demo(V2LIST_ITEM, V2ListItemActivity::class), + Demo(V2DRAWER, V2DrawerActivity::class, Badge.Modified), + Demo(V2LABEL, V2LabelActivity::class), + Demo(V2LIST_ITEM, V2ListItemActivity::class, Badge.Modified), Demo(V2MENU, V2MenuActivity::class), Demo(V2PEOPLE_PICKER, V2PeoplePickerActivity::class), Demo(V2PERSONA, V2PersonaActivity::class), @@ -192,7 +192,7 @@ val V2DEMO = arrayListOf( Demo(V2SHIMMER, V2ShimmerActivity::class), Demo(V2SIDE_RAIL, V2SideRailActivity::class), Demo(V2SNACKBAR, V2SnackbarActivity::class), - Demo(V2TAB_BAR, V2TabBarActivity::class), + Demo(V2TAB_BAR, V2TabBarActivity::class, Badge.Modified), Demo(V2TEXT_FIELD, V2TextFieldActivity::class), Demo(V2TOOL_TIP, V2ToolTipActivity::class), )