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

Add subscription alert detail page #169

Merged

Conversation

barshathakuri
Copy link
Collaborator

Addresses:

Changes

  • Add subscription detail page (Include all subscription inside alert)

This PR doesn't introduce:

  • typos
  • conflict markers
  • unwanted comments
  • temporary files, auto-generated files or secret keys
  • console.log meant for debugging
  • codegen errors

Comment on lines 110 to 111
{alertsDetail?.map((filters) => (
<div className={styles.badgeContainer}>
{filters.alertFilter?.map((filter) => (
<div
className={styles.badge}
>
{filter}
</div>
))}
</div>
))}
<List
className={styles.alertItem}
data={alertInfo}
Copy link
Member

Choose a reason for hiding this comment

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

I am confused

Comment on lines 1 to 26
import { Container } from '@ifrc-go/ui';

import styles from './styles.module.css';

interface Props {
alertId: string;
alertFilters: string;
}

function SubscriptionFilters(props: Props) {
const {
alertId,
alertFilters,
} = props;

return (
<Container
className={styles.badge}
key={alertId}
>
{alertFilters}
</Container>
);
}

export default SubscriptionFilters;
Copy link
Member

Choose a reason for hiding this comment

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

Change this into a common component and call it Badge

@AdityaKhatri AdityaKhatri merged commit fccd451 into project/phase-2-dummy-pages Nov 21, 2024
4 checks passed
@AdityaKhatri AdityaKhatri deleted the feature/subscription-detail branch November 21, 2024 10:28
@barshathakuri barshathakuri mentioned this pull request Nov 21, 2024
6 tasks
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.

2 participants