Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
a178c64
Bump webpack from 5.91.0 to 5.94.0
dependabot[bot] Aug 31, 2024
d0c1cfa
Data view building based on index
sakari-malkki Jul 26, 2024
dca1d31
Remove old implementation
sakari-malkki Jul 29, 2024
70419f7
Add tests
sakari-malkki Jul 29, 2024
d78ce11
Handles all multiselectable variables in one series, additional test …
sakari-malkki Jul 29, 2024
c81b705
Add explicit typing to tests, simplify expect statements
sakari-malkki Jul 29, 2024
46127aa
Simplify buildSeries function
sakari-malkki Jul 29, 2024
4a4de8e
Further readability improvement
sakari-malkki Jul 29, 2024
f7caf44
Remove obsolete functions
sakari-malkki Jul 29, 2024
9b8d2e3
Support for marking row and column variable values as selectable
sakari-malkki Jul 30, 2024
8c7b1c5
Fix inconsistency with table test fixture selectable selections
sakari-malkki Jul 30, 2024
3236c00
Only iterate selectable variable values if they are not included with…
sakari-malkki Jul 30, 2024
3f270c0
Refactor index calculation to be agnostic of variable groups
sakari-malkki Jul 31, 2024
716cee7
Cleanup
sakari-malkki Aug 1, 2024
4db1d02
Handle time and content variable values in data indexer
sakari-malkki Aug 1, 2024
ca3b600
Build viewseries groups before startign the indexing process
sakari-malkki Aug 2, 2024
ac81385
Additional test to ensure that same data is received if variables are…
sakari-malkki Aug 2, 2024
e0827df
Additional tests for shuffling variable and value orders around, shor…
sakari-malkki Aug 2, 2024
1d52f4d
Remove sorting from test results
sakari-malkki Sep 10, 2024
71c6091
Additional test for name groups and more robust testing for data series
sakari-malkki Sep 10, 2024
6c98300
Rebase to dev and bump version number
sakari-malkki Sep 11, 2024
891a655
Fixes selectable variable detection and improves coverage for selecta…
sakari-malkki Sep 12, 2024
605782d
Remove unnecessary wrapper function rename target map more descriptiv…
sakari-malkki Sep 12, 2024
bd252a3
Merge pull request #43 from StatisticsFinland/feature/index-based-dat…
jsaarimaa Sep 12, 2024
32f3def
Merge pull request #49 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Sep 17, 2024
0ce05ea
Bump serve-static and express
dependabot[bot] Sep 17, 2024
62a1348
Bump body-parser and express
dependabot[bot] Sep 17, 2024
8565eeb
Merge pull request #51 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Sep 17, 2024
0b485f6
Merge pull request #52 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Sep 17, 2024
2d105a9
Escapes characters that breaks xlsx syntax when exporting
sakari-malkki Sep 17, 2024
e9c8df7
Adds single value multi selectable variable value code to the row nam…
sakari-malkki Sep 19, 2024
12e9ac8
Remove test logging
sakari-malkki Sep 19, 2024
dded35f
Optimize by reducing the amount of replace call to one
sakari-malkki Sep 20, 2024
d8472ae
Exclude dependabot from sonar scan job
sakari-malkki Sep 20, 2024
06c71c4
Merge pull request #54 from StatisticsFinland/bugfix/escape-special-x…
sakari-malkki Sep 20, 2024
c3a52dd
Generate view rows based on index
sakari-malkki Sep 20, 2024
d9bb70a
Fixes
sakari-malkki Sep 20, 2024
32d1208
Fix memory heap fail issue
sakari-malkki Sep 23, 2024
621889c
Fix merge conflicts
sakari-malkki Sep 24, 2024
fa63b64
Fixes for name group building and more robust testing
sakari-malkki Sep 24, 2024
e3fd85a
Cleanup
sakari-malkki Sep 24, 2024
a81beb6
Cleaner test expectation fixtures
sakari-malkki Sep 24, 2024
0ef7367
Bump version number
sakari-malkki Sep 24, 2024
6f53d57
Cleanup redundant functionality and improve test coverage
sakari-malkki Sep 24, 2024
ae55788
Remove redundant error handling
sakari-malkki Sep 24, 2024
96054db
Support for multi selectable variables with defined direction
sakari-malkki Sep 25, 2024
3546558
Exclude running version checker script step in dependabot pr's
sakari-malkki Sep 25, 2024
506dcc4
Dependabot version increment workflow for testing
sakari-malkki Sep 25, 2024
f7d1581
job name, syntax error and run-name fixes
sakari-malkki Sep 25, 2024
0c8f970
Give the job content write permission
sakari-malkki Sep 25, 2024
1a2b458
Merge 0c8f970fa4b321e8a0c56abf04bacfdca7ddf128 into 06c71c47ce045438d…
sakari-malkki Sep 25, 2024
9b24109
Version bump from 1.0.7 to 1.0.8
github-actions[bot] Sep 25, 2024
ead518b
Run workflow only if the branch is made by dependabot
sakari-malkki Sep 25, 2024
145610d
Remove comment
sakari-malkki Sep 25, 2024
6eabf60
Fix equal operator
sakari-malkki Sep 25, 2024
6ca5d8d
Merge pull request #58 from StatisticsFinland/bugfix/exclude-dependab…
sakari-malkki Sep 27, 2024
f48b57e
Fix conditional if version number is already up to date, test
sakari-malkki Sep 27, 2024
5083bfd
Debug steps
sakari-malkki Sep 27, 2024
3ee677f
More debugging
sakari-malkki Sep 27, 2024
822c88f
Checkout back to original branch after checking main package version
sakari-malkki Sep 27, 2024
616d29c
Pull the pr branch and print package.json contents
sakari-malkki Sep 27, 2024
624997b
Check pr version number before main
sakari-malkki Sep 27, 2024
9cdb2b9
Remove debug and testing stuff
sakari-malkki Sep 27, 2024
c9846ca
Remove echo comment
sakari-malkki Sep 27, 2024
20cf981
Merge pull request #60 from StatisticsFinland/bugfix/dependabot-job-fix
sakari-malkki Sep 27, 2024
8e4d348
Bump rollup from 2.79.1 to 2.79.2
dependabot[bot] Sep 27, 2024
f622141
Merge pull request #59 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Sep 27, 2024
d29fed4
Add auto rotation if ordinal x axis labels do not otherwise fit
sakari-malkki Oct 3, 2024
bed014f
Storybook fixture to cover aforementioned scenario
sakari-malkki Oct 3, 2024
1c4c213
Handle non-numeric ordinal values as nominal
sakari-malkki Oct 3, 2024
038c6ce
Cleanup
sakari-malkki Oct 4, 2024
93e2ea3
Renamed series builder and more intuitive test data generation
sakari-malkki Oct 7, 2024
59d1961
Mark bunch of series builder fields readonly
sakari-malkki Oct 7, 2024
9e540dc
Handle non numeric ordinal labels as ordinals
sakari-malkki Oct 8, 2024
5a8a52d
Storybook fixture for non-numeric ordinal
sakari-malkki Oct 8, 2024
02c0cd8
Fixes building name groups with multiselectable variables
sakari-malkki Oct 9, 2024
cc372a6
Start variable indexing from 0 in test data generator
sakari-malkki Oct 9, 2024
ef8aa26
Fix cases where multiselectable variable is on rows or columns
sakari-malkki Oct 9, 2024
8532b2a
Clean up tests
sakari-malkki Oct 9, 2024
fc55d1c
Tests for when single value variable is added to rows and columns
sakari-malkki Oct 9, 2024
93c475a
Fix test description
sakari-malkki Oct 9, 2024
61716c5
Fixes reordering variables within rows or columns affecting name groups
sakari-malkki Oct 9, 2024
be1d91a
Merge pull request #55 from StatisticsFinland/bugfix/single-value-mul…
sakari-malkki Oct 9, 2024
9d6fae1
Use locale and set of accepted numeric characters to define whether o…
sakari-malkki Oct 14, 2024
5b4a74d
More robust tests for different ordinal label cases
sakari-malkki Oct 14, 2024
bdfccb7
Test every instead of negative some
sakari-malkki Oct 14, 2024
94066b7
Fixes numeric condition
sakari-malkki Oct 14, 2024
cd426d4
Bump markdown-to-jsx, @storybook/addon-essentials and @storybook/blocks
dependabot[bot] Oct 15, 2024
dd34428
Bump cookie and express
dependabot[bot] Oct 19, 2024
ce5946c
Export type definitions in package.json
sakari-malkki Nov 22, 2024
a9291f6
Merge pull request #62 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Nov 22, 2024
818728d
Merge pull request #63 from StatisticsFinland/dependabot/npm_and_yarn…
sakari-malkki Nov 22, 2024
0a3d95e
Simplified implementation
sakari-malkki Nov 25, 2024
db62b10
Converts default exports to named exports
sakari-malkki Nov 25, 2024
8a4301e
Fix tests broken by previous changes
sakari-malkki Nov 26, 2024
c8ae120
Merge pull request #65 from StatisticsFinland/bugfix/export-type-defi…
sakari-malkki Nov 29, 2024
ef7989d
Uses data precision for xlsx exports and in chart datalabels and too…
sakari-malkki Oct 23, 2024
0a0561e
Cleanup and improved test coverage
sakari-malkki Oct 23, 2024
37c840f
Format percentages in tooltips using locale
sakari-malkki Oct 23, 2024
4f565e7
Resolve merge conflicts
sakari-malkki Dec 2, 2024
9547405
Merge pull request #64 from StatisticsFinland/feature/data-precision-…
sakari-malkki Dec 2, 2024
539f5ed
Uses data label formatter for precision
sakari-malkki Dec 2, 2024
5d2418e
Use show instead of checkout for main branch version check
sakari-malkki Dec 3, 2024
16ae2ff
Merge 5d2418eee82f2a6f1beacb1bc5127a8cb1213728 into 9547405ca49ffafdb…
sakari-malkki Dec 3, 2024
feb6c3c
Version bump from 1.0.8 to 1.0.9
github-actions[bot] Dec 3, 2024
9bd0891
Test with a change made in package.json
sakari-malkki Dec 3, 2024
1b52683
Merge 9bd089135e340f7c8105d53cdcb1b38b72dca52f into 9547405ca49ffafdb…
sakari-malkki Dec 3, 2024
3e354ba
Version bump from 1.0.8 to 1.0.9
github-actions[bot] Dec 3, 2024
8dec41a
Revert test changes
sakari-malkki Dec 3, 2024
a2b6335
Merge pull request #69 from StatisticsFinland/bugfix/depedabot-versio…
jsaarimaa Dec 17, 2024
1f05141
Merge pull request #66 from StatisticsFinland/bugfix/data-label-preci…
sakari-malkki Dec 17, 2024
7fde46f
Replaces regex numeric check with isNaN and number parse
sakari-malkki Dec 18, 2024
be8ff44
Removes unused translations import from timeIntervals
sakari-malkki Dec 18, 2024
8429c7d
Version bump
sakari-malkki Dec 18, 2024
ad78506
Merge pull request #61 from StatisticsFinland/feature/auto-rotation-f…
jsaarimaa Dec 19, 2024
4126600
default export set to last to support microbundle
sakari-malkki Dec 31, 2024
c051f00
Merge pull request #70 from StatisticsFinland/bugfix/export-order-fix
sakari-malkki Dec 31, 2024
43a5ff0
Fixes relative chart precision and adds tests
sakari-malkki Jan 30, 2025
c2857d4
Merge pull request #74 from StatisticsFinland/bugfix/fix-relative-cha…
sakari-malkki Jan 30, 2025
9dc65f2
Resolved merge conflicts between dev and test.
jsaarimaa Feb 3, 2025
cf7bce1
Updated minor version
jsaarimaa Feb 3, 2025
723e43a
Merge pull request #77 from StatisticsFinland/merge/1-0-9-hotfix-chan…
jsaarimaa Feb 3, 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
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:

