Package page #519
Replies: 2 comments 2 replies
-
It could, but can't always. If a majority of new licenses are now SPDX, not all of them are (or were). Only starting with cabal 3.0 is SPDX enforced. |
Beta Was this translation helpful? Give feedback.
-
Wooaaa thank you @flip111 for all those feedbacks! As I'm currently working on improving Flora's design globally, I had plenty of similar thoughts for the package page. I will include your points into consideration and hope my redesign will solve the most of the issues mentioned. And If you want, I can ping you when the first version including my work will be deployed, your feedback will be welcome! 🫶 |
Beta Was this translation helpful? Give feedback.
-
1. Navigation
It would be good to keep a good flow of navigation to flora and from flora. I would put the Links section in a more prominent place. At least when #518 point 3 is not there.
Links could be either the first thing top left. Or it could be horizontal underneath the title like this:
2. Links
.git
. I don't dislike it, though the use is interesting and not obvious at first sight. When you left click on it the.git
is removed by github. So it use would be if you right click copy link and then paste in your terminal for a git clone command. Perhaps make a copy button instead that copies the links with the.git
to make it a bit more obvious.Links
because it's part of the navigation of the flora website. Perhaps use a tab-like interface in which you can switch betweenReadme
,Changelog
andModules
(once documentation is available on Flora)3. Installation.
Installation currently found in the right side should not be part of the "normal listing of package properties" (left and right area). Instead it should be more visibly clear that there is an action to do here. For example chocolately has distinct visual elements and buttons and also aligns right https://community.chocolatey.org/packages the install command.
4. Left and right bar/area
Not sure what the idea behind is what information is in the left and what is in the right area. My guess is that left is for more administrative information and right more about technical information.
I would argue that people have a "package property" such as "tested compilers" straight in mind as a first step. And do not go through an intermediate step of "is it a technical property or an administrative property?". That means that this division between the left and the right bar doesn't have to be like this.
One could either make it one area (like hackage does it currently). Or divide it by another criteria, such as: Left most interesting properties, right the other ones.
Disregarding the links (as already discussed in point 1). Also disregarding "installation". This could be an order in which package properties are interesting:
When dividing over two columns. Left could have
Right could have
5. License
Could be clickable. Relevant websites:
6. Versions
Sun
,Fri
etc.9.4.0
it's unclear to me what the meaning is. Prefer a small remark instead.7. Installation
8. Tested compilers
Is fine as it is. But would like the buttons to be clickable to something. Perhaps to the GHC users guide of that version.
9. Dependencies
library:megaparsec
10. Dependents
@hackage
stuff as much as possible, only add this when the dependent list has the same package name from multiple repositories.11. Package Flags
?
mouse over is really good in my opinion. Could be added in more places where applicable.cabal build
command with the appropriate flags applied. Though arguable this would get too big for the sidebar and would have to be moved to a tab (as discussed above: readme, changelog, modules, build flags)12. Readme section
It is too narrow. Comparison between flora and github.
I have a 1440p monitor but i already imagine that on full HD there is still much empty space to be used left and right.
There should be a little bit more margin at the very bottom of the readme, perhaps 40px.
Beta Was this translation helpful? Give feedback.
All reactions