• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

liqd / adhocracy-plus / 18908688697

29 Oct 2025 12:59PM UTC coverage: 44.622% (-44.5%) from 89.135%
18908688697

Pull #2986

github

web-flow
Merge 1dfde8ee7 into 445e1d498
Pull Request #2986: Draft: Speed up Github Ci Tests

3012 of 6750 relevant lines covered (44.62%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/dashboard/blueprints.py
1
from django.utils.translation import gettext_lazy as _
×
2

3
from adhocracy4.dashboard.blueprints import ProjectBlueprint
×
4
from adhocracy4.polls import phases as poll_phases
×
5
from apps.budgeting import phases as budgeting_phases
×
6
from apps.debate import phases as debate_phases
×
7
from apps.documents import phases as documents_phases
×
8
from apps.ideas import phases as ideas_phases
×
9
from apps.interactiveevents import phases as interactiveevent_phases
×
10
from apps.mapideas import phases as mapideas_phases
×
11
from apps.topicprio import phases as topicprio_phases
×
12

13
blueprints = [
×
14
    (
15
        "brainstorming",
16
        ProjectBlueprint(
17
            title=_("Brainstorming"),
18
            description=_(
19
                "Participants can submit their own ideas and discuss the "
20
                "ideas of others."
21
            ),
22
            content=[
23
                ideas_phases.CollectPhase(),
24
            ],
25
            image="images/brainstorming.svg",
26
            settings_model=None,
27
            type="BS",
28
        ),
29
    ),
30
    (
31
        "map-brainstorming",
32
        ProjectBlueprint(
33
            title=_("Spatial Brainstorming"),
34
            description=_(
35
                "Participants can submit their own ideas and locate them on a "
36
                "map. They can also discuss the ideas of others."
37
            ),
38
            content=[
39
                mapideas_phases.CollectPhase(),
40
            ],
41
            image="images/map-brainstorming.svg",
42
            settings_model=("a4maps", "AreaSettings"),
43
            type="MBS",
44
        ),
45
    ),
46
    (
47
        "idea-collection",
48
        ProjectBlueprint(
49
            title=_("Idea Challenge"),
50
            description=_(
51
                "In a first phase, participants can submit their own ideas "
52
                "and discuss the ideas of others. In a second phase, the "
53
                "ideas can be rated (pro/contra)."
54
            ),
55
            content=[
56
                ideas_phases.CollectPhase(),
57
                ideas_phases.RatingPhase(),
58
            ],
59
            image="images/agenda-setting.svg",
60
            settings_model=None,
61
            type="IC",
62
        ),
63
    ),
64
    (
65
        "map-idea-collection",
66
        ProjectBlueprint(
67
            title=_("Spatial Idea Challenge"),
68
            description=_(
69
                "In a first phase, participants can submit their own ideas, "
70
                "mark them on a map, and discuss the ideas of others. In a "
71
                "second phase, the ideas can be rated (pro/contra)."
72
            ),
73
            content=[mapideas_phases.CollectPhase(), mapideas_phases.RatingPhase()],
74
            image="images/map-idea-collection.svg",
75
            settings_model=("a4maps", "AreaSettings"),
76
            type="MIC",
77
        ),
78
    ),
79
    (
80
        "text-review",
81
        ProjectBlueprint(
82
            title=_("Text Review"),
83
            description=_(
84
                "Participants can discuss the paragraphs of a text that you "
85
                "added beforehand."
86
            ),
87
            content=[
88
                documents_phases.CommentPhase(),
89
            ],
90
            image="images/text-review.svg",
91
            settings_model=None,
92
            type="TR",
93
        ),
94
    ),
95
    (
96
        "poll",
97
        ProjectBlueprint(
98
            title=_("Poll"),
99
            description=_(
100
                "Participants can answer open and multiple choice questions "
101
                "and comment on the poll."
102
            ),
103
            content=[
104
                poll_phases.VotingPhase(),
105
            ],
106
            image="images/poll.svg",
107
            settings_model=None,
108
            type="PO",
109
        ),
110
    ),
111
    (
112
        "participatory-budgeting",
113
        ProjectBlueprint(
114
            title=_("Participatory budgeting"),
115
            description=_(
116
                "Participants can submit their own suggestions, mark them on "
117
                "a map, and add a budget. The ideas of others can be "
118
                "discussed and rated (pro/contra)."
119
            ),
120
            content=[budgeting_phases.RequestPhase()],
121
            image="images/participatory-budgeting.svg",
122
            settings_model=("a4maps", "AreaSettings"),
123
            type="PB",
124
        ),
125
    ),
126
    (
127
        "interactive-event",
128
        ProjectBlueprint(
129
            title=_("Interactive Event"),
130
            description=_(
131
                "The participants of an event can ask their questions online. "
132
                "Other participants can support the question. You as the "
133
                "moderator can sort the questions by support or "
134
                "affiliation."
135
            ),
136
            content=[
137
                interactiveevent_phases.IssuePhase(),
138
            ],
139
            image="images/live-discussion.svg",
140
            settings_model=None,
141
            type="IE",
142
        ),
143
    ),
144
    (
145
        "topic-prioritization",
146
        ProjectBlueprint(
147
            title=_("Prioritization"),
148
            description=_(
149
                "Participants can discuss and rate (pro/contra) previously "
150
                "added ideas and topics. Participants cannot add ideas or "
151
                "topics."
152
            ),
153
            content=[
154
                topicprio_phases.PrioritizePhase(),
155
            ],
156
            image="images/priorization.svg",
157
            settings_model=None,
158
            type="TP",
159
        ),
160
    ),
161
    (
162
        "debate",
163
        ProjectBlueprint(
164
            title=_("Debate"),
165
            description=_(
166
                "Participants can discuss posted topics or questions. "
167
                "To do this, the participants comment on posted "
168
                "topics / questions as well as on contributions from other "
169
                "users."
170
            ),
171
            content=[
172
                debate_phases.DebatePhase(),
173
            ],
174
            image="images/debate.svg",
175
            settings_model=None,
176
            type="DB",
177
        ),
178
    ),
179
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc