Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore Approved Colour Picker #178

Closed
lori698 opened this issue Oct 19, 2020 · 6 comments
Closed

Ignore Approved Colour Picker #178

lori698 opened this issue Oct 19, 2020 · 6 comments
Assignees

Comments

@lori698
Copy link

lori698 commented Oct 19, 2020

Is there any way to always ignore the approved colour picker - we want to turn on automatic imports however we have x amount of sites with unique approved colours which we will never want to import.

Also needs be ignored on the grid background row| cell colours. (If possible)

@KevinJump
Copy link
Owner

Humm... its not possible via config - but we might be able to work out something to make it a thing... we will take a look.

@lori698
Copy link
Author

lori698 commented Oct 19, 2020

Fantastic thanks

@lori698
Copy link
Author

lori698 commented Oct 20, 2020

Wow fantastic

@KevinJump
Copy link
Owner

Hi this will be in the next release we are testing it this week, so it should be out soon

KevinJump added a commit that referenced this issue Oct 21, 2020
* Stop extra lookups of Root when content is missing.

* ISyncNodeSerializer, ISyncNodeTracker - speeding up import #171

* perf: improved parent path lookup

* Fix #142 - HashCode isn't deterministic

* Improve the tracker - so things that are matched on key then alias, don't show up as delete/create

* Update contentType tracker - track strutures by alias

* Change seperator for property path in tracker

* code cleanup (usings)

* add clear history button, make history load on tab view.

* Sync history events, to reload after import/export.

* Add key only serialization option #176

Adds a KeysOnly setting for the dictionary serializer

* Support for media in the grid styles.

Supports media inside the grid styles elements.

* Prerelease fix - path gets muddled when its in the cache

* prerelease fix: don't include root in friendly path.

* version bump. v8.7.2

* move version back to description

* Add option to ignore config by editorAlias or item name #178

* Generic IgnoreAlias setting for all handlers - stops them being imported completely.  #178

* up the version cache numbers for the js.

* Don't show addons if uSync.Complete is installed.

* Allow uSync folder to be set outside the site root #173

* Prerelease fix - Blueprint path fix.

* 8.7.2 version/readme.

Co-authored-by: Kevin Jump <[email protected]>
@loriRyanp
Copy link

Hi Kevin just wondering how do I go about setting this up so that approved colours dont get imported? Thanks in advance.

@KevinJump
Copy link
Owner

Hi,

if you want the datatype to be created but the config (so the colors not synced you would add the following to your uSync8 config file

To stop all color pickers from syncing their colours :

 <Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
     <Add Key="NoConfigEditors" Value="Umbraco.ColorPicker" /> 
 </Handler>

To stop just a specific colour picker from syncing (so all the others still would).

 <Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
     <Add Key="NoConfigNames" Value="Approved Color" /> 
 </Handler>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants