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

Create GCContentTrack type #4288

Merged
merged 3 commits into from
Mar 25, 2024
Merged

Create GCContentTrack type #4288

merged 3 commits into from
Mar 25, 2024

Conversation

cmdcolin
Copy link
Collaborator

this incorporates the "GC content display" but is a separate track type

it requires cloning the display type since a display can only be registered to one track type at a time

@@ -49,11 +49,13 @@ const ErrorMessage = ({
onReset?: () => void
}) => {
const str = `${error}`
const str2 = str.indexOf('expected an instance of')
const str3 = str2 !== -1 ? str.slice(0, str2) : str
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this change significantly shortens error messages

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

Attention: Patch coverage is 74.19355% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 62.64%. Comparing base (81e4528) to head (8437a87).
Report is 1 commits behind head on main.

Files Patch % Lines
packages/core/ReExports/modules.tsx 0.00% 6 Missing ⚠️
...ore/pluggableElementTypes/models/BaseTrackModel.ts 0.00% 1 Missing ⚠️
...ugins/gccontent/src/GCContentTrack/configSchema.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4288      +/-   ##
==========================================
+ Coverage   62.60%   62.64%   +0.03%     
==========================================
  Files        1088     1092       +4     
  Lines       31496    31498       +2     
  Branches     7528     7527       -1     
==========================================
+ Hits        19719    19732      +13     
+ Misses      11602    11593       -9     
+ Partials      175      173       -2     

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

@cmdcolin cmdcolin changed the title Create GCContent track type Create GCContentTrack type Mar 14, 2024
@cmdcolin
Copy link
Collaborator Author

additional tooling could allow a user to auto-create this track from the 'add-assembly' cli or from gui potentially. but, might be ok for now

@cmdcolin cmdcolin merged commit 7e236c0 into main Mar 25, 2024
10 checks passed
@cmdcolin cmdcolin deleted the gccontenttrack branch March 25, 2024 20:36
@cmdcolin cmdcolin added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant