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

website: 2.0-2.3 post draft #3370

Merged
merged 17 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
75 changes: 75 additions & 0 deletions website/src/_posts/2021-12-2.0-2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: "Life after 2.0: new Audio plugin, Status Bar improvements"
Murderlon marked this conversation as resolved.
Show resolved Hide resolved
date: 2021-12-15
author:
Murderlon marked this conversation as resolved.
Show resolved Hide resolved
- aduh95
- murderlon
- arturi
image: https://uppy.io/images/blog/2.0/uppy-2-0-cover.jpg
published: true
---

After the 2.0 release we’ve been busy refactoring, updating dependencies, moving from npm to Yarn 3 and much-needed housekeeping. We’ve also released a new Audio plugin, improved Status Bar and Unsplash

<!--more-->

## Audio plugin

Uppy now has a new `@uppy/audio` plugin for recording audio memos, messages and sounds. Check it out [on the demo page](https://uppy.io/examples/dashboard/).

<video alt="Audio plugin demo" muted autoplay loop>
<source src="/images/blog/2.0-2.3/audio-demo.mp4" type="video/mp4">
Your browser does not support the video tag: https://uppy.io/images/blog/2.0-2.3/audio-demo.mp4
</video>

## Status bar error state improvements
Murderlon marked this conversation as resolved.
Show resolved Hide resolved

Status bar plugin would get confused about upload errors in Uppy, and we’ve addressed that:

* Error state is shown if only _one_ failed file instead of _all_ failed files. Used to be stuck in the uploading state when a file failed.
* Added “x of x files uploaded” below “Upload failed” for extra context.
* Improved the error details button styling in the statusbar and the file info card.
* Status bar state is set to complete if the user manually removes the failed files.

![status bar improvements screenshot](/images/blog/2.0-2.3/status-bar-improvements.jpg)

PR [#3299](https://github.com/transloadit/uppy/pull/3299).
Murderlon marked this conversation as resolved.
Show resolved Hide resolved

## `@uppy/unsplash` is now production ready
Copy link
Member

Choose a reason for hiding this comment

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

We should make sure the prod API keys are in hosted companion before releasing this post

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That could delay the post, if the keys are already available, then yes. Can we make sure Unsplash is on uppy.io and API2 soon, @mifi?

Copy link
Member

Choose a reason for hiding this comment

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

The keys are already available yes

Copy link
Contributor

Choose a reason for hiding this comment

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

For api2, I'm thinking that because we have quite big changes (not breaking but potentially bug-introducing) from #3159 we may want to test it first on uppy.io

For uppy.io, I still haven't had time to look into this #3362

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But do we need to upgrade Companion to enable Unsplash? I think that code has already been there quite a while, so we could just add keys.

Copy link
Contributor

Choose a reason for hiding this comment

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

There were some changes in companion related to Unsplash in https://github.com/transloadit/uppy/pull/3196/files on 1st october. I'm not sure if those companion changes are needed for the new unsplash frontend to work @Murderlon

Copy link
Member

Choose a reason for hiding this comment

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

Those are definitely needed yes.


The Unsplash plugin has been refactored to make it brand compliant, show author of image in UI, improve maintainability and fix bugs. We’ve also finally added [docs to the website](https://uppy.io/docs/unsplash/).
arturi marked this conversation as resolved.
Show resolved Hide resolved

<video alt="Audio plugin demo" muted autoplay loop>
<source src="/images/blog/2.0-2.3/unsplash-demo.mp4" type="video/mp4">
Your browser does not support the video tag: https://uppy.io/images/blog/2.0-2.3/unsplash-demo.mp4
</video>

PR [#3196](https://github.com/transloadit/uppy/pull/3196).

## Refactor locale scripts & generate types and docs

This is an internal change, but important nonetheless. Our locales now live in a separate `locale.js` file for every plugin instead of `this.defaultLocale` in the class. The docs and types are automatically updated when we add/remove new locale strings.

See PR [#3276](https://github.com/transloadit/uppy/pull/3276) for details.

## Yarn v3 instead of npm

We’ve switched the uppy repo to Yarn 3 to improve package install performance — with our complex dependency graph and over 30 packages in a monorepo, we are seeing a speed increase of over a few minutes!

We are using Corepack to ensure all Uppy contributors are using the same version of Yarn. If you are an Uppy contributor, please run the following commands to enable Corepack:

```sh
corepack -v || npm i -g corepack # install Corepack if not already installed
yarn -v || corepack enable # install Yarn through Corepack if not already installed
yarn || corepack yarn install # install npm dependencies using yarn
```

See details in [#3237](https://github.com/transloadit/uppy/pull/3237)

## Misc

* @uppy/google-drive: plugin has been updated for brand compliance (#3178)
* @uppy/status-bar: now shows all details on mobile when `showProgressDetails` is `true` (#3174)
* @uppy/core: move `Uppy` class to its own module (#3225)
* @uppy/angular: fix component crash by loosening `package.json` version constraints (#3210)
* @uppy/drop-target: Exposed events (#3238)
Binary file added website/src/images/blog/2.0-2.3/audio-demo.mp4
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/src/images/blog/2.0-2.3/unsplash-demo.mp4
Binary file not shown.