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

feat(*): init logs to customer module #14281

Open
wants to merge 2 commits into
base: feat/logs-to-customer-module
Choose a base branch
from

Conversation

rjamet-ovh
Copy link
Contributor

Question Answer
Branch? feat/logs-to-customer-module
Bug fix? no
New feature? yes
Breaking change? no
Tickets Fix #MANAGER-15966
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

  • init logs-to-customer react module
  • add logs-to-customer module in KMS app

Romain Jamet added 2 commits November 26, 2024 15:51
ref: MANAGER-15966

Signed-off-by: Romain Jamet <[email protected]>
ref: MANAGER-15966

Signed-off-by: Romain Jamet <[email protected]>
Copy link

sonarcloud bot commented Nov 26, 2024

type={ODS_MESSAGE_TYPE.error}
>
<OsdsText color={ODS_THEME_COLOR_INTENT.error}>
<div>Une erreur est survenue</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

manage translation

})
}
>
reload logs
Copy link
Contributor

Choose a reason for hiding this comment

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

manage translation

</div>
);

if (logKinds.length === 0) return <div>no logkinds</div>;
Copy link
Contributor

Choose a reason for hiding this comment

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

manage translation

Comment on lines +32 to +35
const newLogKind = logKinds.find(
(k) => k.kindId === event.detail.value,
);
setCurrentLogKind(newLogKind);
Copy link
Contributor

Choose a reason for hiding this comment

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

So if newLogKind is undefined (not found), is it OK to reset the currentLogKind ?

"declaration": true,
"resolveJsonModule": true,
"allowJs": true,
"jsx": "react"
Copy link
Contributor

Choose a reason for hiding this comment

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

To add @/... in all your imports

Suggested change
"jsx": "react"
"jsx": "react",
"paths": {
"@/*": ["./src/*"]
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as xx.interface.ts

Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as xx.interface.ts

Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as xx.interface.ts

Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as xx.interface.ts

Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as xx.interface.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants