Skip to content

Commit 48b309e

Browse files
author
paulinebessoles
committed
Update categories partial
1 parent f9a3e90 commit 48b309e

File tree

6 files changed

+43
-23
lines changed

6 files changed

+43
-23
lines changed
196 KB
Loading
-44.9 KB
Binary file not shown.
49.5 KB
Loading
425 KB
Loading
Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,75 @@
11
= Categories
22

3+
== Understand the basics
34

45
Categories (and subcategories) are used for classifying resources inside of a space.
56

67
An administrator can define them, can be assigned to when creating resources, and then participants can filter the
7-
different resources by these categories. For instance, they can be set up in proposals, meetings and debates.
8+
different resources by these categories. For instance, they can be used in proposals, meetings, and debates.
89

9-
As an example of this mechanism in action you can see it in https://meta.decidim.org/processes/roadmap/f/122/[Propose new functionalities for Decidim software] process:
10+
. Administrators define categories in a space.
11+
. Participants can create resources and give them a category.
12+
. Participants can then filter by categories.
1013

11-
. Administrators have defined the categories in the process.
12-
. Participants can create proposals that have one category.
13-
. Participants can filter by these categories and navigate among all the proposals.
14+
image::spaces/categories_sidebar.png[Filter categories in proposals]
1415

15-
image:spaces/categories_sidebar.png[Filter categories in proposals]
16-
17-
image:spaces/categories_form.png[Select a category when creating a proposal]
18-
19-
NOTE: Once a category is in use it cannot be removed, as there are resources that are using it.
16+
NOTE: Once a category is in use it cannot be deleted, as there are resources that are linked to it.
2017

2118
Decidim has other ways to classify resources, for instance xref:admin:scopes.adoc[Scopes] and xref:admin:features/hashtags.adoc[Hashtags].
2219
The main difference is that Categories can be defined in a given space, Scopes are global for all the platform, and Hashtags
23-
are defined by the participants.
20+
can be defined by the participants.
2421

2522
Categories can be nested, meaning that a category can have subcategories.
2623

27-
== Create a new category
24+
== How to find it?
25+
26+
To configure categories, click the *Categories* item in any participatory space.
2827

29-
For configuring a new category, go to the space admin panel and click on the "Categories" tab.
28+
image::spaces/categories.png[View categories in a space administration page]
3029

31-
image:spaces/categories.png[View categories in a space admin page]
30+
== Create a new category
3231

33-
Then click in "Add category" and fill the form.
32+
Click in "New category" button on the top right.
3433

3534
image:spaces/categories_new_form.png[Create a new category form]
3635

37-
.Create category
36+
.Create category form
37+
[cols="20h,10h,~"]
3838
|===
3939
|Field |Type |Description
4040

4141
|Name
4242
|Required
4343
|What is the name for this category.
4444

45-
|Weight
45+
|Order position
4646
|Optional
47-
|Which order will it have in relation to the other categories. Having a lower number means a higher priority. For instance, if you have two categories, "Category a" with weight "10" and "Category b" with weight "0", then "Category b" will be first when ordering.
48-
49-
|Description
50-
|Required
51-
|A long description explaining what this category is about.
47+
|Which order it has in relation to the other categories. Having a lower number means a higher priority. For instance, if you have two categories, "Category a" with weight "10" and "Category b" with weight "0" then "Category b" is first when ordering.
5248

5349
|Parent
5450
|Optional
5551
|What is the parent category.
5652
|===
5753

54+
== Manage categories
55+
56+
You can find all the categories on the list in the administration panel, with:
57+
58+
* *Name*: name of the category, given when creating or editing it by the administrator.
59+
60+
== Actions
61+
62+
.Components actions in component list
63+
[cols="20h,10h,~"]
64+
|===
65+
|Icon |Name |Definition
66+
67+
|image:icons/action_edit.png[Edit icon]
68+
|Edit
69+
|To edit the name, the order position and the parent of the category.
70+
71+
|image:icons/action_delete.png[Delete icon]
72+
|Delete
73+
|To delete the category. A category can't be deleted if it has resources attached to it.
74+
75+
|===

docs/en/modules/admin/partials/page_components.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ You can find all the components on the list in the administration panel, with:
2525
To configure a new component, click the *Add component* from the upper right part of the screen and select the type of
2626
component you want.
2727

28-
image::spaces/components_new_dropdown.png[Add a component in a space]
28+
image::spaces/components/components_new_dropdown.png[Add a component in a space]
2929

3030
== Actions
3131

32+
.Components actions in component list
33+
[cols="20h,10h,~"]
3234
|===
3335
|Icon |Name |Definition
3436

0 commit comments

Comments
 (0)