feat: Duplicate page in page list and clone naming improvements
Enhancement: Improved Duplicate Page Functionality
Changes Made:
Added Separate Duplicate Button:
The duplicate page option was initially confined within the current active pages header. To enhance user experience, a separate button has been introduced in the PageOperationCell for easier accessibility.
Repositioning Duplicate Option:
The new duplicate button is strategically placed above the existing MoveToTrash option in the PageOperationCell for better visibility and logical organization of page operations. Updated Duplicate Function:
Modified the duplicate function to automatically increment the suffix number of the duplicated page. This improvement aligns with standard editing tool behavior. How to Test:
Click on the new duplicate button in the PageOperationCell.
Confirm that the duplicate page option is now easily accessible.
Duplicate a page and observe that the suffix number increments appropriately.
Note:
This enhancement aims to streamline the process of duplicating pages and ensure a more intuitive user interface. The incremented suffix number for duplicated pages adds clarity and aligns with user expectations.
☁️ Nx Cloud Report
CI is running/has finished running commands for commit d0a31b5f4a80bdb57ca2975322786aa91c64e2b9. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 6 targets
-
nx test:coverage @affine/monorepo -
nx build @affine/storage --target x86_64-unknown-linux-gnu --use-napi-cross -
nx build @affine/native --target x86_64-pc-windows-msvc --use-napi-cross -
nx build @affine/native --target aarch64-apple-darwin --use-napi-cross -
nx build @affine/native --target x86_64-apple-darwin --use-napi-cross -
nx build @affine/native --target x86_64-unknown-linux-gnu --use-napi-cross
Sent with 💌 from NxCloud.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
1ceaf87) 65.24% compared to head (d0a31b5) 65.24%. Report is 11 commits behind head on canary.
Additional details and impacted files
@@ Coverage Diff @@
## canary #5818 +/- ##
=======================================
Coverage 65.24% 65.24%
=======================================
Files 348 348
Lines 19664 19664
Branches 1657 1657
=======================================
Hits 12830 12830
Misses 6613 6613
Partials 221 221
| Flag | Coverage Δ | |
|---|---|---|
| server-test | 71.49% <ø> (ø) |
|
| unittest | 46.78% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.