-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/derived problems #59
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
Merged
Merged
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fc79f61
Add Icon Button Component
XanderVertegaal c7d3134
Add copy button
XanderVertegaal c55719c
Avoid unnecessary requests
XanderVertegaal 5440a8a
Compare route params
XanderVertegaal d42d1e2
Add base field to form
XanderVertegaal 7b4796f
Add base field to Problem
XanderVertegaal e7da8fc
Use Problem.field in problem views
XanderVertegaal 07297b3
Use update_or_create for sentences
XanderVertegaal aadfd32
Use base field in frontend
XanderVertegaal 60a2e5a
Simplify Annotate component template
XanderVertegaal bcb27e9
Keep queryParams after form update
XanderVertegaal a68c25a
Fix failing tests
XanderVertegaal 1e089b0
Merge branch 'feature/user-problems' into feature/derived-problems
XanderVertegaal 658a1fe
Add base field to serializer
XanderVertegaal 8c23335
Add Replace ViewMode with AppMode in ProblemDetailsComponent
XanderVertegaal d0e0d34
Remove unused import
XanderVertegaal c06aa05
Merge branch 'feature/user-problems' into feature/derived-problems
XanderVertegaal 7897f67
Merge branch 'feature/user-problems' into feature/derived-problems
XanderVertegaal 0428b12
Outfactor util
XanderVertegaal 5006b4c
Set base in serializer
XanderVertegaal 873b040
Reinstate IconButton for non-navigational buttons
XanderVertegaal b4ec78d
Remove unused imports
XanderVertegaal bea3b3e
Silence Python type warning
XanderVertegaal 2ef9935
Return base correctly
XanderVertegaal f43bd3f
Avoid duplicate results upon filtering
XanderVertegaal 7188e7f
Outfactor general utility function
XanderVertegaal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Generated by Django 4.2.20 on 2025-09-22 11:47 | ||
|
|
||
| from django.db import migrations, models | ||
| import django.db.models.deletion | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("problem", "0004_sentence_remove_problem_premises_knowledgebase_and_more"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="problem", | ||
| name="base", | ||
| field=models.ForeignKey( | ||
| blank=True, | ||
| help_text="The base problem from which this problem was derived, if any.", | ||
| null=True, | ||
| on_delete=django.db.models.deletion.SET_NULL, | ||
| related_name="derived_problems", | ||
| to="problem.problem", | ||
| ), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| from typing import Optional | ||
| from dataclasses import dataclass | ||
|
|
||
| from django.http import QueryDict | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.