adopted-ember-addons / ember-popper-modifier Goto Github PK
View Code? Open in Web Editor NEWAn Ember modifier for working with Popper.js.
License: MIT License
An Ember modifier for working with Popper.js.
License: MIT License
Would be great if the package publishes TypeScript types. In my experience converting the source code and tests to TypeScript is the most maintainable way doing so. Conversion to TypeScript can be done by running ember init --typescript
and manually picking the required changes.
As with other addons in adopted-ember-addons, we should use release-it
for the release process. See here for details: https://github.com/adopted-ember-addons/program-guidelines#release-process
The existing tool relies on conventional commits. In my experience it is difficult to establish them in a project with many contributors. Release-it is easier in that case as it allows maintainers to adjust the PR titles and labels after merging before releasing as needed. Also the used tool standard-version is deprecated.
Rather than this
The API should thread all arguments (besides the name
) directly to the modifier options
property
ember-modifier 3.2.0 introduced a new modify
hook, and added a number of deprecations: https://github.com/ember-modifier/ember-modifier/blob/master/addon/CHANGELOG.md#v320-2022-03-29
These are all triggered by this modifier now.
The project is still using yarn v1. We should migrate to a recent package manager. Not much opinionated if it is NPM, yarn, or PNPM. But it should be a recent version.
There is no recommendation about package manager to be used in adopted-ember-addons program guidelines: https://github.com/adopted-ember-addons/program-guidelines
Rather than needing to set the modifiers
named argument to the helper, it would be helpful to be able to pass additional named arguments that are each treated as modifiers.
This is much more verbose
Than this
And, with #12, this would be even better
ember-popper-modifier should support ember-modifier@^4
in parallel to version 3 to allow applications (and other addons depending on it) to upgrade to Ember Modifier v4 themselves. This issue lists the remaining tasks to do so.
See ember-file-upload as an usage example.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.