-
Notifications
You must be signed in to change notification settings - Fork 0
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
AdityaKhatri
merged 1 commit into
project/phase-2-dummy-pages
from
feature/subscription-detail
Nov 21, 2024
Merged
Add subscription alert detail page #169
AdityaKhatri
merged 1 commit into
project/phase-2-dummy-pages
from
feature/subscription-detail
Nov 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
barshathakuri
requested review from
tnagorra,
frozenhelium,
AdityaKhatri,
samshara and
roshni73
November 14, 2024 10:46
AdityaKhatri
requested changes
Nov 19, 2024
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} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 19, 2024 04:59
1c076f4
to
5ff7a37
Compare
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 19, 2024 05:05
5ff7a37
to
00a9601
Compare
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 19, 2024 05:52
00a9601
to
413bb08
Compare
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 19, 2024 10:11
413bb08
to
a174487
Compare
AdityaKhatri
requested changes
Nov 21, 2024
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; |
There was a problem hiding this comment.
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
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 21, 2024 08:24
a174487
to
c762f07
Compare
barshathakuri
force-pushed
the
feature/subscription-detail
branch
from
November 21, 2024 08:32
c762f07
to
d54d2a6
Compare
AdityaKhatri
approved these changes
Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses:
Changes
This PR doesn't introduce:
console.log
meant for debugging