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

support domain (security) point of contact fields #2521

Merged

Conversation

jimmytsang
Copy link
Contributor

@jimmytsang jimmytsang commented Feb 22, 2024

This pr introduces the new configurable domain meta fields "Point of Contact" and "Security Point of Contact"

  • user can add a (security) point of contact in any page that shows domain details
  • successfully passes new unit and functional tests to safeguard this new feature

Key files to review

  • DomainDetails.js
  • AddPoc.js
  • domain.spec.js

Signed-off-by: jtsang01 <jimmy.tsang@yahooinc.com>
@jimmytsang jimmytsang changed the title support-domain-add-point-of-contact support domain (security) point of contact fields Feb 22, 2024
import RequestUtils from '../utils/RequestUtils';

const SectionsDiv = styled.div`
width: 760px;

Choose a reason for hiding this comment

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

Would max-width make it responsive?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the styling properties are copied from add member modal, just tested the AddPoc modal is responsive to window resize.

'Updating Point of Contact ' +
this.state.pocName +
' for domain ' +
this.props.domain;

Choose a reason for hiding this comment

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

Maybe consider using Updating Point of Contact ${this.state.pocName} for domain ${this.props.domain}?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good suggestion, fixed

Signed-off-by: jtsang01 <jimmy.tsang@yahooinc.com>
@havetisyan havetisyan merged commit 22c013b into AthenZ:master Feb 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants