Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a76bd11
Added Bar Chart project
MarielaTihova Aug 6, 2025
af3df9e
Added Line Chart project
MarielaTihova Aug 6, 2025
ad7bf82
Added Step Chart project
MarielaTihova Aug 6, 2025
daa1fbd
Added Line CHart project
MarielaTihova Aug 6, 2025
aeff135
Added Bar CHart view
MarielaTihova Aug 6, 2025
d35cd2a
Added Column CHart view
MarielaTihova Aug 6, 2025
024ecee
Added Line CHart view
MarielaTihova Aug 6, 2025
d9b982a
Added Step Chart view
MarielaTihova Aug 6, 2025
501120e
Added Polar Chart project
MarielaTihova Aug 6, 2025
7a05244
Added Polar Chart view
MarielaTihova Aug 6, 2025
a8b7139
Added Pie Chart project
MarielaTihova Aug 7, 2025
adeca93
Added Pie Chart view
MarielaTihova Aug 7, 2025
5701621
Removing scroll bars in views
MarielaTihova Aug 7, 2025
0d6c130
Added routing for charts
MarielaTihova Aug 7, 2025
9e102c4
Default colors for charts
MarielaTihova Aug 7, 2025
1948ab8
Set up the correct themes + code cleanup
MarielaTihova Aug 7, 2025
d422590
Removed unnecessary plugins from vite configs
MarielaTihova Aug 7, 2025
fe10e41
Increase Node.js heap size to fix build memory issue
MarielaTihova Aug 7, 2025
ffc68be
Adding legends to charts
MarielaTihova Aug 11, 2025
e8f3a55
Changed chart themes, alignments of legends and opacity
MarielaTihova Aug 15, 2025
4dab67d
Separate charts in build (#34)
rstratkovinfrag Aug 19, 2025
3f15c06
Resolving comments for fonts and font-sizes
MarielaTihova Aug 20, 2025
8c6b390
Fixed empty grid template while loading data
MarielaTihova Sep 5, 2025
3c031f6
fix(*): adding min-width to grid containers to ensure render on mobile
ChronosSF Sep 10, 2025
2e8ca8d
Added downloadLinks for charts
MarielaTihova Sep 15, 2025
061019f
Merge pull request #33 from IgniteUI/mtihova/chart-demos
dkamburov Sep 16, 2025
e4e1eec
Merge pull request #41 from IgniteUI/sstoychev/min-width-grids
dkamburov Sep 16, 2025
ea6e995
Merge pull request #39 from IgniteUI/mtihova/fix-grid-empty-template
dkamburov Sep 18, 2025
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
96 changes: 61 additions & 35 deletions azure-pipelines/igniteui-wc-grid-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,41 +43,46 @@ stages:
inputs:
targetType: 'inline'
script: |
# Define the root path where projects are located
rootPath="$(Build.SourcesDirectory)/projects"

# Get all first-level subdirectories in the specified root path
subdirectories=$(find "$rootPath" -mindepth 1 -maxdepth 1 -type d)

for subdirectory in $subdirectories; do
# Extract the directory name from the path
dirName=$(basename "$subdirectory")

# Give each sample a version in its package.json file - for traceability
cd "$subdirectory"
echo "Calling npm version command"
npm version $(Build.BuildNumber) --no-git-tag-version

# Check if the directory name is already camel-case
if [[ "$dirName" =~ ^[A-Z]+[a-z]+([A-Z][a-z]*)*$ ]]; then
# If already camel-case, print it as is
echo "$dirName"
else
# Convert to camel-case (capitalize first letters and remove hyphens)
dirName=$(echo "$dirName" | sed -E 's/(^|-)([a-z])/\U\2/g')

fi

echo "Processing directory: $dirName"

# Define the name for the zip file
zipName="$(Build.ArtifactStagingDirectory)/IgniteUI_WebComponents_ApplicationSample_${dirName}_Source.zip"
echo "Creating ZIP: $zipName"

# Compress the directory into a ZIP file
(cd "$subdirectory" && zip -r "$zipName" .)
done

create_zips() {
local rootPath="$1"
if [ -d "$rootPath" ]; then
# Get all first-level subdirectories in the specified root path
subdirectories=$(find "$rootPath" -mindepth 1 -maxdepth 1 -type d)
for subdirectory in $subdirectories; do
# Extract the directory name from the path
dirName=$(basename "$subdirectory")

# Give each sample a version in its package.json file - for traceability
cd "$subdirectory"
echo "Setting project version in package.json to $(Build.BuildNumber) for $dirName"
npm version $(Build.BuildNumber) --no-git-tag-version

# Check if the directory name is already camel-case
if [[ "$dirName" =~ ^[A-Z]+[a-z]+([A-Z][a-z]*)*$ ]]; then
# If already camel-case, print it as is
echo "$dirName"
else
# Convert to camel-case (capitalize first letters and remove hyphens)
dirName=$(echo "$dirName" | sed -E 's/(^|-)([a-z])/\U\2/g')
fi

echo "Processing directory: $dirName"
# Define the name for the zip file
zipName="$(Build.ArtifactStagingDirectory)/IgniteUI_WebComponents_ApplicationSample_${dirName}_Source.zip"
echo "Creating ZIP: $zipName"

# Compress the directory into a ZIP file
(cd "$subdirectory" && zip -r "$zipName" .)
done
fi
}

# Pass 1: All first-level directories in projects/
create_zips "$(Build.SourcesDirectory)/projects"

# Pass 2: All first-level directories in projects/charts/
create_zips "$(Build.SourcesDirectory)/projects/charts"

echo "All sample projects have been compressed and saved to the artifacts directory."

- task: PublishPipelineArtifact@1
Expand Down Expand Up @@ -156,6 +161,27 @@ stages:
workingDir: '$(Build.SourcesDirectory)'
customCommand: 'install --legacy-peer-deps'

- task: PowerShell@2
displayName: 'Replace references to IG trial packages with licensed ones in TSX files'
inputs:
failOnStderr: true
showWarnings: true
workingDirectory: '$(Build.SourcesDirectory)'
targetType: 'inline'
script: |
Get-ChildItem -Include "*.tsx","*.ts" -Recurse | ForEach {
Write-Host "Processing file: $($_.FullName)"
$content = Get-Content $_.FullName
$updatedContent = $content | ForEach-Object {
$_ -replace '(from|import)\s?[''"](igniteui-webcomponents-[^''"]+|dockmanager.*)[''"]', '$1 "@infragistics/$2"'
}

if ($updatedContent -ne $content) {
Write-Host "Replacements applied in: $($_.FullName)"
$updatedContent | Set-Content $_.FullName
}
}

- task: Npm@1
displayName: 'npm run build:ci'
inputs:
Expand Down
Loading
Loading