From bf12df099c789b8976a34e0b512684fb15da1909 Mon Sep 17 00:00:00 2001 From: shivaniramakrishnan14 Date: Mon, 5 Sep 2022 14:49:18 +0530 Subject: [PATCH 1/3] XAMARIN-43840 : Adding Images --- Images/Chip1.png | Bin 0 -> 6568 bytes Images/Chip2.png | Bin 0 -> 6456 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 Images/Chip1.png create mode 100644 Images/Chip2.png diff --git a/Images/Chip1.png b/Images/Chip1.png new file mode 100644 index 0000000000000000000000000000000000000000..a639932bdbd2538dfbf29373fbf5f63fc26e0c1d GIT binary patch literal 6568 zcmeHMeN@ufy2feJzRj9CWvMweIg@>vAC-z!YUXHuWm+PbW0MM^DWW1OotaY0j44Mg zOUcaqL{dW(6sBRy%#=(N1(i%i1(6T|1(A!+J@?FXXJ*}V*IhH~u66!k!TxRbyWjo3 z&-?7XpWjt450}*|3|9aEfYq)ioO}QPolF2=$+~5_+9x^7ZbxdrbdWwS#{gCBTgSDH zk3)~1JPH6*<5tcEFV(h}Up#RZ2>@*TY~iEh>a*iL0I(V8>U7jM0V?W8PkgPIYnE7& z9~}q7%0*8C+)4<9lVM#O;m%(zH~8$>oaxQB1t0x+%Zqq|9Bq#@0PNg? z7-(z&e|)KBm8Z_X8d4ih9Rj@IdZx#r!OIKQEbW*6)!F(h5c0vCTW)~nXZmv?acAQV z0P?8V_QRu#Xc_!s5zepfX|asd0{I^y=WFqOrxUR4Lc)sQLADJgNtL~b7F+&U5ycsB zJK{-r=cC1tm;6?N^w5i{??t^?tzwa{80S;)L-L>W@EdF( z)n>R?o8b@qxS=ii3!eY9^lQKP_FB4;|IB^W9aRwO&v_4NzOm>EqPM1aAtSHC|3ohQ zU;)2&_=Ck9^GYDQ(DNX*w=ECc_im#|mbMY|DBd2RkZmKBEk#ZpmxiORc0@VK;Qz^$o7+FMh@)!Tpir#kq00N`Hl>n*gS| zW%%QGD~`j$wD#Psx^HsUsnlXDU9g8)3|m?CuKIJkxQVd&xls@q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Xxn=2QN$Z876!j~$S+bJQigGWwIspzgi3cS-BMz<0_IyOM?IPi zU>Ub2YV@jvuScb^ZBvKo%9uBsmbX~U(nA0wa&O=9vrg8u`HbEE_Kk=_@@&+(y~OC+6OZAj9rS_^O3+9!VQ z+35`%I`4<{LIKH<{TxVMrgGMi0@T-iU~y5FXpr1yz1!dMT&=_A^7%sH{ui?MIEdq} z+JcNS)B7vND-Y_fvlj0c2EWb=BsRa_&0<1WEf4i9JI?6AlA4&+AWbu=8qK zfcM_yfDF?zIx+PS|1cVC-so(!+iS3V&$PoDGY{Ww!g(>A5!`5c;PQLp>rNs0r5lpe zMecUr`!c*UY<0>D_*6e*$3&k7iKsf=Rb{wBIOG7y%p;cZ4vY6p2XwHLK_ag+$yoKh zv#*}sj6ObN>l@02Cd;}+;HmGola5sqUYZ&;o$}20W`z#)MZ)lOY!~=}30b`T~M-(U4YlODlD1tDM zO_G259LEbUc$D9}R(reD)z$ecm9>B6X7`8JzJGWASz_qFQ}!3B(El$3-!t~j%DrP7 zb`^_He2?cJ7=10FK)X;{X5v literal 0 HcmV?d00001 diff --git a/Images/Chip2.png b/Images/Chip2.png new file mode 100644 index 0000000000000000000000000000000000000000..c7ec5e26ff1fa9fc06948edd0709be775e45ac9d GIT binary patch literal 6456 zcmeHM`CF3N`=({anoJufHPdvmOeafIO9w=m)G~9S$=p(LMW)?|ZKEp7)&Vxt`~~@8`a*bMKOe z^WN_ceg^`9_PShfx(ots%LIXTXzltI_#!#ixeXY$p)Wf-fa=(KB4Dx;b=LhX2-Ha2 zvmWvdFyDRSf*%?L(lXk5wz*tBIu8OJcB@_H7z>1`N+`&x*X^KRPxRlE0zk^JdUfs#dY`e^^Vi z_HavZ;1N`16>i37dB|tT*#kPcWTgTcewA;<{@Kw4G(5C>f&pqc@(}cw#&@9OUx%+L z_=Y2p8g%>rkuev*qqN0Ov99l`GKI#_!Zz~xeiQq z*y!>_Rc*$~s|?cs!FNog8M;_tsNL4PqPYl;7xpGaO0?S4m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=zMcDHtfAD{GyH+u;|gr2T{((-QKfTiO;+p!Ec(&*~Hr%R4^j-F&? zZF=0oxuLC>srAR6*El6(&ns_L>!tTA4%yP4zo$|^&@xjcEVzmF%NSEqufa!c`urcO z;KhE6yfwhlPrOxLO)#m9-`0*n98X{%vu#mFTEmV5R#q5J6&cycJX>C(J6~GoB#<87 zjXGL$J?tihTY+}eD&RTr=z&ppjN||lnR~+(56NdF6w3=D4@b_hehiZV2Nu_kH7irCj^G53{OMAh1KQ5-m zbie2B^XZ<`TxPGn(;dPkV`*GA;JGk9$48LrM^bLKvEiHZR6~}xPYYeEO|OTL7TO*# zY^L4py3>dDh;_-oE{7C(^dxqCQ{q`v3p{ literal 0 HcmV?d00001 From d71a5603ce1cf75106f00be4b64ce103b1b75a45 Mon Sep 17 00:00:00 2001 From: shivaniramakrishnan14 Date: Mon, 5 Sep 2022 14:49:48 +0530 Subject: [PATCH 2/3] XAMARIN-43840 : Changes in readme.md --- readme.md | 106 +++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 62 deletions(-) diff --git a/readme.md b/readme.md index 418e1f0..567f79d 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# How-do-I-remove-the-indicator-icon-from-the-Xamarin.Forms-Chip +# How To Remove The Indicator Icon From The Xamarin.Forms SfChip This example demonstrates how to hide the check icon while selecting the chip in Filter ChipGroup @@ -8,73 +8,55 @@ To hide the selected chip selection indicator icon was achieved by adding the Sf In addition, we have to set the Transparent color to the BackgroundColor and BorderColor of the Chip in the ItemTemplate. It will take the BackgroundColor from the [SelectedChipBackgroundColor](https://help.syncfusion.com/xamarin/chips/customization#selectedchipbackgroundcolor) and [ChipBackgroundColor](https://help.syncfusion.com/xamarin/chips/customization#chipbackgroundcolor) properties of ChipGroup. TextColor of the chips has been updated based on the [IsChecked](https://help.syncfusion.com/cr/xamarin/Syncfusion.Buttons.XForms~Syncfusion.XForms.Buttons.SfButton~IsChecked.html) value with [ChipTextColor](https://help.syncfusion.com/xamarin/chips/customization#chiptextcolor) and [SelectedChipTextColor](https://help.syncfusion.com/xamarin/chips/customization#selectedchiptextcolor) properties as per the following code example. -**XAML:** - -``` - -… - - - - - - - - - - - - - -… - -``` - -**C#:** - -``` - -private void SessionListFilterOptions_SelectionChanged(object sender, Syncfusion.Buttons.XForms.SfChip.SelectionChangedEventArgs e) - { - if (e.AddedItem != null) - { - (e.AddedItem as Language).IsChecked = true; - } +## Syncfusion Controls - if (e.RemovedItem != null) - { - (e.RemovedItem as Language).IsChecked = false; - } - } +This project uses the following Syncfusion controls: + +* [SfChip](https://www.syncfusion.com/xamarin-ui-controls/xamarin-chips) - To show the sfchip and sfchipgroup. + +## Screenshots + + +## Supported platforms + +| Platforms | Supported versions | +| --------- | ------------------ | +| Android | API level 19 and later versions | +| iOS | iOS 9.0 and later versions | + +Refer to the following link for more details: +[System Requirements](https://help.syncfusion.com/xamarin/installation-and-upgrade/system-requirements) +## Requirements to run the sample -``` +* [Visual Studio 2017](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/) +* Xamarin add-ons for Visual Studio (available in Visual Studio installer) -See Also: +## How to run the sample + +1. Clone the sample and open it in Visual Studio. + + *Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.* + +2. Register your license key in the App.cs file as demonstrated in the following code. + + public App() + { + //Register Syncfusion license + Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); + + InitializeComponent(); + + MainPage = new NavigationPage(new MainPage()); + } -[What are the types available in ChipGroup?](https://help.syncfusion.com/xamarin/chips/types) +Refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/license-key#xamarinforms) for more details. -[What are the customizations available in ChipGroup?](https://help.syncfusion.com/xamarin/chips/customization) +3. Set any one of the platform specific projects (iOS, Android or UWP) as a start-up project. +4. Clean and build the application. +5. Run the application. -[How to notify selection changes in ChipGroup?](https://help.syncfusion.com/xamarin/chips/events#selectionchanged-event) +## License -Also refer our [feature tour](https://www.syncfusion.com/xamarin-ui-controls/xamarin-chips) page to know more features available in our chips. +Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples. -## Troubleshooting ## -### Path too long exception -If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project. From 85970169441853f2b330ad5d5ba741c44a139a2a Mon Sep 17 00:00:00 2001 From: SyncfusionBuild <89958145+SyncfusionBuild@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:20:25 +0530 Subject: [PATCH 3/3] Gitleaks action file added --- .github/workflows/gitleaks.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/gitleaks.yaml diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..48a24dd --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,38 @@ +name: Secret Value found! +on: + push: + public: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install the gitleaks + run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz + shell: pwsh + - name: Extract the tar file + run: tar xzvf gitleaks_8.15.2_linux_x64.tar.gz + - name: Generate the report + id: gitleaks + run: $GITHUB_WORKSPACE/gitleaks detect -s $GITHUB_WORKSPACE -f json -r $GITHUB_WORKSPACE/leaksreport.json + shell: bash + continue-on-error: true + - name: Setup NuGet.exe + if: steps.gitleaks.outcome != 'success' + uses: nuget/setup-nuget@v1 + with: + nuget-version: latest + - name: Install the dotnet + if: steps.gitleaks.outcome != 'success' + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '3.1.x' + - name: Install the report tool packages + if: steps.gitleaks.outcome != 'success' + run: | + nuget install "Syncfusion.Email" -source "https://nexus.syncfusion.com/repository/nuget-hosted/" + dir $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1 + dotnet $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1/Email.dll "citeam@syncfusion.com" "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" + exit 1