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

SY-1038 Import / Export Schematic Improvements #775

Merged

Conversation

pjdotson
Copy link
Contributor

Fix Pull Request Template

Key Information

Description

Various improvements to importing / exporting a schematic, including an export button on the visualization toolbar, fixed file drag-and-drop, and better error catching.

IMPORTANT NOTE: I added a name field to the schematic state that tracks the name of the schematic. However, migrations from previous versions will not migrate over the new names to the state, instead giving it the name "New Schematic" in the store state.

Basic Readiness Checklist

  • I have performed a self-review of my code.
  • I have added sufficient regression tests to cover the changes to CI.
  • I have added relevant tests to cover the changes or exposing bugs.
  • I have verified code coverage targets are met.

Additional Notes

  • These changes deal with concurrency.
  • These changes affect UI.

Manual QA Additions

  • I have updated the Release Candidate template
    with necessary manual QA steps to test my change.

Reviewer Checklist

  • Sufficient test coverage of new additions.
  • Verified all steps in readiness checklists.
  • UI changes have been tested.
  • style and formatting is consistent.
  • Reviewed any relevant changes to concurrent code for safety.
  • Sufficient comments and clarity of code.

@pjdotson pjdotson added pluto Pluto UI components related do not merge console labels Aug 17, 2024
@pjdotson pjdotson self-assigned this Aug 17, 2024
Copy link

vercel bot commented Aug 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 0:19am

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 47.40%. Comparing base (237e1b1) to head (2f3a8e8).
Report is 81 commits behind head on rc.

Files Patch % Lines
pluto/src/icon/Icon.tsx 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               rc     #775      +/-   ##
==========================================
+ Coverage   47.26%   47.40%   +0.13%     
==========================================
  Files        1075     1082       +7     
  Lines       64914    65835     +921     
  Branches     3441     3486      +45     
==========================================
+ Hits        30679    31206     +527     
- Misses      33229    33600     +371     
- Partials     1006     1029      +23     
Flag Coverage Δ
aspen 50.40% <ø> (+0.25%) ⬆️
cesium 75.50% <ø> (+0.13%) ⬆️
clientpy 81.97% <ø> (ø)
clientts 77.65% <ø> (-2.35%) ⬇️
pluto 35.68% <72.72%> (-0.33%) ⬇️
synnax 28.73% <ø> (+1.62%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

…8-meaningful-error-when-importing-an-existing-schematic
Copy link
Contributor

@emilbon99 emilbon99 left a comment

Choose a reason for hiding this comment

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

Approved once you address my final comment

pluto/src/icon/Icon.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@Lham42 Lham42 left a comment

Choose a reason for hiding this comment

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

approved once you address outstanding comments

console/src/schematic/services/ontology.tsx Outdated Show resolved Hide resolved
@pjdotson pjdotson merged commit fbc2a13 into rc Sep 2, 2024
34 checks passed
@pjdotson pjdotson deleted the sy-1038-meaningful-error-when-importing-an-existing-schematic branch September 2, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
console pluto Pluto UI components related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants