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

Handle pasted image files #710

Merged
merged 5 commits into from
Jan 16, 2025
Merged

Handle pasted image files #710

merged 5 commits into from
Jan 16, 2025

Conversation

jaller94
Copy link
Contributor

@jaller94 jaller94 commented Jan 9, 2025

  • Allows to copy paste one or more images.
  • Drop upload: combine multiple images into one action (for redo and undo)

✔️ Checklist

  • A changeset describing the change and affected packages (more info).
  • Added or updated documentation.
  • Tests for new functionality and regression tests for bug fixes.
  • Screenshots or videos attached (for UI changes).
  • All your commits have a Signed-off-by line in the message (more info).

Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: a77a5cd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nordeck/matrix-neoboard-react-sdk Minor
@nordeck/matrix-neoboard-widget Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jaller94 jaller94 changed the title WIP: Handle pasted image files Handle pasted image files Jan 15, 2025
@jaller94 jaller94 marked this pull request as ready for review January 15, 2025 12:20
@jaller94 jaller94 requested a review from a team January 15, 2025 12:20
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

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

  • We still do not use our upload code, that contains all our logic
  • A changeset is missing

I've sketched how we can reuse our code here https://github.com/nordeck/matrix-neoboard/compare/nic/feat/NEO-683-paste-image-upload?expand=1

It factors out one function and then just use what we currently do for image uploads.

@weeman1337 weeman1337 self-requested a review January 16, 2025 08:54
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

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

Tested, works ✔️

@HarHarLinks HarHarLinks enabled auto-merge (squash) January 16, 2025 14:01
@HarHarLinks HarHarLinks merged commit 59be7de into main Jan 16, 2025
4 checks passed
@HarHarLinks HarHarLinks deleted the nic/feat/NEO-683 branch January 16, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants