Code Monkey home page Code Monkey logo

content-blocks-gui's People

Contributors

filippos-gmk avatar jonaseberle avatar krausandre avatar manus3009 avatar nhovratov avatar pkuhlmay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

content-blocks-gui's Issues

Add a Readme

There is no readme yet.

  • information about contribution
  • information about the project

[BUG] Extension is not visible inside extension-dropdown

I added my custom sitepackage and this was not shown inside the dropdown for selecting the host extension.
Reason could be

The extension is not added, when it has no require-dependency for content blocks in its composer.json.

This should not happen, as we can not be sure if everybody has this dependency set. For example, if you have a composer.json for the whole project, and the dependency is set there, but not in the sitepackage.

Error in console, when CSP is active

I get this error, while having CSP for the backend active:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-WV0EnOPNpeCxINrtDdJ_VX-MpaRqEuE9v55KxxWvRYIlvUf3_hgzYg' 'report-sample'". Either the 'unsafe-inline' keyword, a hash ('sha256-1e5RR2OpHhuX2h0Bat19DsNTmqbo4M3T1pqfeTXCHaA='), or a nonce ('nonce-...') is required to enable inline execution.

t @ VM88914:1
s @ VM88914:1
c @ VM88914:1
(anonymous) @ VM88914:1

Translation (FE)

Translate the labels inside the Vue App.

Shall we maintain the translations inside Crowdin so other people can translate the labels and download them into their TYPO3 installation?

[BUG] Property 'cloneFieldType' and 'availableFieldTypes' does not exist

During ddev start I get the following Error:
src/views/EditCB/PickerView.vue:31:19 - error TS2339: Property 'cloneFieldType' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, never>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...ar...'.

and

Property 'availableFieldTypes' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, never>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...ar...'.

_save_content_type expects vendor

_save_content_type expects

'contentBlock' => [
     'vendor' => $getParsedBody['contentBlock']['vendor'],
     'name' => $getParsedBody['contentBlock']['name'],
]

_get_cb only sets name (as "xxx/yyy" compound)

JE: I would prefer just name in _save_content_type, too.

Preserve type information in the AJAX requests

We need to get bool/int/string/array in PHP to correctly save it as .yaml.

The HTTP transfer is encoded as multipart/form-data (because PHP does not understand JSON natively).

Currently that leads to only string/array.

Idea:
We could send a JSON string via multipart/form-data and json_decode() the whole thing once in PHP.

streamline the table view and make it possible to search

Maybe the table view for the overview could be inside one big table with some kind of filtering and sorting

  • make the table searchable
  • show all elements in only one table (discuss this first)
  • try to make all columns one size

[TEST] Add PHP unit Tests

  • createContentBlockContentElementConfiguration in EXT:content-blocks/Classes/Service/CreateContentType.php

Use storybook

Storybook could be interesting for developing the different components.

It could be also helpfull for visual testing

Translation (BE)

Get translations of a CB: partly done

  • Get default translations
  • Get translation of a target language

Save translation of a CB: partly done

  • save initial existing items
  • save initial existing items to new target language
  • save new added items (when new fields added)

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.