Giter Site home page Giter Site logo

lantzify / auto-block-list Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 13.65 MB

Auto block list is made to help automate the process of converting nested content into an block list. In addition it transfers the content to the new block list format.

License: MIT License

C# 59.39% JavaScript 7.81% HTML 32.22% CSS 0.58%
umbraco umbraco-cms umbraco-package umbraco-v10 umbraco-backoffice umbraco-packages

auto-block-list's Introduction

Auto block list

Version Nuget

Auto block list is an Umbraco package made for v10+. Made to help automate the process of converting nested content into an block list. In addition it transfers the content to the new block list format.

About

With the removal of nested content in Umbraco 13. Upgrading can potentially be challenging if you use it frequently. That's where Auto block list comes in. With one click AutoBlockLists runs the following workflow.

  • Creates the block list data type based on the old nested content data type.
  • Adds the new data type to the document type.
  • And transfers the content to the newly created block list.

Settings

"AutoBlockList": {
     BlockListEditorSize: "medium",
     SaveAndPublish: true,
     NameFormatting: "[Block list] - {0}",
     AliasFormatting: "{0}BL"
}
  • BlockListEditorSize Determines the default size when creating a block list data type. Sizes: small, medium, large.
  • SaveAndPublish When transferring content. If the node should be saved and published or only saved.
  • In the NameFormatting setting the {0} will be replaced with the nested content data type name. Make sure to keep the {0}.
  • In the AliasFormatting setting the {0} will be replaced with the property alias containing the nested content. Make sure to keep the {0}.

Contributing

If you would like to help me improve this package, feel free to create a pull request!

Issues

If you find any issues with the package feel free to raise an issue!

Screenshots

Demo Dashboard Select Usure Result Done

auto-block-list's People

Contributors

lantzify avatar rockerby avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

auto-block-list's Issues

SignalR slow

SignalR is a bit slow to update what item is currently being worked on. Nothing shows and if it takes a while an update will happen and then it's suddenly done with everything. unsure what causes this or how I could fix it.

Error in API call when there's nothing to convert

Describe the bug
Loading up the main page within settings throws a 500 (from /umbraco/backoffice/api/AutoBlockListApi/GetAllContentWithNC?page=0). Looks like this is an issue when there are no applicable data types to convert.

image

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Umbraco 13.2.2 instance (not tested on other versions)
  2. Install Umbraco.TheStarterKit (just for dummy content)
  3. Install your package
  4. Go to Settings
  5. Click the Auto Block List option in the left
  6. See the spinner and console error

Expected behavior
To show a "nothing to convert" page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.