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

Add support for Cards property for new Cards component #13107

Open
standeren opened this issue Jul 6, 2024 · 1 comment
Open

Add support for Cards property for new Cards component #13107

standeren opened this issue Jul 6, 2024 · 1 comment
Assignees

Comments

@standeren
Copy link
Contributor

standeren commented Jul 6, 2024

Here is an example of the usage:
Skjermbilde 2024-07-10 kl  15 44 54

And the config:

{
--
  | "type": "Cards",
  | "id": "patent-cards",
  | "color": "subtle",
  | "cards": [
  | {
  | "title": "Varemerke",
  | "description": "Dette er et eksempel på hvordan et varemerke kan se ut. Dette kan være en logo, et navn, en farge eller en kombinasjon av disse.",
  | "media": "patentstyret-varemerke"
  | },
  | {
  | "title": "Lydmerke",
  | "description": "Et lydmerke kan være en jingle, en melodi eller en annen lyd. Et opptak av at noen brøler firmanavnet ditt godtar vi ikke.",
  | "media": "patentstyret-lydmerke"
  | },
  | {
  | "title": "Videomerke",
  | "description": "Videomerker er en kombinasjon bilde og av og til lyd. Dette kan være en reklamefilm, en animasjon eller en annen type video.",
  | "media": "patentstyret-videomerke"
  | },
  | {
  | "title": "Andre",
  | "description": "Vi kan registrere alt mulig rart som et kjennemerke. Hvis du vil registere gode kaker, kryss av her så tar vi kontakt for prøvesmaking.",
  | "children": ["cardsCheckboxes"]
  | }
  | ]
  | }

@standeren standeren converted this from a draft issue Jul 6, 2024
@standeren standeren moved this from 📈 Todo to 👷 In Progress in Team Studio Jul 6, 2024
@standeren standeren self-assigned this Jul 6, 2024
@standeren standeren removed a link to a pull request Jul 8, 2024
3 tasks
@standeren
Copy link
Contributor Author

Blocked until guidelines for what Apps components Studio should add support for.

  • If we decide that not all should be supported we need a way to exclude these json schemas from being generated by the script, or at least note a place that we will not support them even though schemas exists for them.

If we decide to support configuration for this component we must figure out if media-components that are being referenced to by the cards objects inside the cards-component are suppose to exist as stand-alone media-components as well to be rendered as a part of the layout?

@standeren standeren moved this from 👷 In Progress to ⚠️ Blocked in Team Studio Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⚠️ Blocked
Development

Successfully merging a pull request may close this issue.

1 participant