Skip to content

Conversation

@vidishagawas121
Copy link

gh pr create
--title "Frontend: Display CompilerPlugin on front page"
--body "This PR adds a dedicated 'Compiler Plugins' section to the Scaladex front page.

  • Displays CompilerPlugin as its own platform alongside JVM, JS, and Native
  • Integrates search link for platform=compiler-plugin
  • Inherits consistent styling from existing ecosystem highlights
  • Adds tests to confirm correct rendering and data display

Depends on PR 2 (Backend – Index CompilerPlugin artifacts)."
--base main
--head feature/compiler-plugin-frontend

Things that are done:

  • FrontPage.scala — Added a new compilerPluginEcosystem section, separated from build tool plugins, and integrated it into the front page template parameters.

  • frontpage.scala.html — Introduced a new “Compiler Plugins” section using ecosystemHighlights, consistent with existing JVM/JS/Native sections.

  • Styling — Verified _frontpage.scss already covers the new section; no additional CSS changes were required.

  • Test Coverage — Added new tests in FrontPageTests.scala and updated Values.scala to include a complete CompilerPluginProj.

  • Lint / Syntax Checks — Ran all lint checks successfully; no warnings or errors found.

  • Build Verification — Full build passed successfully; code compiles cleanly with no structural issues.

- Introduce CompilerPlugin in Platform.scala
- Update BinaryVersion.toString to handle CompilerPlugin
- Update all platform matches in Artifact.scala to explicitly handle CompilerPlugin
- Throw UnsupportedOperationException where features aren’t implemented
- Add unit test for creating Artifact with CompilerPlugin
- Lints clean
- Update indexing logic to include CompilerPlugin artifacts
- Add database migration for CompilerPlugin if required
- Ensure queries return correct versions and metadata
- Add unit/integration tests for CompilerPlugin indexing
- Added CompilerPlugin ecosystem highlight on FrontPage
- Updated template to include a separate 'Compiler Plugins' section
- Ensured styling consistency with other platform sections
- Added tests verifying correct rendering and search links
- Updated test values for CompilerPlugin project
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.

1 participant