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

Fixes 262 Merging changes from beta to main branch #352

Merged
merged 76 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
0cc2fae
Calendar Test Added - gitignore updated
Ramakrishnan24689 Sep 1, 2022
47ecf04
Removed Shimmer Coverage/ Updated Test Snaps
Ramakrishnan24689 Sep 1, 2022
31579c1
Udpated Test for Progress Indicator
Ramakrishnan24689 Sep 1, 2022
25c14e9
fix:(Calendar) test failing due to dependency on today's date (#30)
scottdurow Sep 15, 2022
b23adee
fix: (pivot) width in custom pages (#33)
scottdurow Sep 17, 2022
7f427b4
fix: auto-height in custom pages (#32)
scottdurow Sep 28, 2022
2b5d72f
Facepile component added (#35)
Ramakrishnan24689 Sep 30, 2022
79e6702
Update Facepile.1033.resx
Ramakrishnan24689 Sep 30, 2022
38e8d97
Facepile propertyname changed (#48)
Ramakrishnan24689 Oct 31, 2022
1be5051
Features/people picker (#46)
Ramakrishnan24689 Oct 31, 2022
9a4da45
Searchbox (#49)
Ramakrishnan24689 Oct 31, 2022
5befbd6
October release Prep
Ramakrishnan24689 Oct 31, 2022
387fe36
test: test modified
Ramakrishnan24689 Oct 31, 2022
503fd0f
(People Picker) Deterministic Suggestions Resolution (#51)
scottdurow Nov 1, 2022
2d49adf
Searchbox - fix : custom page width (#52)
Ramakrishnan24689 Nov 1, 2022
0a1bfd4
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Nov 1, 2022
f4304f8
October release doc updates
Ramakrishnan24689 Nov 1, 2022
7e726ac
Merge branch 'beta' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Nov 1, 2022
ceb4cc9
refactor: modified create-release-added npm ci
Ramakrishnan24689 Nov 1, 2022
51269f8
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Nov 1, 2022
e4329be
Update Facepile.resx remove additional tags
Ramakrishnan24689 Nov 1, 2022
521d3e7
Searchbox (#56)
Ramakrishnan24689 Nov 2, 2022
c758cd3
Creatorkit mehdis persona (#47)
slaouist Nov 2, 2022
95c2999
Feature/searchbox#82 (#131)
Ramakrishnan24689 Dec 2, 2022
149875e
Feature/tooltip (#132)
Ramakrishnan24689 Dec 2, 2022
651ecbb
feat:SubwayNav component added (#133)
Ramakrishnan24689 Dec 2, 2022
5a650b5
feat:spinbutton (#134)
Ramakrishnan24689 Dec 2, 2022
2d5c548
merge from main
Ramakrishnan24689 Dec 2, 2022
40df5cc
included Spinbtn directory
Ramakrishnan24689 Dec 2, 2022
72e1d14
included Spinbtn directory
Ramakrishnan24689 Dec 2, 2022
25abc2a
removing code
Ramakrishnan24689 Dec 2, 2022
f312610
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Dec 2, 2022
2df0e66
duplicate directory mention
Ramakrishnan24689 Dec 2, 2022
4425f88
adding subwaynav versioning stamp
Ramakrishnan24689 Dec 2, 2022
51260d6
fix:custom page width issue (#145)
Ramakrishnan24689 Dec 2, 2022
16ea0ef
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Apr 12, 2023
184868b
feat:subwaynav showanimation property (#225)
Ramakrishnan24689 Apr 12, 2023
a0ef8cd
fixes microsoft/powercat-creator-kit#285 (#226)
Ramakrishnan24689 Apr 12, 2023
a0e4737
fixes microsoft/powercat-creator-kit#316 (#228)
Ramakrishnan24689 Apr 12, 2023
6fa6977
feat: searchbox-defaultvalue-set-option (#230)
Ramakrishnan24689 Apr 13, 2023
90cea63
fixes calendar language support (#231)
Ramakrishnan24689 Apr 13, 2023
4cb967f
fixes searchtext bound property (#234)
Ramakrishnan24689 Apr 17, 2023
f1bcfb7
pull main changes
Ramakrishnan24689 Apr 18, 2023
0af5be6
feat: searchbox bordercolor property (#235)
Ramakrishnan24689 Apr 18, 2023
b54ebe8
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Jun 12, 2023
cf93a6b
fix microsoft/powercat-creator-kit#352
Ramakrishnan24689 Jul 10, 2023
4602577
updated test and linting
Ramakrishnan24689 Jul 10, 2023
071ed04
Masked text field (#315)
denise-msft Jul 24, 2023
3dd7741
Masked text field (#316)
Ramakrishnan24689 Jul 24, 2023
9306d19
fixes microsoft/powercat-creator-kit#354 (#317)
Ramakrishnan24689 Jul 24, 2023
74899de
renaming masktextfield project file
Ramakrishnan24689 Jul 24, 2023
5a4fda7
Merge branch 'beta' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Jul 24, 2023
6b9d1cb
downgrading node version to 16x
Ramakrishnan24689 Jul 24, 2023
3a44d97
downgrading node version to 16x for masktextfield
Ramakrishnan24689 Jul 24, 2023
c20c6f2
Merge branch 'main' of https://github.com/microsoft/powercat-code-com…
Ramakrishnan24689 Jul 24, 2023
2e93a71
package version changes
Ramakrishnan24689 Jul 24, 2023
b1e3694
exclusing maskedtextfield component
Ramakrishnan24689 Jul 25, 2023
f8b49e4
modifying minor version (#321)
Ramakrishnan24689 Jul 25, 2023
80c3224
Fix/detailslist (#323)
Ramakrishnan24689 Jul 31, 2023
eca35de
fix: microsoft/powercat-creator-kit#176 (#324)
Ramakrishnan24689 Aug 1, 2023
3f0c290
fix microsoft/powercat-creator-kit#310 (#325)
Ramakrishnan24689 Aug 4, 2023
3eb4050
Beta (#340)
Ramakrishnan24689 May 21, 2024
e48a0b0
chore: sync main - beta branch
Ramakrishnan24689 May 21, 2024
7444516
chore: sync main - beta branch
Ramakrishnan24689 May 21, 2024
d43f955
chore: remove theme generator from pr_validate_all
Ramakrishnan24689 May 21, 2024
69ba6a9
fix: update subwaynav test mock context
Ramakrishnan24689 May 21, 2024
e726c5c
fix: update chart test snapshots
Ramakrishnan24689 May 21, 2024
e78b6df
fix: maskedtextfield & guagechart build
Ramakrishnan24689 May 22, 2024
03d08bf
fix: commit changes
Ramakrishnan24689 May 22, 2024
9f61fa1
fix: gauge lint
Ramakrishnan24689 May 22, 2024
6c88514
chore: add github token explicit permission in yaml
Ramakrishnan24689 May 22, 2024
64d655f
fix: property of maskedtextfield
Ramakrishnan24689 May 22, 2024
24d1d79
Updated setSelectedRecords method to get the record id and Set the Ev…
Sep 10, 2024
47e56ed
Fixed review comments
Sep 24, 2024
36f939d
Fixed review comments
Sep 25, 2024
ab8be85
Merge pull request #351 from microsoft/fix/DetailsListEventRowKey262
MaheshSripada Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Create Release
on:
workflow_dispatch:

permissions:
contents: write
issues: write
pull-requests: write
deployments: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
11 changes: 10 additions & 1 deletion DetailsList/DetailsList/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,16 @@ export class FluentDetailsList implements ComponentFramework.ReactControl<IInput
if (raiseOnRowsSelectionChangeEvent && raiseOnRowsSelectionChangeEvent.raw === true) {
// When the row selection changes, raise an event
this.eventName = OutputEvents.OnRowSelectionChange;
this.eventRowKey = ids && ids.length > 0 ? ids[0] : null;
// Set the eventRowKey using the RecordKey of the first selected record
const firstSelectedId = ids.length > 0 ? ids[0] : null;
if (firstSelectedId) {
const firstRecord = this.records[firstSelectedId];
if (firstRecord) {
this.eventRowKey = firstRecord.getValue(RecordsColumns.RecordKey)?.toString() || firstSelectedId;
}
} else {
this.eventRowKey = null;
}
this.notifyOutputChanged();
}
};
Expand Down
2 changes: 1 addition & 1 deletion GaugeChart/GaugeChart/components/DatasetMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function getChartDataFromDataset(
}
const keyIndex: Record<string, number> = {};
if (customColor) {
return dataset.sortedRecordIds.map((id, index) => {
return dataset.sortedRecordIds.map((id) => {
const record = dataset.records[id];

// Prevent duplicate keys by appending the duplicate index
Expand Down
20 changes: 10 additions & 10 deletions MaskedTextField/MaskedTextField/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="PowerCAT" constructor="MaskedTextField" version="0.0.1" display-name-key="MaskedTextField" description-key="MaskedTextField_Desc" control-type="virtual">
<property name="Value" display-name-key="Value" description-key="CustomizableTextField_Value_Description" of-type="SingleLine.Text" usage="bound" required="true" />
<property name="Prefix" display-name-key="Prefix" description-key="Prefix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="Suffix" display-name-key="Suffix" description-key="Suffix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="ErrorMessage" display-name-key="ErrorMessage" description-key="ErrorMessage_Desc" of-type="SingleLine.Text" usage="input" required="false" />
<property name="MaskFormat" display-name-key="MaskFormat" description-key="MaskFormat_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="[\d\w!#$%'()*+,\-./:;<=>?@_'{}~\t]" />
<property name="Mask" display-name-key="Mask" description-key="Mask_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="***********************************" />
<property name="DelayOutput" display-name-key="DelayOutput" of-type="TwoOptions" usage="input" required="false" />
<property name="Theme" display-name-key="Theme" of-type="Multiple" usage="input" required="false" />
<property name="AccessibilityLabel" display-name-key="AccessibilityLabel" of-type="SingleLine.Text" usage="input" required="false" />
<property name="InputEvent" display-name-key="InputEvent" of-type="SingleLine.Text" usage="input" required="false"/>
<property name="Value" display-name-key="MaskedTextField_Value" of-type="SingleLine.Text" usage="bound" required="true" />
<property name="Prefix" display-name-key="MaskedTextField_Prefix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="Suffix" display-name-key="MaskedTextField_Suffix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="ErrorMessage" display-name-key="MaskedTextField_ErrorMessage" of-type="SingleLine.Text" usage="input" required="false" />
<property name="MaskFormat" display-name-key="MaskedTextField_MaskFormat" description-key="MaskFormat_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="[\d\w!#$%'()*+,\-./:;&lt;=&gt;?@_'{}~\t]" />
<property name="Mask" display-name-key="MaskedTextField_Mask" of-type="SingleLine.Text" usage="input" required="false" default-value="***********************************" />
<property name="DelayOutput" display-name-key="MaskedTextField_DelayOutput" of-type="TwoOptions" usage="input" required="false" />
<property name="Theme" display-name-key="MaskedTextField_Theme" of-type="Multiple" usage="input" required="false" />
<property name="AccessibilityLabel" display-name-key="MaskedTextField_AccessibilityLabel" of-type="SingleLine.Text" usage="input" required="false" />
<property name="InputEvent" display-name-key="MaskedTextField_InputEvent" of-type="SingleLine.Text" usage="input" required="false"/>
<common-event name="OnChange" />
<feature-usage>
<!-- No common events (OnChange, OnSelect, etc.) are shown unless explicitly declared in the manifest -->
Expand Down
199 changes: 105 additions & 94 deletions MaskedTextField/MaskedTextField/strings/MaskedTextField.1033.resx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
<!--
Microsoft ResX Schema

Version 2.0
Expand Down Expand Up @@ -59,99 +59,110 @@
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="MaskedTextField" xml:space="preserve">
<value>Fluent Masked TextField (%VERSION%) Preview</value>
</data>
<data name="MaskedTextField_Desc" xml:space="preserve">
<value>A component to format or control text provided as input</value>
</data>
<data name="AccessibilityLabel" xml:space="preserve">
<value>Accessibility label</value>
<comment/>
</data>
<data name="DelayOutput" xml:space="preserve">
<value>Delay Output</value>
</data>
<data name="Value" xml:space="preserve">
<value>Value</value>
</data>
<data name="Prefix" xml:space="preserve">
<value>Prefix</value>
</data>
<data name="Suffix" xml:space="preserve">
<value>Suffix</value>
</data>
<data name="ErrorMessage" xml:space="preserve">
<value>Error Message</value>
</data>
<data name="MaskFormat" xml:space="preserve">
<value>Mask Format</value>
</data>
<data name="Mask" xml:space="preserve">
<value>Mask</value>
</data>
<data name="Theme" xml:space="preserve">
<value>Theme</value>
</data>
<data name="InputEvent" xml:space="preserve">
<value>Input Event</value>
</data>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="MaskedTextField" xml:space="preserve">
<value>Fluent Masked TextField (%VERSION%) Preview</value>
<comment/>
</data>
<data name="MaskedTextField_Desc" xml:space="preserve">
<value>A component to format or control text provided as input</value>
<comment/>
</data>
<data name="MaskedTextField_AccessibilityLabel" xml:space="preserve">
<value>Accessibility label</value>
<comment/>
</data>
<data name="MaskedTextField_DelayOutput" xml:space="preserve">
<value>Delay Output</value>
<comment/>
</data>
<data name="MaskedTextField_Value" xml:space="preserve">
<value>Value</value>
<comment/>
</data>
<data name="MaskedTextField_Prefix" xml:space="preserve">
<value>Prefix</value>
<comment/>
</data>
<data name="MaskedTextField_Suffix" xml:space="preserve">
<value>Suffix</value>
<comment/>
</data>
<data name="MaskedTextField_ErrorMessage" xml:space="preserve">
<value>Error Message</value>
<comment/>
</data>
<data name="MaskedTextField_MaskFormat" xml:space="preserve">
<value>Mask Format</value>
<comment/>
</data>
<data name="MaskedTextField_Mask" xml:space="preserve">
<value>Mask</value>
<comment/>
</data>
<data name="MaskedTextField_Theme" xml:space="preserve">
<value>Theme</value>
<comment/>
</data>
<data name="MaskedTextField_InputEvent" xml:space="preserve">
<value>Input Event</value>
<comment/>
</data>
</root>
Loading
Loading