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

feat(shared-dimension): contributors #1556

Merged
merged 4 commits into from
Nov 6, 2024
Merged

feat(shared-dimension): contributors #1556

merged 4 commits into from
Nov 6, 2024

Conversation

tpluscode
Copy link
Collaborator

No description provided.

Copy link

changeset-bot bot commented Nov 5, 2024

🦋 Changeset detected

Latest commit: fd6bba2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@cube-creator/shared-dimensions-api Patch
@cube-creator/core-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tpluscode tpluscode requested a review from giacomociti November 5, 2024 09:55
@@ -263,7 +263,7 @@ md:SharedDimension
code:implementedBy
[
a code:EcmaScript ;
code:link <file:handlers/resource#put> ;
code:link <file:handlers/shared-dimension#put> ;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised to discover that the shared dimensions and hierarchies were both handled by the "resource" handler which was in fact specific to shared dimensions. I moved that to its own module and simplified the generic one

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 58.22785% with 33 lines in your changes missing coverage. Please review.

Project coverage is 74.01%. Comparing base (e6a43dc) to head (fd6bba2).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...shared-dimensions/lib/handlers/shared-dimension.ts 0.00% 23 Missing ⚠️
apis/core/lib/auth.ts 0.00% 5 Missing ⚠️
apis/shared-dimensions/lib/handlers/resource.ts 0.00% 4 Missing ⚠️
...hared-dimensions/lib/handlers/shared-dimensions.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1556      +/-   ##
==========================================
+ Coverage   73.99%   74.01%   +0.02%     
==========================================
  Files         222      222              
  Lines       15093    15149      +56     
  Branches      891      895       +4     
==========================================
+ Hits        11168    11213      +45     
- Misses       3917     3928      +11     
  Partials        8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@giacomociti giacomociti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just wonder if the list of contributors can be shown with a consistent sorting (alphabetical, temporal). Apparently it's quite random

@tpluscode
Copy link
Collaborator Author

tpluscode commented Nov 6, 2024

Interesting question. Shaperone uses sh:order to sort the properties but I IIRC there is no inherent order applied to the values themselves. Since the contributors are blank nodes, there isn't any default ordering either.

SHACL-AF has an ordering node expression but it's not exactly applicable here

@tpluscode tpluscode merged commit f0f22a9 into master Nov 6, 2024
22 of 23 checks passed
@tpluscode tpluscode deleted the dim-contributor branch November 6, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants