playframework / playframework/playframework.com

Search results should contain hints if page is Java or Scala

Open
#279 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
44
Forks
62
Avg merge
1d 8h
Merged PRs (30d)
3

Description

It's annoying to not see at first glance if a page is for the Scala or the Java API .This bothers me a long time already actually:

1
Suggestion:
2

Maybe this could be handled by adding tags for Java/Scala and somehow display that tag in the result heading? Like the language tag we add for
https://github.com/playframework/playframework.com/blob/be78c29a074d94ea3bacef3f30b04be2c9f760e8/app/views/documentation/algolia.scala.html#L14

https://github.com/playframework/playframework.com/blob/188aecaacc56f06edccd64ed2ea653d151cc5f12/app/views/documentation/header.scala.html#L24-L26
Just an idea however, not sure if that works.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading app/views/documentation/algolia.scala.html around the existing language tag and app/views/documentation/header.scala.html around the documented language display. Trace how search result headings are rendered and determine how Java or Scala identification can appear there; done means results visibly distinguish the Java and Scala APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
documentation, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.