Skip to content

Mmi 3243 update#2494

Merged
Fosol merged 37 commits intodevfrom
mmi-3243-update
Oct 6, 2025
Merged

Mmi 3243 update#2494
Fosol merged 37 commits intodevfrom
mmi-3243-update

Conversation

@AlessiaYChen
Copy link
Collaborator

No description provided.

@AlessiaYChen AlessiaYChen requested a review from Fosol September 22, 2025 21:26
@Fosol Fosol added enhancement New feature or request subscriber PR contains changes towards the subscriber application, labels Sep 22, 2025
@AlessiaYChen AlessiaYChen requested a review from Fosol September 25, 2025 00:46
@AlessiaYChen AlessiaYChen marked this pull request as draft September 25, 2025 16:56
@AlessiaYChen AlessiaYChen marked this pull request as ready for review September 25, 2025 18:16
@AlessiaYChen AlessiaYChen marked this pull request as draft October 2, 2025 17:17
@AlessiaYChen AlessiaYChen requested a review from Fosol October 2, 2025 21:52

const convertedContent = toInstanceContent(content, instance.id, sectionName, 0);
await addContentToReport(currentReport.id, convertedContent);
const payload = toInstanceContentPayload(content, 0, sectionName, 0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main thing I'm noticing here is there is no logic to handle the different scenarios/states the the report can be in. Has the logic been moved to the API?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the logic is moved to the FastAddContentToReportAsync in the ReportController now.

@AlessiaYChen AlessiaYChen marked this pull request as ready for review October 2, 2025 23:27
@Fosol Fosol merged commit f4f0be4 into dev Oct 6, 2025
8 checks passed
@Fosol Fosol deleted the mmi-3243-update branch October 6, 2025 21:07
Fosol pushed a commit that referenced this pull request Oct 6, 2025
* Add FindByIdMinimal method to IUserService and UserService for optimized user retrieval

* use FindByIdMinimal to speed up

* improvement for adding content in existing reports

* simplify the content metadata and add functions that the subscriber has the lighter-weight content payload after insert

* remove checks on subscribers allowing to add content to someone else report

* restore changes for checking reports is public or not

* update tno-core package version

* reduce latency for adding content in report

* fix lint errors and build errors

* add missing files

* update

* update

* add missing files

* update addtoreportmenu to load minimal data

* update npm package version

* fix build error

* fix infinite regenerate report bug and others

* fixed bug

* fix the bug that causes the reports not showing up

* fix the loading report bug

* update

* fix the duplicated id

* fix build error

---------

Co-authored-by: Jacob Wang <jacob.wang@gov.bc.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request subscriber PR contains changes towards the subscriber application,

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants