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

Refactor: Refactor Experiment to Block in backend (and partly in frontend) #1169

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

drikusroor
Copy link
Contributor

@drikusroor drikusroor commented Jul 3, 2024

This pull request includes refactoring the names of Experiment and GroupedExperiment to Block and GroupedBlock in the backend code. It also updates the frontend code to use the new names.

120 files changed... The backend tests & lints seem to succeed. Furthermore, I did some basic testing by going through my local Toontjehoger Experiment(Collection) and its Blocks (yes, Blocks) and found no problems. Perhaps it'd be a good idea if you did the same? Of course it's always a good idea to backup your local db just in case as the migrations are strong in this one.

Resolves #1147

@drikusroor drikusroor self-assigned this Jul 4, 2024
@drikusroor drikusroor force-pushed the refactor/1147-BE-rename-experiment-block branch from 0547bf0 to 8bcba05 Compare July 8, 2024 11:57
@drikusroor drikusroor force-pushed the refactor/1147-BE-rename-experiment-block branch from 8bcba05 to cd59cc0 Compare July 9, 2024 09:04
@drikusroor drikusroor force-pushed the refactor/1147-BE-rename-experiment-block branch from cd59cc0 to f82cd8b Compare July 9, 2024 09:24
@drikusroor drikusroor merged commit 09310e6 into develop Jul 9, 2024
12 checks passed
@drikusroor drikusroor deleted the refactor/1147-BE-rename-experiment-block branch July 9, 2024 11:33
@BeritJanssen
Copy link
Collaborator

So far, I haven't found anything broken after this major refactor. Nice work! I did click a bit through the admin interface and found the following leftover references to experiment instead of block (in the custom templates for the ExperimentCollection "dashboard" view, as well as the inline template for setting question series for a block):
Screenshot 2024-07-09 at 13 33 43
Screenshot 2024-07-09 at 13 34 21

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.

Backend: Rename Experiment to Block
2 participants