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

Rename ExampleWorkspace to ResourceWorkspace #272

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Nov 13, 2023

  • Rename the model class itself
  • Update names of forms, tables, etc. where appropriate, as well as the adapter
  • Add a migration to change the workspace_type from "example" to "resource"

Rename the ExampleWorkspace model to ResourceWorkspace. Update the
names of the forms, tests, etc. Do not change the name of the
adapter yet.
Add migration to update workspace_type for Example/Resource
workspaces. Add tests for the migration. Update other tests that
were using the example workspace workspace_type string (e.g.,
template workspaces).
Finally, change the name of the adapter to ResourceWorkpsaceAdapter,
removing the last traces of ExampleWorkspaces.
@amstilp amstilp marked this pull request as ready for review November 13, 2023 23:28
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (22eb033) 98.25% compared to head (06c370b) 98.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   98.25%   98.26%   +0.01%     
==========================================
  Files         228      231       +3     
  Lines       17654    17770     +116     
==========================================
+ Hits        17346    17462     +116     
  Misses        308      308              

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

@amstilp amstilp merged commit 8a4eb4b into main Nov 13, 2023
7 checks passed
@amstilp amstilp deleted the feature/rename-example-to-resource-workspaces branch November 13, 2023 23:48
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.

1 participant