Antoine du Hamel
|
65ffbed1a2
|
@uppy/utils: refactor truncateString (#3080)
|
2021-08-09 16:12:08 +02:00 |
|
Kevin van Zonneveld
|
764c2ccada
|
Update Linter (#2796)
* relocate .vscode
* Switch to transloadit linter
* Update .eslintrc.json
* autofix code
* unlink and install eslint-config-transloadit@1.1.1
* Change 0 to "off"
* Don't change 'use strict'
* Do not vertically align
* disable key-spacing
* add import/no-extraneous-dependencies per package
* add more react/a11y warnings
* Revert "autofix code"
This reverts commit 14c8a8cde8.
* add import/no-extraneous-dependencies per example and main package
* autofix code (2)
* Allow devDependencies in ./bin
* Change import/no-extraneous-dependencies to warn again
* upgrade linter
* Set import/no-extraneous-dependencies to warn
|
2021-03-15 16:25:17 +00:00 |
|
Ifedapo .A. Olarewaju
|
d586a4cf53
|
companion,unsplash: Unsplash provider (#2431)
* unsplash[wip]: implement unsplash provider + plugin
* unsplash,provider-views,companion-client: fully working unsplash plugin
* unsplash: clean up plugin implementation
* provider-views: refactor CloseWrapper
* companion-client: encode search text before adding it to URL
Co-authored-by: Renée Kooi <renee@kooi.me>
* companion: use object spread over Object.assign
Co-authored-by: Renée Kooi <renee@kooi.me>
* zoom: fix provider-view import
* circle icon
* update locale strings and package-lock
* move truncateString to @uppy/utils and use it for Unsplash name-description conversion, adding .jpg
* use alt_description if description in null
* companion: handle name truncation internally
* companion: handling carriage for truncation + fix urlmeta import
Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
|
2020-10-28 19:50:51 +01:00 |
|
Renée Kooi
|
07eb4fc0b9
|
Move truncateString util into @uppy/dashboard.
|
2018-06-28 14:00:17 +02:00 |
|
Renée Kooi
|
2e257b7e55
|
Move utils files to @uppy/utils package.
And rewrite all the require calls.
```bash
git mv src/utils/* packages/@uppy/utils/src
sed -i 's/[./]*\/utils\//@uppy\/utils\/lib\//' src/**/*.js # transform (../)*utils → @uppy/utils
```
|
2018-06-14 16:31:19 +02:00 |
|