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

feature(FR-352): update-useBAINotification #3065

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

nowgnuesLee
Copy link
Contributor

resolves #3060, (FR-352)

I added functionality to handle task's status based on the notification in useNotification. Since the existing approach was not changed, no additional modifications are needed.

changes

  • update useBAINotification to handle task's status
  • refactor MaintenanceSetttingList component (I have confirmed that it is working properly.)

Checklist: (if applicable)

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link

graphite-app bot commented Jan 21, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added the size:L 100~500 LoC label Jan 21, 2025
Copy link

github-actions bot commented Jan 21, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
4.92% (-0.01% 🔻)
398/8093
🔴 Branches
4.25% (-0.01% 🔻)
239/5629
🔴 Functions
2.95% (-0% 🔻)
78/2641
🔴 Lines
4.84% (-0.01% 🔻)
383/7918

Test suite run success

124 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 644d9cc

@nowgnuesLee nowgnuesLee marked this pull request as ready for review January 21, 2025 09:35
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

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

I push a refactoring commit. Please check it.

@nowgnuesLee
Copy link
Contributor Author

I couldn’t find a better way to handle typing. Although I did come across a method, the more I used it, the more confusing it became. So, I’ve decided to stick with my current approach.

@nowgnuesLee nowgnuesLee requested a review from yomybaby January 22, 2025 07:17
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

graphite-app bot commented Jan 22, 2025

Merge activity

resolves #3060, [(FR-352)](https://lablup.atlassian.net/browse/FR-352)

I added functionality to handle `task's status` based on the notification in `useNotification`. Since the existing approach was not changed, no additional modifications are needed.

**changes**
* update `useBAINotification` to handle task's status
* refactor `MaintenanceSetttingList` component (I have confirmed that it is working properly.)

**Checklist:** (if applicable)

- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
@yomybaby yomybaby force-pushed the feature/update-useBAINotification branch from 1ede928 to 644d9cc Compare January 22, 2025 10:43
@graphite-app graphite-app bot merged commit 644d9cc into main Jan 22, 2025
7 checks passed
@graphite-app graphite-app bot deleted the feature/update-useBAINotification branch January 22, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L 100~500 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the value upon receiving the resolved value of a background task’s promise in usBAINotification.
2 participants