lablup / backend.ai-webui

Backend.AI Web UI for web / desktop app (Windows/Linux/macOS). Backend.AI Web UI provides a convenient environment for users, while allowing various commands to be executed without CLI. It also provides some visual features that are not provided by the CLI, such as dashboards and statistics.
https://www.backend.ai
GNU Lesser General Public License v3.0
110 stars 73 forks source link

feat: `useMemoWithPrevious` React hook #2820

Closed yomybaby closed 2 weeks ago

yomybaby commented 3 weeks ago

Resolves #2819

Changes: Introduces a new useMemoWithPrevious hook to manage previous and current values with reset capability, replacing the manual useRef implementation in ContainerLogModal. This hook provides a more robust way to track state changes while maintaining previous values.

Implementation Details:

Testing Requirements:

graphite-app[bot] commented 3 weeks ago

Your org requires the Graphite merge queue for merging into main

Add the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix.

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

yomybaby commented 3 weeks ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @yomybaby and the rest of your teammates on Graphite Graphite

github-actions[bot] commented 3 weeks ago

Coverage report for ./react

St.:grey_question:
Category Percentage Covered / Total
🔴 Statements
4.96% (+0.15% 🔼)
360/7253
🔴 Branches
4.43% (+0.02% 🔼)
221/4992
🔴 Functions
2.97% (+0.16% 🔼)
71/2393
🔴 Lines
4.86% (+0.15% 🔼)
345/7093
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟢 |
`...` / useMemoWithPrevious.tsx
| 100% | 100% | 100% | 100% |

Test suite run success

100 tests passing in 13 suites.

Report generated by 🧪jest coverage report action from 5702e0a3d064ef2970e4915374ef48070be7bcbe

graphite-app[bot] commented 2 weeks ago

Merge activity