{"id":18707779,"url":"https://github.com/discourse/discourse-right-sidebar-blocks","last_synced_at":"2025-04-12T10:30:51.242Z","repository":{"id":37377158,"uuid":"503874181","full_name":"discourse/discourse-right-sidebar-blocks","owner":"discourse","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T22:23:51.000Z","size":412,"stargazers_count":11,"open_issues_count":2,"forks_count":14,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-26T05:22:39.141Z","etag":null,"topics":["discourse-theme-component"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-15T18:08:30.000Z","updated_at":"2025-02-27T01:57:20.000Z","dependencies_parsed_at":"2024-02-29T21:24:43.839Z","dependency_job_id":"26335264-97ad-4fac-9327-4747385f7f73","html_url":"https://github.com/discourse/discourse-right-sidebar-blocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"discourse/discourse-theme-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-right-sidebar-blocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-right-sidebar-blocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-right-sidebar-blocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-right-sidebar-blocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/discourse-right-sidebar-blocks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248552978,"owners_count":21123348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discourse-theme-component"],"created_at":"2024-11-07T12:19:40.308Z","updated_at":"2025-04-12T10:30:51.003Z","avatar_url":"https://github.com/discourse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Right Sidebar Blocks\n\nAdds ability to display a right-sided sidebar to topic list routes. There are two settings included:\n\n- `blocks`: choose the blocks to display and adjust their ordering\n- `show_in_routes`: decide which routes to display the sidebar (by default, it will show on all lists except for `/categories`)\n\n### Included blocks\n\nThis theme component includes a few blocks you can use in your sidebar:\n\n- popular-tags\n- top-contributors\n- recent-replies\n- category-topics\n- custom-html\n- subcategory-list\n- tag-topics\n- top-topics\n- category-list\n\nYou can also use other Ember components as blocks, you just need to use the correct name. For example, core includes a `signup-cta` Ember component, and you can use it in the sidebar as is. (Note that you can't use components that expect a set of parameters.)\n\n### Available block parameters\n\nYou can control some features for the provided blocks via parameters.\n\n| name                        | description                           | default        | value                                            | available for                    |\n|-----------------------------|---------------------------------------|----------------| ------------------------------------------------ |----------------------------------|\n| count                       | limits number of results              | varies         | number                                           | all except custom-html           |\n| excerptLimit                | limits length of each reply excerpt   | 150            | number                                           | recent-replies                   |\n| id                          | category id                           |                | category id (category-list uses comma-separated) | category-topics, category-list   |\n| content                     | contents to display                   |                | html                                             | custom-html                      |\n| scopeToCategory             | only shows in category X              |                | category id                                      | popular-tags                     |\n| excludedTags                | list of excluded tags                 |                | tagnames                                         | popular-tags                     |\n| displayInSpecificCategories | list of categories to show the widget | all            | comma-separated numbers                          | popular-tags                     |\n| id                          | leaderboard id                        |                | number                                           | minimal-gamification-leaderboard |\n| tag                         | which tag to display                  |                | tag id                                           | tag-topics                       |\n| period                      | time period of top topics             | weekly         | all, yearly, quarterly, monthly, weekly, daily   | top-topics                       |\n| title                       | title of the block                    | varies         | string                                           | tag-topics, category-list, top-contributors  |\n| excludedGroupNames          | Excludes specified groups             |            | Group names                                      | top-contributors                 |\n| order                       | Orders the contributors               | likes_received | String (likes_received or likes_given)       | top-contributors                 |\n| period                      | Time period for top contributors      | yearly         | all, yearly, quarterly, monthly, weekly, daily   | top-contributors                 |\n\n### Blocks from other plugins\n\nThe Discourse Calendar plugin comes with a block called `upcoming-events-list` that you can use in conjunction with this component. The plugin will need to be installed to access it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-right-sidebar-blocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscourse%2Fdiscourse-right-sidebar-blocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-right-sidebar-blocks/lists"}