Skip to content

Commit

Permalink
Merge pull request #60 from Vizzuality/SKY30-142-update-knowledge-hub…
Browse files Browse the repository at this point in the history
…-cards

[SKY30-142]: update knowledge hub cards
  • Loading branch information
andresgnlez authored Nov 20, 2023
2 parents ca34ab4 + 703ab42 commit 42b82d3
Show file tree
Hide file tree
Showing 19 changed files with 3,178 additions and 1,543 deletions.
56 changes: 53 additions & 3 deletions cms/config/sync/admin-role.strapi-super-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,53 @@
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
"subject": "api::data-tool-ecosystem.data-tool-ecosystem",
"properties": {
"fields": [
"name"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.delete",
"actionParameters": {},
"subject": "api::data-tool-ecosystem.data-tool-ecosystem",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.publish",
"actionParameters": {},
"subject": "api::data-tool-ecosystem.data-tool-ecosystem",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.read",
"actionParameters": {},
"subject": "api::data-tool-ecosystem.data-tool-ecosystem",
"properties": {
"fields": [
"name"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.update",
"actionParameters": {},
"subject": "api::data-tool-ecosystem.data-tool-ecosystem",
"properties": {
"fields": [
"name"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
Expand Down Expand Up @@ -206,7 +253,8 @@
"site",
"languages",
"data_tool_resource_type",
"technical_skills"
"geography",
"data_tool_ecosystems"
]
},
"conditions": []
Expand Down Expand Up @@ -236,7 +284,8 @@
"site",
"languages",
"data_tool_resource_type",
"technical_skills"
"geography",
"data_tool_ecosystems"
]
},
"conditions": []
Expand All @@ -252,7 +301,8 @@
"site",
"languages",
"data_tool_resource_type",
"technical_skills"
"geography",
"data_tool_ecosystems"
]
},
"conditions": []
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"key": "plugin_content_manager_configuration_content_types::api::data-tool-ecosystem.data-tool-ecosystem",
"value": {
"uid": "api::data-tool-ecosystem.data-tool-ecosystem",
"settings": {
"bulkable": true,
"filterable": true,
"searchable": true,
"pageSize": 10,
"mainField": "name",
"defaultSortBy": "name",
"defaultSortOrder": "ASC"
},
"metadatas": {
"id": {
"edit": {},
"list": {
"label": "id",
"searchable": true,
"sortable": true
}
},
"name": {
"edit": {
"label": "name",
"description": "",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "name",
"searchable": true,
"sortable": true
}
},
"createdAt": {
"edit": {
"label": "createdAt",
"description": "",
"placeholder": "",
"visible": false,
"editable": true
},
"list": {
"label": "createdAt",
"searchable": true,
"sortable": true
}
},
"updatedAt": {
"edit": {
"label": "updatedAt",
"description": "",
"placeholder": "",
"visible": false,
"editable": true
},
"list": {
"label": "updatedAt",
"searchable": true,
"sortable": true
}
},
"createdBy": {
"edit": {
"label": "createdBy",
"description": "",
"placeholder": "",
"visible": false,
"editable": true,
"mainField": "firstname"
},
"list": {
"label": "createdBy",
"searchable": true,
"sortable": true
}
},
"updatedBy": {
"edit": {
"label": "updatedBy",
"description": "",
"placeholder": "",
"visible": false,
"editable": true,
"mainField": "firstname"
},
"list": {
"label": "updatedBy",
"searchable": true,
"sortable": true
}
}
},
"layouts": {
"list": [
"id",
"name",
"createdAt",
"updatedAt"
],
"edit": [
[
{
"name": "name",
"size": 6
}
]
]
}
},
"type": "object",
"environment": null,
"tag": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,35 @@
"sortable": true
}
},
"technical_skills": {
"geography": {
"edit": {
"label": "technical_skills",
"label": "geography",
"description": "",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "technical_skills",
"label": "geography",
"searchable": true,
"sortable": true
}
},
"data_tool_ecosystems": {
"edit": {
"label": "data_tool_ecosystems",
"description": "",
"placeholder": "",
"visible": true,
"editable": true,
"mainField": "name"
},
"list": {
"label": "data_tool_ecosystems",
"searchable": false,
"sortable": false
}
},
"createdAt": {
"edit": {
"label": "createdAt",
Expand Down Expand Up @@ -199,7 +214,13 @@
"size": 6
},
{
"name": "technical_skills",
"name": "geography",
"size": 6
}
],
[
{
"name": "data_tool_ecosystems",
"size": 6
}
]
Expand Down
26 changes: 25 additions & 1 deletion cms/config/sync/user-role.public.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,30 @@
{
"action": "api::data-source.data-source.findOne"
},
{
"action": "api::data-tool-ecosystem.data-tool-ecosystem.find"
},
{
"action": "api::data-tool-ecosystem.data-tool-ecosystem.findOne"
},
{
"action": "api::data-tool-language.data-tool-language.find"
},
{
"action": "api::data-tool-language.data-tool-language.findOne"
},
{
"action": "api::data-tool-resource-type.data-tool-resource-type.find"
},
{
"action": "api::data-tool-resource-type.data-tool-resource-type.findOne"
},
{
"action": "api::data-tool.data-tool.find"
},
{
"action": "api::data-tool.data-tool.findOne"
},
{
"action": "api::fishing-protection-level-stat.fishing-protection-level-stat.find"
},
Expand Down Expand Up @@ -121,4 +145,4 @@
"action": "plugin::users-permissions.auth.sendEmailConfirmation"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"kind": "collectionType",
"collectionName": "data_tool_ecosystems",
"info": {
"singularName": "data-tool-ecosystem",
"pluralName": "data-tool-ecosystems",
"displayName": "Data Tool Ecosystem",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* data-tool-ecosystem controller
*/

import { factories } from '@strapi/strapi'

export default factories.createCoreController('api::data-tool-ecosystem.data-tool-ecosystem');
Loading

0 comments on commit 42b82d3

Please sign in to comment.