feat(NcDialog): New component (moved from @nextcloud/dialogs)#4550
Merged
feat(NcDialog): New component (moved from @nextcloud/dialogs)#4550
@nextcloud/dialogs)#4550Conversation
2 tasks
Contributor
Contributor
Author
Contributor
|
Still the buttons should not appear at the very bottom. Is this possible? |
artonge
approved these changes
Sep 20, 2023
Contributor
Author
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
@szaimen would you mind if we do a design review session later (maybe schedule it with the design team) and for the beginning just merge it as is? |
Contributor
Author
|
@szaimen reworked the small dialogs, now it looks like normal dialogs: |
7e29abc to
bd05641
Compare
szaimen
approved these changes
Oct 12, 2023
Contributor
There was a problem hiding this comment.
This looks good now from design perspective :)
However I guess the a11y team should look over it as it might not be 100% accessible?
cc @JuliaKirschenheuter @ShGKme @Pytal
Contributor
Author
bd05641 to
745dc22
Compare
Contributor
Author
…odal` component Signed-off-by: Ferdinand Thiessen <[email protected]>
… as the base Signed-off-by: Ferdinand Thiessen <[email protected]>
745dc22 to
b1164ed
Compare
This was referenced Oct 21, 2023
Merged
3 tasks
Closed
This file contains hidden or 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
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.









☑️ Resolves
AppSettingsDialogdoes scroll the section list when clicking on entry #4348 (fixed by migrating AppSettingsDialog to NcDialog base)@nextcloud/dialogs) #4415 (without Typescript and fancy<script setup>).Introduces NcDialog as a generic base Dialog component, while NcModal is simply a base for modals like the viewer, NcDialog provides a convenient interface to define dialogs (see example).
The new FilePicker of the
@nextcloud/dialogspackage is based on top of it.🖼️ Screenshots
One example dialog:
🏁 Checklist