Commit graph

16 commits

Author SHA1 Message Date
Peter Savchenko 0bf5007f6c
fix ci (#2182) 2022-11-26 11:32:04 +04:00
Peter Savchenko e048c4d46b
fix release drafter 2022-11-26 03:13:48 +04:00
Peter Savchenko 3272efc3f7
chore(linting): eslint updated, code linted (#2174)
* update eslint + autofix

* a bunch of eslint fixes

* some spelling & eslint fixes

* fix some eslint errors and spells

* Update __module.ts

* a bunch of eslint fixes in tests

* Update cypress.yml

* Update cypress.yml

* fix cypress docker image name

* fixes for tests

* more tests fixed

* rm rule ignore

* rm another ignored rule

* Update .eslintrc
2022-11-25 21:56:50 +04:00
Peter Savchenko ff91466b14
feat(toolbar): toolbar refactored and ui improved (#1815)
* chore(block-tune-toggler): toggler moved to the left (draft)

* toolbox ui updated

* fixd caret jumpling, improved some styles

* toolbar moving by block-hover

- UI module triggers 'block-hovered' event
- Toolbar uses 'block-hovered' for appearing
- `currentBlock` setter added to the BlockManager
- (reactangle-selection): the throttling added to the mousemove and scroll handlers
- `getBlockIndex` method added to the Api
- (api-blocks): toolbar moving logic removed from `blocks.move()` and `blocks.swap()` methods. Instead, MoveUp and MoveDown tunes uses Toolbar API

* the dark-theme to the example-dev.html

* positioning improved

* fix(rectangle-selection): first click after RS does not clears selection state

* toolbox position fixed

* the toolbox module became a standalone class

- Toolbox became a standalone class from the editor module. It can be accessed only via the owner (the Toolbar module)
- (api.blocks) the insert() method now has the `replace` param. Also, it returns inserted Block API now.

* new(api.listeners): `on()` now returns the listener id. The new `offById()` method added

* fix bug with Tab pressing on hovered but not focused block

* mobile version improved

* upd example dev

* small updaets

* add nested-list

* linting

* (api.toolbar): `toggleBlockSettings` now fires toggling event with the same state

* EventDispatcher used instead of callbacks for the Toolbox

* UIApi added

* fix ci

* git submodules removed from the ci flow

* add paragraph submodule to the ci flow

* Update CHANGELOG.md

* Update package.json

* use ubuntu-latest for chrome ci
2021-11-24 21:14:24 +03:00
Peter Savchenko 65b86c9203
chore(readme): updated readme and cypress workflow (#1745) 2021-08-07 14:17:31 +03:00
Peter Savchenko 03fb54b474
chore(submodules): pull master to the tools (#1742)
* chore(submodules): pull master to the tools

* add tools:update command

* make command for tools updating

* rm nested list submodule

* fix cypress workflow

* fix package json command

* fix ci
2021-08-07 13:51:05 +03:00
Taly ce1d394f44
Use "npm dist-tag add" instead of "yarn tag add" (#1693)
* Use "npm dist-tag add" instead of "yarn tag add"

`yarn tag add` somehow throws an error for existing versions, but `npm dist-tag add` works correctly.

resolve #1692

* Remove space
2021-05-27 17:12:23 +03:00
Taly 92b023d566
yarn tag add (#1673)
Add LATEST tag for the published package if this is not a prerelease version
2021-04-28 13:26:42 +03:00
Taly 9d8998e9e7
Fix workflow code (#1672)
`The workflow is not valid. .github/workflows/publish-package-to-npm.yml: Unexpected tag '!github.event.release.prerelease'`
2021-04-28 12:43:16 +03:00
Taly ef0c7d76a7
Publish the latest version with a next tag too (#1668)
resolves #1659
2021-04-21 19:21:26 +03:00
George Berezhnoy 2c77edb457
Add cypress workflow (#1638)
* Add cypress workflow

* Setup different browsers

* Pull tools

* Update ff image

* Fix test

* Adopt tests

* Fix eslint
2021-04-08 23:15:42 +03:00
Taly ae52d6116c
Update bump-version-on-merge-next.yml (#1569)
* Update bump-version-on-merge-next.yml

Error: `The process '/usr/bin/git' failed with exit code 128`

Report and fix: https://github.com/peter-evans/create-pull-request/issues/690

* Rename job
2021-02-26 13:51:18 +03:00
Taly cd6378c160
Feature: add bump version action (#1561)
* Update create-a-release-draft.yml

* Create bump-version-on-merge-next.yml

* Update releases.md
2021-02-24 21:04:29 +03:00
Taly c4a57c16a9
Feature: create a release draft workflow (#1555)
* Rename workflow file

* Create create-a-release-draft.yml

* Update releases.md
2021-02-22 23:27:24 +03:00
Taly 8e4b34a6e1
Feature: action for publishing package update (#1546)
* Update .npmignore

* Create a Publish package to NPM action

* Branches, versions and releases — complete guideline

* Update docs/releases.md

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>

* Update docs/releases.md

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>

* Update releases.md

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2021-02-19 18:33:04 +03:00
Peter Savchenko 63eeec0f3b
Release / 2.18 (#1181)
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: tasuku-s <tasuku@freemind.co.jp>
Co-authored-by: Athul Anil Kumar <athul7744@outlook.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com>
Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com>
Co-authored-by: Sisir <sisir@hellosivi.com>
2020-06-03 11:17:29 +03:00