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

enh: Migrate photos picker to use NcDialog #2296

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 31, 2024

This simplifies the code and also fixes the double scrollbar issue.

@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews accessibility labels Jan 31, 2024
@susnux susnux added this to the Nextcloud 29 milestone Jan 31, 2024
Pytal

This comment was marked as resolved.

@susnux

This comment was marked as resolved.

Pytal

This comment was marked as resolved.

Pytal

This comment was marked as resolved.

@susnux

This comment was marked as resolved.

src/components/PhotosPicker.vue Outdated Show resolved Hide resolved
src/components/PhotosPicker.vue Outdated Show resolved Hide resolved
src/components/PhotosPicker.vue Outdated Show resolved Hide resolved
@susnux susnux requested a review from Pytal February 3, 2024 14:26
@susnux
Copy link
Contributor Author

susnux commented Feb 3, 2024

/backport to stable28

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label Feb 3, 2024
@susnux
Copy link
Contributor Author

susnux commented Feb 3, 2024

@Pytal resolved your comments, please re-review :)

@susnux susnux force-pushed the enh/migrate-to-ncdialog branch 2 times, most recently from 11fa43c to 94ca92a Compare February 3, 2024 21:46
@szaimen
Copy link
Contributor

szaimen commented Feb 5, 2024

Sorry, I don't feel knowledgeable enough to review this...

@szaimen szaimen removed their request for review February 5, 2024 13:27
@artonge
Copy link
Collaborator

artonge commented Feb 5, 2024

Code looks good, but you probably need to update the cypress tests.

Copy link
Contributor

@emoral435 emoral435 left a comment

Choose a reason for hiding this comment

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

PR looks fantastic! Reviewed, and tested on my local dev, everything works as intended.

NcDialog does have this weird look when the close button is focused, though 🤔
image

The active border gets clipped, let me know if you want me to fix this or just think that it is not a high priority issue right now :)

src/components/PhotosPicker.vue Outdated Show resolved Hide resolved
@susnux
Copy link
Contributor Author

susnux commented Feb 5, 2024

NcDialog does have this weird look when the close button is focused, though 🤔

This should be fixed on the nextcloud-vue-library

Copy link
Member

@Pytal Pytal left a comment

Choose a reason for hiding this comment

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

Tested with a lot of photos and the photo at the end is cut off 🤔
image

@Pytal
Copy link
Member

Pytal commented Feb 6, 2024

Consider this check ✅ my approval in advance once the cut off issue is fixed :D

@Pytal
Copy link
Member

Pytal commented Feb 7, 2024

Cut off issue is still present but just tested master and it also has the same issue so will cc @artonge for investigation at a later point

Copy link
Member

@Pytal Pytal left a comment

Choose a reason for hiding this comment

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

Works well! Just have to update cypress as mentioned above

susnux and others added 3 commits February 7, 2024 11:48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@JuliaKirschenheuter JuliaKirschenheuter merged commit 1f85e5b into master Feb 7, 2024
24 checks passed
@JuliaKirschenheuter JuliaKirschenheuter deleted the enh/migrate-to-ncdialog branch February 7, 2024 11:51
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label Feb 7, 2024
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BITV]: double scrollbar appears in a file picker dialog
6 participants