mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 16:44:49 -04:00
Improve render performance (#511)
Massive improvement of render performance by: - replacing the codimd-line-marker with an in-memory map - an observation of the changed markdown code to identify changed lines - a unique react-key calculation
This commit is contained in:
parent
df7c4cb19e
commit
3a0e35a9f3
27 changed files with 360 additions and 161 deletions
|
@ -270,18 +270,18 @@ describe('Toolbar', () => {
|
|||
|
||||
describe('emoji', () => {
|
||||
it('picker is show when clicked', () => {
|
||||
cy.get('.emoji-mart.emoji-mart-light')
|
||||
cy.get('.emoji-mart')
|
||||
.should('not.exist')
|
||||
cy.get('.fa-smile-o')
|
||||
.click()
|
||||
cy.get('.emoji-mart.emoji-mart-light')
|
||||
cy.get('.emoji-mart')
|
||||
.should('exist')
|
||||
})
|
||||
|
||||
it('picker is show when clicked', () => {
|
||||
cy.get('.fa-smile-o')
|
||||
.click()
|
||||
cy.get('.emoji-mart.emoji-mart-light')
|
||||
cy.get('.emoji-mart')
|
||||
.should('exist')
|
||||
cy.get('.emoji-mart-emoji-native')
|
||||
.first()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue