- Design update & refining
Note: this includes the following visual refining:- Blue and Dark themes
- Simplify packages description versions links
- Simplify footer and keep it to page bottom
- Shorten navigation "Browse Source" to "Source" and "Module Docs" to "Modules"
- Use visual alignment for inputs
- Use a responsive design for small screen widths
Movitation: offer the significant number of mobile and tiled window manager users a better experience
Based on: https://discourse.elm-lang.org/t/poll-your-use-of-package-elm-lang-org-on-mobile-or-tablet/4813 - Rank packages based on average use per year in around 4300 Elm Open Source applications
Motivation: offer users a fair ranking based on actual packages use to help them choose one.
Based on an improved version of: https://discourse.elm-lang.org/t/most-popular-packages-in-open-source-applications/4207
Elm conferences talks ranking is still used for packages with equal or no popularity. - Search query parameter in URL
Motivation: allow to go back to search results after checking a package doc during a search
Notes:- On Search page, cilck logo to reset
- On Package page, click the package version to reset
- Support for firefox keyword bookmark (right click on search input) or chrome search engine setting
Motivation: fast access in browser for searching packages from anywhere - Sticky scrollable right navigation
Motivation: improve modules navigation - Add About section with install command, release date, license and dependencies
Motivation: Based on open issues and feedback from https://github.com/dmy/elm-package-info.
More precisely:
Install command: #27, #288, https://discourse.elm-lang.org/t/the-governance-of-elm-docs-and-smaller-tools/4571 Note: there might have been some arguments against it by the past, but I was not able to find the source (I searched most of old google groups) and can't think of any, so tell me if you know.
Release date: meticulous authors put detailed release notes in GitHub Releases page. In addition to giving information about the release date, this links directly to this release page. This link has been suggested by Ian Mackenzie. For an example see: https://github.com/ianmackenzie/elm-geometry/releases
License: Allow companies developers to detect licensing issues as early as possible
Dependencies: Make easier for developpers to reduce their dependencies and chose ones from trusted authors.
Inspired by Richard talk part about dependencies: https://youtu.be/RN2_NchjrJQ?t=1391 - Click a function/type/operator to go to its source
The link to documentation is now the whole padding on the left of the markdown comment.
Right-clicking (or long pressing on mobile) the symbol to get the link also still works. - Add warning for latest packages version not compatible with Elm 0.19.1
Motivation: prevent users trying to use old packages - Add support for /packages/author URL
Motivation: see packages from trusted authors (includingelm
andelm-explorations
)
- Use "elm-search" when query contains "->" and query submitted (Enter pressed)
Motivation:- offer advanced users a shortcut to elm-search
- help onboarding of haskell (hoogle) users
- Space in modules search box displays all symbols
Motivation: provide an index of a package functions without changing the current design and without disturbing users that don't want it.
- Improve multi-line signatures detection
Before:
https://package.elm-lang.org/packages/ianmackenzie/elm-geometry/latest/QuadraticSpline2d
https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest/Graphql-Document
After:
https://elm.dmy.fr/packages/ianmackenzie/elm-geometry/latest/QuadraticSpline2d
https://elm.dmy.fr/packages/dillonkearns/elm-graphql/latest/Graphql-Document
Note: also add support for wrapping to handle special cases like browsers with forced fonts or zoom. - Fix README overflowing images
Before: https://package.elm-lang.org/packages/arsduo/elm-dom-drag-drop/latest/
After: https://elm.dmy.fr/packages/arsduo/elm-dom-drag-drop/latest/ - Fix DOM reflows content jumps
- Fix "Using Packages" link
- Include bold font for Source+Code+Pro
Improves functions/types/operators names font rendering - Fix operators links
Properly fix #286 (#287 is wrong) - Replace 404 docs previews by https://elm-doc-preview.netlify.com/
- Fix SVG logo on IE11
- Allow links to README fragments
Fix #304 - Fix headers wrapping
Before: https://package.elm-lang.org/packages/ianmackenzie/elm-geometry-linear-algebra-interop/latest/Geometry-Interop-LinearAlgebra-Direction2d
After: https://elm.dmy.fr/packages/ianmackenzie/elm-geometry-linear-algebra-interop/latest/Geometry-Interop-LinearAlgebra-Direction2d - Limit search results to 300 packages
This avoids performance to degrade everyday a little more and should not have any impact on almost any use case.