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

TNO-2598 Update Reports #1766

Merged
merged 2 commits into from
May 1, 2024
Merged

TNO-2598 Update Reports #1766

merged 2 commits into from
May 1, 2024

Conversation

Fosol
Copy link
Collaborator

@Fosol Fosol commented May 1, 2024

Improved the workflow and UI to inform a user what will occur if they keep an active report instance and turn on the auto report functionality. Also provided a way to control how it will work.

Summary

  • Publish tno-core:0.1.56
  • Updated Editor app
  • Updated Subscriber app
  • Added configuration to control whether an auto report will generate a new instance or use an active one
  • Fixed DevOps service account issue
  • Fixed SignalR report update issue

Subscriber Edit Report

image

image

@Fosol Fosol added enhancement New feature or request subscriber PR contains changes towards the subscriber application, tno-core update Indicates that there have been changes to our tno-core package, which can pose concurrency issues. editor labels May 1, 2024
@Fosol Fosol self-assigned this May 1, 2024
@@ -150,7 +150,7 @@ export const ReportEditPage = () => {
// Report has been updated, go fetch latest.
// TODO: This can blow away a users' changes.
try {
if (message.id === report.id) {
if (message.reportId === report.id) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed bug

@@ -0,0 +1,123 @@
---
apiVersion: v1
kind: ServiceAccount
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed DevOps issue in DEV

@Fosol Fosol added the bug Something isn't working label May 1, 2024
Publish tno-core:0.1.56
label="Empty report when starting next report"
checked={!values.settings.content.copyPriorInstance}
tooltip="If this is off an auto report will not generate a new report if an active one already exists."
Copy link
Contributor

Choose a reason for hiding this comment

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

"off" is a funny word here for me. I think "not set" might be better? Also, add a comma for after "off" ;)

@@ -92,11 +92,37 @@ export const ReportEditSendForm = ({ onPublish, onGenerate }: IReportEditSendFor
<p>
An Auto Report is created for you on a schedule, but sent manually. If the report is
not sent before the next scheduled run, it will <strong>not</strong> generate a new
report.
report unless you select 'Empty report when staring next report'.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo "staring" should be "starting"


<Col className="info">
<p>
A schedule that has already populated a report in a given day, will not attempt to do so
Copy link
Contributor

Choose a reason for hiding this comment

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

no comma needed here after "day"

@Fosol Fosol merged commit 88e092f into bcgov:dev May 1, 2024
3 checks passed
@Fosol Fosol deleted the tno-2598 branch May 1, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor enhancement New feature or request subscriber PR contains changes towards the subscriber application, tno-core update Indicates that there have been changes to our tno-core package, which can pose concurrency issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants