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

Add multi-card primary descriptor #1368 #1452

Merged
merged 27 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6ceef83
Fix typo in TimeSpan of Part Removal Event card
jacobtylerwalls Nov 20, 2023
11ec6a0
Retire the default primary descriptor #1368
jacobtylerwalls Nov 20, 2023
366ebe3
Implement frontend component
jacobtylerwalls Nov 21, 2023
de7ac54
Node names -> node aliases in string templates
jacobtylerwalls Nov 21, 2023
3124e29
Python backend for resource descriptor just fetches db value
jacobtylerwalls Nov 21, 2023
e08b19d
Add FUNCTION_LOCATIONS to test settings
jacobtylerwalls Nov 28, 2023
885e7df
Populate select with nodes from template value
jacobtylerwalls Nov 21, 2023
144ca60
Add django-pgtrigger
jacobtylerwalls Nov 21, 2023
1a88efb
Implement trigger
jacobtylerwalls Nov 28, 2023
87484d3
Add trigger for FunctionXGraph
jacobtylerwalls Nov 28, 2023
7ec9d60
Add migration
jacobtylerwalls Nov 28, 2023
366f5a0
Remove contenttypes dependency from second migration
jacobtylerwalls Nov 28, 2023
ee07138
Fix trimming issue and save to name field
jacobtylerwalls Nov 29, 2023
033511a
[cosmetic] Avoid string replacement, break function into chunks
jacobtylerwalls Nov 29, 2023
13f025d
Handle missing string values with ' -- '
jacobtylerwalls Dec 1, 2023
e5a0576
Handle a completely static descriptor template
jacobtylerwalls Dec 1, 2023
1c91bf6
Removes deferral so trigger is fired before instance is indexed
chiatt Dec 1, 2023
25a36e5
Use `<select>` tag
jacobtylerwalls Dec 4, 2023
583ef44
Instruct to extend `FUNCTION_LOCATIONS`
jacobtylerwalls Dec 4, 2023
e4a4caf
Add missing migration re #1368
jacobtylerwalls Dec 4, 2023
36e5911
Consolidate to one migration for triggers
jacobtylerwalls Dec 4, 2023
a56915f
Two more `<input>` -> `<select>`
jacobtylerwalls Dec 4, 2023
6745159
Flatten data array re #1368
jacobtylerwalls Dec 4, 2023
bb5661f
Sort cards by name re #1368
jacobtylerwalls Dec 4, 2023
55b766b
create -> update_or_create
jacobtylerwalls Dec 12, 2023
9fd24fa
Add FunctionXGraph related changes to migration re #1368
jacobtylerwalls Dec 12, 2023
2175749
nit re #1368
jacobtylerwalls Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class Migration(migrations.Migration):
operation="INSERT OR UPDATE OR DELETE",
pgid="pgtrigger_calculate_multicard_primary_descriptor_single_26494",
table="tiles",
timing="DEFERRABLE INITIALLY DEFERRED",
when="AFTER",
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class Migration(migrations.Migration):
operation="INSERT OR UPDATE OR DELETE",
pgid="pgtrigger_calculate_multicard_primary_descriptor_single_26494",
table="tiles",
timing="DEFERRABLE INITIALLY DEFERRED",
when="AFTER",
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class Migration(migrations.Migration):
operation="INSERT OR UPDATE OR DELETE",
pgid="pgtrigger_calculate_multicard_primary_descriptor_single_26494",
table="tiles",
timing="DEFERRABLE INITIALLY DEFERRED",
when="AFTER",
),
),
Expand Down
1 change: 0 additions & 1 deletion arches_for_science/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class Meta:
when=pgtrigger.After,
operation=pgtrigger.Insert | pgtrigger.Update | pgtrigger.Delete,
func=CALCULATE_MULTICARD_PRIMARY_DESCRIPTOR_SINGLE,
timing=pgtrigger.Deferred,
),
]

Expand Down