Rejected not yet on protocol Reduce technical and functional debt
Refactoring the codebase
Is your feature request related to a problem? Please describe.
Yes! Legacy code affects performance and can be confusing to manage, maintain and fix.
Describe the solution you'd like
Merging tables and permission logic.
Merging modules and spaces which overlap:
Extracting cells
Analyzing spaces (assemblies, participatory processes)
Merge or reuse the code in those spaces.
Describe alternatives you've considered
N/A
Additional context
N/A
Could this issue impact on users private data?
Documents
3 comments
-
The Problem
Decidim's monolithic architecture creates barriers: all-or-nothing adoption, integration complexity, steep learning curves for contributors, and difficulty maintaining mobile responsiveness.
The Solution: Tapas
Like Spanish tapas — small dishes enjoyed alone or combined — Decidim Tapas are independent democratic functions that work standalone or in concert
Proposed Layer Model
┌─────────────────────┐
│ COMPOSITION LAYER │
│ (Process designer, workflows) │
├─────────────────────┤
│ TAPAS LAYER │
│ Voting | Discussion | Budget | ... │
├─────────────────────┤
│ FOUNDATION LAYER │
│ (Identity, Permissions, Data) │
├─────────────────────┤
│ DESIGN SYSTEM │
│ (Daisy UI + Tailwind) │
└─────────────────────┘Proposed Tapas
Identity — authentication, trust levels, privacy
Voting — binary, ranked, approval methods
Discussion — threaded deliberation
Proposal — structured idea submission
Budget — participatory resource allocation
Ranking — prioritization methods
Delphi — iterative expert convergence
Brainstorm — divergent idea generationKey Principles
Each Tapa has its own API, minimal dependencies on other Tapas, clear input/output contracts, and isolated UI components.
Benefits
Organizations adopt only what they need
Contributors work on one Tapa without full system knowledge
External systems integrate individual components
Testing becomes simpler with isolated modulesMigration
No forced migration. Tapas coexist with the current architecture. Gradual adoption is possible.
This connects to the Style Guide proposal (Daisy UI) and Mobile First proposal — all three form one coherent modernization strategy.0 votes up 0 votes down-
@peer_norback I don't know if you're aware of, but Decidim itself is already modular. This is the full picture of the app with all the official modules: https://docs.decidim.org/en/develop/develop/_images/diag-ce758fb5db0c7d5868f13b103a1cba756573ea80.svg
https://docs.decidim.org/en/develop/develop/guide_architecture
You can also see some real world examples here: https://docs.decidim.org/en/develop/develop/guide_example_apps
By default we have lots of enabled modules, we discussed in the past how to improve the generator with the defaults for this, but we haven't reach to a good consensus here. I'd change a lot of the current definition before going forward with this proposal, just to be aligned with what we currently have (i.e. basically the modules form the current decidim gem - https://rubygems.org/gems/decidim)
decidim-accountability = 0.31.0
decidim-admin = 0.31.0
decidim-api = 0.31.0
decidim-assemblies = 0.31.0
decidim-blogs = 0.31.0
decidim-budgets = 0.31.0
decidim-comments = 0.31.0
decidim-core = 0.31.0
decidim-debates = 0.31.0
decidim-forms = 0.31.0
decidim-generators = 0.31.0
decidim-meetings = 0.31.0
decidim-pages = 0.31.0
decidim-participatory_processes = 0.31.0
decidim-proposals = 0.31.0
decidim-sortitions = 0.31.0
decidim-surveys = 0.31.0
decidim-system = 0.31.0
decidim-verifications = 0.31.0
Also you ahve more information (on the Official and Community modules) here: https://decidim.org/modules/
1 votes up 0 votes down-
Hi Andrés,
I know Decidim is modular, but I thought the modules were like building blocks in a heavy system that is not smartphone-friendly.Are the modules already standalone? In that case, my proposal can be ignored completely.
'Tapas' are simple processes that only make one thing each.
A series of tapas can, in turn, make everything one needs.0 votes up 0 votes down
-
-
Sign in with your Atmosphere account to comment.