Test#175
Merged
Merged
Conversation
…actions AB#32491 address functionality and ownership checks
…-testing AB#32618 id updates for the ui
Dev To Test 2026-04-13
AB#32618 add explicit data-cy attributes
Dev To Test 2026-04-14
…-integration AB#32613 add sonarcloud features
ab#32497 applicant login flow
…info AB#32660 update header info and improve mobile scaling
…ssions-component-updates
…nent-updates Feature/ab#32628 submissions component updates
Dev To Test 2026-04-16
…acement AB#32698 adjust warning message and handle mobile better
…pdates AB#32689 tooltip updates
Dev To Test 2026-04-17
…pdates AB#32689 update actions column check logic
Dev To Test 2026-04-17 pt2
…pdates AB#32689 update toast layout
…pdates AB#32689 more copilot feedback
Dev To Test 2026-04-21
AB#32555 update orgbook styling
Dev To Test 2026-04-21 pt2
…-integration AB#32613 missing sonar.projectVersion
|
Comment on lines
+436
to
+445
| foreach (var a in arr.EnumerateArray()) | ||
| { | ||
| if (a.TryGetProperty("id", out var id) && | ||
| string.Equals(id.GetString(), targetId, StringComparison.OrdinalIgnoreCase) && | ||
| a.TryGetProperty("isPrimary", out var ip) && ip.GetBoolean()) | ||
| { | ||
| deletedWasPrimary = true; | ||
| break; | ||
| } | ||
| } |
Comment on lines
+449
to
+455
| foreach (var a in arr.EnumerateArray()) | ||
| { | ||
| if (a.TryGetProperty("id", out var id) && | ||
| string.Equals(id.GetString(), targetId, StringComparison.OrdinalIgnoreCase)) | ||
| continue; | ||
| remaining.Add(a.Clone()); | ||
| } |
Comment on lines
+464
to
+473
| foreach (var r in remaining) | ||
| { | ||
| if (r.TryGetProperty("creationTime", out var ctProp) && | ||
| DateTimeOffset.TryParse(ctProp.GetString(), out var ct) && | ||
| ct > bestTime) | ||
| { | ||
| bestTime = ct; | ||
| best = r; | ||
| } | ||
| } |
Comment on lines
+54
to
+72
| foreach (var address in addresses.EnumerateArray()) | ||
| { | ||
| if (!address.TryGetProperty("id", out var idProp) || | ||
| !Guid.TryParse(idProp.GetString(), out var addressId)) | ||
| continue; | ||
|
|
||
| if (address.TryGetProperty("creationTime", out var ctProp) && | ||
| DateTimeOffset.TryParse(ctProp.GetString(), out var ct) && | ||
| ct > latestTime) | ||
| { | ||
| latestTime = ct; | ||
| fallbackId = addressId; | ||
| } | ||
| else if (fallbackId == null) | ||
| { | ||
| // If no creationTime, use the first address as ultimate fallback | ||
| fallbackId = addressId; | ||
| } | ||
| } |
Comment on lines
+54
to
+72
| foreach (var contact in contacts.EnumerateArray()) | ||
| { | ||
| if (!contact.TryGetProperty("contactId", out var idProp) || | ||
| !Guid.TryParse(idProp.GetString(), out var contactId)) | ||
| continue; | ||
|
|
||
| if (contact.TryGetProperty("creationTime", out var ctProp) && | ||
| DateTimeOffset.TryParse(ctProp.GetString(), out var ct) && | ||
| ct > latestTime) | ||
| { | ||
| latestTime = ct; | ||
| fallbackId = contactId; | ||
| } | ||
| else if (fallbackId == null) | ||
| { | ||
| // If no creationTime, use the first contact as ultimate fallback | ||
| fallbackId = contactId; | ||
| } | ||
| } |
Comment on lines
+151
to
+159
| foreach (var contact in contacts.EnumerateArray()) | ||
| { | ||
| if (TryGetStringProperty(contact, "contactId", out var id) && | ||
| string.Equals(id, contactIdString, StringComparison.OrdinalIgnoreCase)) | ||
| { | ||
| var isEditable = !contact.TryGetProperty("isEditable", out var editableProp) || editableProp.GetBoolean(); | ||
| return OwnershipValidationResult.Success(isEditable); | ||
| } | ||
| } |
Comment on lines
+188
to
+196
| foreach (var address in addresses.EnumerateArray()) | ||
| { | ||
| if (TryGetStringProperty(address, "id", out var id) && | ||
| string.Equals(id, addressIdString, StringComparison.OrdinalIgnoreCase)) | ||
| { | ||
| var isEditable = !address.TryGetProperty("isEditable", out var editableProp) || editableProp.GetBoolean(); | ||
| return OwnershipValidationResult.Success(isEditable); | ||
| } | ||
| } |
Comment on lines
+224
to
+231
| foreach (var org in orgs.EnumerateArray()) | ||
| { | ||
| if (TryGetStringProperty(org, "id", out var id) && | ||
| string.Equals(id, orgIdString, StringComparison.OrdinalIgnoreCase)) | ||
| { | ||
| return OwnershipValidationResult.Success(); | ||
| } | ||
| } |
Comment on lines
+260
to
+267
| foreach (var org in orgs.EnumerateArray()) | ||
| { | ||
| if (TryGetStringProperty(org, "id", out var id) && | ||
| string.Equals(id, applicantIdString, StringComparison.OrdinalIgnoreCase)) | ||
| { | ||
| return OwnershipValidationResult.Success(); | ||
| } | ||
| } |
Comment on lines
+118
to
+125
| catch (Exception ex) | ||
| { | ||
| _logger.LogWarning(ex, "RabbitMQ publisher could not connect to {Host}:{Port}. Publishing will be unavailable until RabbitMQ is reachable", | ||
| _configuration.HostName, _configuration.Port); | ||
|
|
||
| _logger.LogInformation("RabbitMQ publisher connected to {Host}:{Port}", | ||
| _configuration.HostName, _configuration.Port); | ||
| } | ||
| catch (Exception ex) | ||
| { | ||
| _logger.LogError(ex, "Failed to initialize RabbitMQ publisher"); | ||
| Dispose(); | ||
| throw; | ||
| CleanupConnection(); | ||
| return false; | ||
| } |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



No description provided.