Skip to main content

Contribute

decidim-toggle is maintained by Voca, a project from Octree.

Issues and merge requests are welcome on GitLab:

Read the Code of conduct before participating.

Module developers adding a tab to their own gem: Integrate.

Before you push

docker compose up -d
docker compose exec toggle bash -lc 'cd /home/module && bundle install -j$(nproc) && ./bin/check'
cd website && yarn build
CheckCommand
All./bin/check (RuboCop, erblint, RSpec)
RSpecunset DATABASE_URL && RAILS_ENV=test bundle exec rspec
Docscd website && yarn build

Deep dives

TopicPage
Registry and add_tab internalsTab registry
Gem-owned views and layoutsView customization
Invalid form replay and redirectsError handling
Deface overrides (window.DecidimToggle)Deface usage
Editing this documentation siteDocumentation website

See also