User tests: Successful: Unsuccessful:
Pull Request for Issue #32494.
minicolors
assetstinycolor
assetjoomla-field-color-picker.es6.js
as described in #32494layouts/joomla/form/field/color/advanced.php
fileThis is an initial commit, as is I don't expect the compilers to do magic right now. @dgrammatiko will probably do that.
Once the compilers work, I will update this section.
All type="color"
fields that use control="advanced"
are outdated in terms of accessibility, usability and because they require jQuery.
All your type="color"
fields that use control="advanced"
are super awesome on any device and any user.
Yes. We must explain to developers how it works so they don't get funny ideas.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings Repository NPM Change JavaScript Layout |
Title |
|
Labels |
Added:
?
NPM Resource Changed
?
|
It says something about write access.
@thednp you need to rebase your PR, there are conflicts (meaning the code in this PR has a base that is outdated). @richard67 could you help here?
@dgrammatiko I can try later if still necessary then i.e. if @thednp can't solve it himself.
@richard67 I cannot.
@thednp A few things:
@dgrammatiko Please keep secret that I can fix code conflicts ... I don't wanna have too many requests
Too late, I already know :)
@thednp Now drone fails with compiling the SCSS, see here: https://ci.joomla.org/joomla/joomla-cms/40329/1/7 . Maybe @dgrammatiko can advise?
Cleanup the Vendor
Recreating the media folder...
Error: Cannot find module '@ctrl/tinycolor/package.json'
Require stack:
- /********/src/build/build-modules-js/init/localise-packages.es6.js
- /********/src/build/build.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at resolvePackage (/********/src/build/build-modules-js/init/localise-packages.es6.js:42:34)
at module.exports.localisePackages (/********/src/build/build-modules-js/init/localise-packages.es6.js:138:19)
at async /********/src/build/build.js:163:7 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/********/src/build/build-modules-js/init/localise-packages.es6.js',
'/********/src/build/build.js'
]
}
That is surely not my part. I mean I don't know how to fix it :)
For tinycolor
I precompiled an es6 source from typescript and uploaded as instructed by @dgrammatiko. Other than that I don't know what's what. He said for tinycolor we need some new compile script but I don't actually know the status of that tbh.
Thanks again @richard67 have a good one, I hope you'll love this commit when done.
@thednp I think you created this PR solely on Github UI which will not work in this case (and fwiw most cases). You need to ingtall Git, then git clone git@github.com:joomla/joomla-cms.git
.
Then you need to run composer and npm in that directory https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment
Then you create a new branch locally with all the changes, publish the branch and then you will be able to make a PR to the Joomla repo.
What is wrong here is that you said to the tools to copy a file from node_modules
but you never installed @ctrl/tinycolor
so the package.json and package.json.lock don;t have the dependency and thus everything fails, as expected. Follow the instructions above
I will do it again, differently.
I will do it again, differently.
To save you from wasting your time (and ours) please:
npm install -S @ctrl/tinycolor
@dgrammatiko the thing is: I've set the v4-dev
branch as default, that was the problem in the first place, then when switching back, there goes another...
I'm going to save files I've worked on the branch in my local computer, delete this entire fork and start a new fresh.
I'm going to save files I've worked on the branch in my local computer, delete this entire fork and start a new fresh.
I made a mistake on my previous comment, you shouldn't clone the Joomla repo but your fork git clone git@github.com:thednp/joomla-color-picker.git
change to the branch to 4.0-dev
then do the composer,npm stuff, etc
I don't know how to use the git app, I use TurtoiseSVN for my repos, and the browser for the other things.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-24 19:02:03 |
Closed_By | ⇒ | thednp |
@thednp you need to rebase your PR, there are conflicts (meaning the code in this PR has a base that is outdated). @richard67 could you help here?