bcgov / bcgov/entity

UI - Update alteration and existing correction to use new resolution date format

Open
#34,842 0 comments 0 reactions 0 assignees View on GitHub
Colin Egress Entities Team
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

- [ ] Alteration
- [ ] Use new schema while submitting to api
- [ ] Existing correction
- [ ] Use new schema while submitting to api
- [ ] Include all existing resolution dates (same as new correction)

- ref schema for new format https://github.com/bcgov/business-schemas/blob/main/src/registry_schemas/schemas/share_structure.json#L103

Old format: `["2026-09-10"]`
New format: `[{"date": "2026-09-10"}]`

In correction when resolution date already exist and adding new one:
```
[
{"id": , "date": "2020-01-05"}, -- existing
{"date": "2026-09-10"} -- new
]

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the UI submission paths for Alteration and Existing correction, then compare their payloads with the linked share_structure.json schema. Confirm that new and existing resolution dates use objects, preserve existing IDs during correction, and include all existing dates before considering the work done.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.