mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Merged v5.14.1 into main
v5.14.1
This commit is contained in:
commit
a766253a78
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ghost-admin",
|
||||
"version": "5.14.0",
|
||||
"version": "5.14.1",
|
||||
"description": "Ember.js admin client for Ghost",
|
||||
"author": "Ghost Foundation",
|
||||
"homepage": "http://ghost.org",
|
||||
@ -38,7 +38,7 @@
|
||||
"@ember/test-helpers": "2.8.1",
|
||||
"@embroider/macros": "1.8.3",
|
||||
"@glimmer/component": "1.1.2",
|
||||
"@html-next/vertical-collection": "3.1.0",
|
||||
"@html-next/vertical-collection": "3.0.0",
|
||||
"@joeattardi/emoji-button": "4.6.4",
|
||||
"@sentry/ember": "7.12.1",
|
||||
"@tryghost/color-utils": "0.1.21",
|
||||
|
@ -4,7 +4,7 @@ import sinon from 'sinon';
|
||||
import {Response} from 'miragejs';
|
||||
import {authenticateSession, invalidateSession} from 'ember-simple-auth/test-support';
|
||||
import {beforeEach, describe, it} from 'mocha';
|
||||
import {blur, click, currentRouteName, currentURL, fillIn, find, findAll, triggerEvent} from '@ember/test-helpers';
|
||||
import {blur, click, currentRouteName, currentURL, fillIn, find, findAll, triggerEvent, typeIn} from '@ember/test-helpers';
|
||||
import {datepickerSelect} from 'ember-power-datepicker/test-support';
|
||||
import {expect} from 'chai';
|
||||
import {selectChoose} from 'ember-power-select/test-support';
|
||||
@ -614,5 +614,23 @@ describe('Acceptance: Editor', function () {
|
||||
let body = JSON.parse(lastRequest.requestBody);
|
||||
expect(body.posts[0].title).to.equal('CMD-S Test');
|
||||
});
|
||||
|
||||
// https://github.com/TryGhost/Ghost/issues/15391
|
||||
it('can handle many tags in PSM tags input', async function () {
|
||||
this.server.createList('tag', 1000);
|
||||
let post = this.server.create('post', {authors: [author]});
|
||||
|
||||
await visit(`/editor/post/${post.id}`);
|
||||
await click('[data-test-psm-trigger]');
|
||||
await click('[data-test-token-input]');
|
||||
|
||||
// by filtering to `Tag 100` it means we start with a long list that is reduced
|
||||
// which is what triggers the slowdown/error
|
||||
await fillIn('[data-test-token-input] input', 'Tag 10');
|
||||
await typeIn('[data-test-token-input] input', '0');
|
||||
await blur('[data-test-token-input] input');
|
||||
|
||||
// no expects, will throw with an error and fail when it hits the bug
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ghost",
|
||||
"version": "5.14.0",
|
||||
"version": "5.14.1",
|
||||
"description": "The professional publishing platform",
|
||||
"author": "Ghost Foundation",
|
||||
"homepage": "https://ghost.org",
|
||||
|
@ -2520,10 +2520,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@handlebars/parser/-/parser-2.0.0.tgz#5e8b7298f31ff8f7b260e6b7363c7e9ceed7d9c5"
|
||||
integrity sha512-EP9uEDZv/L5Qh9IWuMUGJRfwhXJ4h1dqKTT4/3+tY0eu7sPis7xh23j61SYUnNF4vqCQvvUXpDo9Bh/+q1zASA==
|
||||
|
||||
"@html-next/vertical-collection@3.1.0":
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@html-next/vertical-collection/-/vertical-collection-3.1.0.tgz#3e271fe36bbf381b5e6f7702fde72f8c6880ae0d"
|
||||
integrity sha512-7mzdEhPA0SzIAqZA/HUwmAYVxzbsKp4l8vB7oBc6A71IGusrNZQUMLl09Vi9wgHahvhBV89LST474cu9k2Iw1Q==
|
||||
"@html-next/vertical-collection@3.0.0":
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@html-next/vertical-collection/-/vertical-collection-3.0.0.tgz#ba16bd2df413e9c25d245ae37ddb1950a5ccdbca"
|
||||
integrity sha512-kpLYZXr3tlYkrSiyhww+f1YkyLMEhCm9h55A+PWPzJXBTZkV12sC5mIbxVcWD7q5QNjy634m6MMvmxfFgDmGoQ==
|
||||
dependencies:
|
||||
babel6-plugin-strip-class-callcheck "^6.0.0"
|
||||
broccoli-funnel "^2.0.2"
|
||||
|
Loading…
Reference in New Issue
Block a user