diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 2c9d15d4..9a87a7bb 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: [brettz9] # May have up to 4 comma-separated user names +github: [brettz9 , OptimistikSAS] # May have up to 4 comma-separated user names diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 2adef30a..bf135f4d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,7 +4,7 @@ about: Create a report in case we may be able to help labels: bug - unconfirmed --- -**PLEASE NOTE: This project is not currently being actively developed due to the core developers having moved on, and the only remaining maintainer merely applying occasional minor PRs or tweaks to keep the project alive. While you can file an issue, you should not expect any action, even if we label the issue.** +**PLEASE NOTE: We are trying to make this project live again. While you can file an issue, we will do our best but you should not expect any action, even if we label the issue. However, we are welcoming new contributors ** **Describe the bug** A clear and concise description of what the bug is. diff --git a/README.md b/README.md index 4dbf4e73..947d1650 100644 --- a/README.md +++ b/README.md @@ -71,21 +71,6 @@ You may also obtain URLs for specific [releases](https://github.com/SVG-Edit/svg width="100%" height="100%"> ``` -Note that if you want support for the following browsers, you will at least -need some polyfills. - -For Android Browser 4.4.3-4.4.4, you will need at least `fetch`. - -For the following, you will need at least `URL`, `Promise`, and `fetch`: - -- IE <= 11 -- IE Mobile -- Opera Mini -- Blackberry Browser <= 10 - -And for still older browsers (e.g., IE 8), you will at minimum need a -`querySelector` polyfill. - ### Integrating SVG-edit into your own npm package These steps are only needed if you wish to set up your own npm package @@ -202,13 +187,15 @@ incorporating SVGEdit. You will need to have Node.js/npm installed. the project team can decide if we should support with the latest version. ## Further reading and more information - + * Participate in [discussions](https://github.com/SVG-Edit/svgedit/discussions) * See [docs](docs/) for more documentation. See the [JSDocs for our latest release](https://svg-edit.github.io/svgedit/releases/latest/docs/jsdoc/index.html). * [Acknowledgements](docs/Acknowledgements.md) lists open source projects used in svg-edit. * See [AUTHORS](AUTHORS) file for authors. * [StackOverflow](https://stackoverflow.com/tags/svg-edit) group. + +## Older references * Join the [svg-edit mailing list](https://groups.google.com/forum/#!forum/svg-edit). * Join us on `#svg-edit` on `freenode.net` (or use the [web client](https://webchat.freenode.net/?channels=svg-edit)). diff --git a/badges/coverage-badge.svg b/badges/coverage-badge.svg index c537428e..c3f8392e 100644 --- a/badges/coverage-badge.svg +++ b/badges/coverage-badge.svg @@ -1 +1 @@ - + diff --git a/badges/tests-badge.svg b/badges/tests-badge.svg index 61b3e08c..515cd6b9 100644 --- a/badges/tests-badge.svg +++ b/badges/tests-badge.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/cypress/integration/ui/__snapshots__/scenario.js.snap b/cypress/integration/ui/__snapshots__/scenario.js.snap index 3636cb70..99c631c3 100644 --- a/cypress/integration/ui/__snapshots__/scenario.js.snap +++ b/cypress/integration/ui/__snapshots__/scenario.js.snap @@ -649,3 +649,411 @@ exports[`use various parts of svg-edit > check tool_polygon #0`] = ` `; + +exports[`use various parts of svg-edit > check tool_text_anchor_start #0`] = ` + +`; + +exports[`use various parts of svg-edit > check tool_text_anchor_middle #0`] = ` + +`; + +exports[`use various parts of svg-edit > check tool_text_anchor_end #0`] = ` + +`; diff --git a/cypress/integration/ui/accessibility.js b/cypress/integration/ui/accessibility.js index c192d9f8..17c2a3f0 100644 --- a/cypress/integration/ui/accessibility.js +++ b/cypress/integration/ui/accessibility.js @@ -1,9 +1,12 @@ +import { + visitAndApproveStorage +} from '../../support/ui-test-helper.js'; + describe('UI - Accessibility', function () { beforeEach(() => { - cy.visit('/instrumented/editor/index.html'); + visitAndApproveStorage(); cy.injectAxe(); }); - // https://www.npmjs.com/package/cypress-axe it('Has no detectable a11y violations on load', () => { // Configure aXe and test the page at initial load diff --git a/cypress/integration/ui/scenario.js b/cypress/integration/ui/scenario.js index 1d31b3b6..bdd23209 100644 --- a/cypress/integration/ui/scenario.js +++ b/cypress/integration/ui/scenario.js @@ -88,4 +88,22 @@ describe('use various parts of svg-edit', function () { .trigger('mouseup', {force: true}); cy.get('#svgcontent').toMatchSnapshot(); }); + it('check tool_text_anchor_start', function () { + cy.get('#svg_1').click({force: true}); + cy.get('#tool_text_anchor_start') + .click({force: true}); + testSnapshot(); + }); + it('check tool_text_anchor_middle', function () { + cy.get('#svg_1').click({force: true}); + cy.get('#tool_text_anchor_middle') + .click({force: true}); + testSnapshot(); + }); + it('check tool_text_anchor_end', function () { + cy.get('#svg_1').click({force: true}); + cy.get('#tool_text_anchor_end') + .click({force: true}); + testSnapshot(); + }); }); diff --git a/dist/editor/index.html b/dist/editor/index.html index 9c363e8e..b8280be5 100644 --- a/dist/editor/index.html +++ b/dist/editor/index.html @@ -231,6 +231,9 @@