- name: Validate version bump
run: npm run version-helper validate
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && ${{ github.actor != 'dependabot[bot]' }}
1 change: 1 addition & 0 deletions .github/workflows/SonarScan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
sonar:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest

steps:
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/dependabot_version_increment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: dependabot Version Increment

run-name: ${{ format('dependabot Version Increment for PR {0}', github.event.pull_request.number) }}

on:
pull_request:
branches:
- 'dev'

jobs:
dependabot_version_increment:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install jq
run: sudo apt-get install -y jq

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '21.x'

- name: Get version number from PR branch
run: |
PR_VERSION=$(jq -r '.version' package.json)
echo "PR_VERSION=$PR_VERSION" >> $GITHUB_ENV
echo "Version in PR branch is $PR_VERSION"

- name: Compare and increment version number
run: |
CURRENT_VERSION=$(git show origin/main:package.json | jq -r '.version')
echo "Comparing versions: $CURRENT_VERSION and $PR_VERSION"
if [ "$CURRENT_VERSION" = "$PR_VERSION" ]; then
npm version patch --no-git-tag-version
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add package.json
git commit -m "Version bump from $PR_VERSION to $(jq -r '.version' package.json)"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
else
echo "Version number in PR branch is already up-to-date. No action taken."
fi
Loading
Loading