Skip to content

Website: remove /meetups and update routes - #44701

Merged
eashaw merged 6 commits into
mainfrom
website-remove-meetups
May 4, 2026
Merged

Website: remove /meetups and update routes#44701
eashaw merged 6 commits into
mainfrom
website-remove-meetups

Conversation

@eashaw

@eashaw eashaw commented May 4, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • Removed the /meetups page, and added a redirect going to /gitops-workshop
  • Changed the route for the query generator back to /query-generator (was /report-generator), and updated links going to that page.

Summary by CodeRabbit

  • Removed Features

    • Meetups page removed — navigating to /meetups now redirects to the GitOps Workshop.
  • Updates

    • “Report robot” renamed to “Query robot” across the query interface with updated labels, help text, and error messaging.
    • /report-generator now redirects to /query-generator; /query-generator serves the query generator directly.
    • Reports library platform sections adjusted (platform-specific lists swapped).

Copilot AI review requested due to automatic review settings May 4, 2026 21:16

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

fleet-release
fleet-release previously approved these changes May 4, 2026
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 77ac36f1-e75d-4b4b-adf7-df1de25629c2

📥 Commits

Reviewing files that changed from the base of the PR and between 7d0123d and d3357cd.

📒 Files selected for processing (1)
  • website/config/routes.js
🚧 Files skipped from review as they are similar to previous changes (1)
  • website/config/routes.js

Walkthrough

This PR removes the meetups feature: controller, frontend page registration, styles, view template, and the policy bypass entry. The /meetups route now redirects to /gitops-workshop. /query-generator was changed to call the query-generator/view-query-generator action directly and /report-generator now redirects to /query-generator. The admin UI was reworded from “Report robot” to “Query robot”. In the report-library view, the server-rendered lists were swapped so the Linux section iterates windowsReports and the Windows section iterates linuxReports.

Possibly related PRs

  • fleetdm/fleet#43871: Modifies the same /query-generator route configuration in website/config/routes.js.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description is minimal but covers the core changes. It lacks required checklist items, related issue reference, and validation details from the template. Add the completed checklist with relevant sections (e.g., validation, testing, backwards compatibility checks for route changes).
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Website: remove /meetups and update routes' directly summarizes the main changes: meetups page removal and route updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch website-remove-meetups

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
website/views/pages/docs/report-library.ejs (1)

49-77: ⚠️ Potential issue | 🟠 Major

Fix swapped data sources in Linux and Windows tabs.

The Linux tab (line 49) is iterating over windowsReports when it should iterate over linuxReports. The Windows tab (line 66) is iterating over linuxReports when it should iterate over windowsReports. This causes each tab to display the wrong platform's reports. Update the loops to match their respective platforms:

Required fix
         <div v-else-if="selectedPlatform === 'linux'">
           <% // Linux policies (server-side-rendered)
-            for(let report of windowsReports) {
+            for(let report of linuxReports) {
           %>
         <div v-else-if="selectedPlatform === 'windows'">
           <% // Windows policies (server-side-rendered)
-            for(let report of linuxReports) {
+            for(let report of windowsReports) {
           %>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@website/views/pages/docs/report-library.ejs` around lines 49 - 77, The Linux
and Windows tab loops are using the wrong data arrays; when selectedPlatform ===
'linux' the template currently iterates over windowsReports and when
selectedPlatform === 'windows' it iterates over linuxReports. Fix by swapping
the iterated collections: in the block guarded by selectedPlatform === 'linux'
iterate over linuxReports (for let report of linuxReports) and in the block
guarded by selectedPlatform === 'windows' iterate over windowsReports (for let
report of windowsReports), leaving the inner rendering (report.slug,
report.name, report.description, animated-arrow-button) unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@website/views/pages/docs/report-library.ejs`:
- Around line 49-77: The Linux and Windows tab loops are using the wrong data
arrays; when selectedPlatform === 'linux' the template currently iterates over
windowsReports and when selectedPlatform === 'windows' it iterates over
linuxReports. Fix by swapping the iterated collections: in the block guarded by
selectedPlatform === 'linux' iterate over linuxReports (for let report of
linuxReports) and in the block guarded by selectedPlatform === 'windows' iterate
over windowsReports (for let report of windowsReports), leaving the inner
rendering (report.slug, report.name, report.description, animated-arrow-button)
unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a032652f-730e-4570-aa9b-b9603c6499dc

📥 Commits

Reviewing files that changed from the base of the PR and between cf0c7e3 and 7d0123d.

📒 Files selected for processing (10)
  • website/api/controllers/view-meetups.js
  • website/assets/js/pages/meetups.page.js
  • website/assets/styles/importer.less
  • website/assets/styles/pages/meetups.less
  • website/config/policies.js
  • website/config/routes.js
  • website/views/layouts/layout.ejs
  • website/views/pages/admin/query-generator.ejs
  • website/views/pages/docs/report-library.ejs
  • website/views/pages/meetups.ejs
💤 Files with no reviewable changes (7)
  • website/assets/styles/importer.less
  • website/views/layouts/layout.ejs
  • website/views/pages/meetups.ejs
  • website/api/controllers/view-meetups.js
  • website/assets/styles/pages/meetups.less
  • website/assets/js/pages/meetups.page.js
  • website/config/policies.js

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR removes the standalone /meetups page and makes /query-generator the canonical public route for the query generator page.

Changes:

  • Deletes the /meetups page and its supporting controller, JS, and styles, and adds a redirect to /gitops-workshop.
  • Switches the query generator route back to /query-generator and updates related copy from “report robot” to “query robot”.
  • Removes meetups-specific asset loading and policy wiring.

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/views/pages/meetups.ejs Removes the server-rendered meetups page markup.
website/views/pages/docs/report-library.ejs Updates report-library copy to reference the query robot.
website/views/pages/admin/query-generator.ejs Renames on-page query generator copy and error text.
website/views/layouts/layout.ejs Removes the deleted meetups page script include.
website/config/routes.js Replaces the query generator route and adds the /meetups redirect.
website/config/policies.js Removes the deleted meetups controller policy entry.
website/assets/styles/pages/meetups.less Deletes meetups-specific styles.
website/assets/styles/importer.less Stops importing the deleted meetups stylesheet.
website/assets/js/pages/meetups.page.js Deletes the meetups page Parasails module.
website/api/controllers/view-meetups.js Removes the deleted meetups page controller.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/config/routes.js
Comment thread website/config/routes.js
@eashaw
eashaw merged commit 5ab0ead into main May 4, 2026
12 checks passed
@eashaw
eashaw deleted the website-remove-meetups branch May 4, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants