Skip to content

Issues and Ideas for Scaladoc #84

@felixmulder

Description

@felixmulder

Ideas / General Issues

  • When using multiple @see in docstrings, the order gets scrambled - should not happen. Same applies to @note
  • Search the text of the doc comments in addition to the method names (TBD, not sure if feasible performance-wise)
  • Make the EntityIterator in index.js switch between right and left by visibility instead of index
  • Async all the things!
    • Tried this naively on writeFor methods, no performance gain, need to profile - crashed
  • Auto-expand groups and hidden members on permalink or anchor click.
    • When a member is hidden by default, or by filter, and then selected via permalink or anchor click on page, the member must be shown to the user in the same manner as a visible member.
  • Differentiate between object_class_comp.svg and object_trait_comp.svg (fixed in: Minor fixes to Scaladoc scala#5077)
  • When trying to expand the 'Full Signature' of a method that is shown as '[use case]', for example Option . max., the method body collapses (fixed in: Minor fixes to Scaladoc scala#5077)
  • scala.Predef is missing from sidebar when browsing other scala.X entities (might be all objects without companion class/trait) (fixed in: Minor fixes to Scaladoc scala#5077)
  • Predef extends ... needs to go away (sidebar)
  • In search results, place spacer before (c) instead of after. Also place (o) before (c) or (t). This'll make the search uniform to the sidebar (http://imgur.com/a/c1uyX) (fixed in: Minor fixes to Scaladoc scala#5077)
  • Add type members to search in IndexScript.scala
  • Be able to navigate back to search results from a clicked search result entity
  • Fix regression where anchor-links don't highlight the target member
  • Fix anchor links mentioned here: Remove mention of deprecated I/O methods from Predef main comment scala#5018 (comment)
  • Change behavior of "x"-button on input fields to only be removed if there is no input (changed from .on("blur", function () { ... }))
  • Remove Template.scala and other unused files
  • Remove dark bg on entity #definition
  • Remove unfold arrows in favor of highlighted left side
  • Unclutter contained classes (i.e. classes listed in package definition)
  • Hover-text on packages
  • Add sub-packages to side along with parent package of current entity for quick nav
  • Useful search result hover text use first sentence until the next point is added (Scaladoc: Add better hover-text in search results scala#4978)
  • Add @shortDescription annotation for use with hover-text and short method summary
    StreamBuffer in Graphviz. Vlad says to instantiate a generator for each Graphviz
  • add some indicator that search is in progress

Desktop issues

Mobile Issues

General

  • When rotating the phone to landscape the font becomes quite large (compare [1] and [2]) see add new search - featuring entity and member search scala#4912 (comment)
  • Unfolding the doc comment of TraversableOnce.reduceRight: the text is too large and overflow, not everything is readable
  • Remove auto-capitalization in input field (by: @lrytz)
  • There's no more get the abstract modifier (TraversableLike.foreach, package mutable) - is that by design?

Android

iOS

  • Unfolding / folding the doc of a member requires two taps. the first seems to do what hovering does on the desktop version.
  • Down triangle is replaced by an emoji on iOS, use a glyph from the material icons font instead (already in scaladoc), when this is done - perhaps the layout of the member should be rethought to be more responsive
  • Jumpy scroll sometimes, sometimes only header moves (Safari & Chrome)
  • Some pages take a really long time to display - could be because of dropbox hosting (Chrome & Safari)
  • When clicking on a member, the page sometimes jumps to the top (Chrome & Safari)
  • Some page bodies are wider than the screen, for example "object Boolean" (@lrytz)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions