Skip to content

refactor!(NcModal): adjust to boolean props with default false #6719

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

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Apr 4, 2025

☑️ Resolves

Replace closeButtonContained with closeButtonOutside.

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport bugfixes to stable8 for maintained Vue 2 version.

@susnux susnux added 3. to review Waiting for reviews 💥 breaking PR that requires a new major version refactor ♻️ Pull request that is neither a fix nor a feature labels Apr 4, 2025
@susnux susnux added this to the v9.0.0-rc.0 milestone Apr 4, 2025
@susnux
Copy link
Contributor Author

susnux commented Apr 4, 2025

/backport 7bd9eec to stable8

Comment on lines +88 to +96
| Component | Removed deprecated prop | New alternative |
|---------------|-------------------------|----------------------|
|`NcAppContent` | `allowSwipeNavigation` | `disabledSwipe` |
| `NcAvatar` | `showUserStatus` | `hideStatus` |
| `NcAvatar` | `showUserStatusCompact` | `verboseStatus` |
| `NcModal` | `closeButtonContained` | `closeButtonOutside` |
| `NcModal` | `enableSwipe` | `disableSwipe` |
| `NcModal` | `canClose` | `noClose` |
| `NcDialog` | `canClose` | `noClose` |
Copy link
Contributor

Choose a reason for hiding this comment

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

Note, MD tables have alignment feature 👀

@susnux susnux requested review from Antreesy and removed request for marcoambrosini April 14, 2025 08:48
@susnux susnux merged commit 2e6e51c into main Apr 14, 2025
24 checks passed
@susnux susnux deleted the refactor/modal-boolean-prop branch April 14, 2025 09:16
Copy link

backportbot bot commented Apr 14, 2025

The backport to stable8 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable8
git pull origin stable8

# Create the new backport branch
git checkout -b backport/6719/stable8

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 7bd9eec4

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/6719/stable8

Error: Failed to check for changes with origin/stable8: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews backport-request 💥 breaking PR that requires a new major version refactor ♻️ Pull request that is neither a fix nor a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants