docs(wigets): build the trame widgets list page automatically#899
Conversation
|
Since your listing goes beyond just "Widgets", I would update the menu to be "Widgets and Applications". |
|
|
"9/56 repos" should be below the table. |
|
The first column should only be the picture + link to repo |
or on same line as the filter toolbar. |
Should I also change the page name ? (widgets.md) |
What about using the same components across |
|
Which means Widgets Applications |
Also use span for emojis within the line Also use a list instead of pills for topics of repos, bold for active ones Also add gap between the buttons Also changed the external github repos list Also put the image only in the first column, and title with description and emojis in the second Also put the shown repos count next to the filters The '...' topic is now put by `fetch_repos.py` directly for Community repositories Ref: Kitware#899 (comment) Ref: Kitware#899 (comment) Ref: Kitware#899 (comment) Ref: Kitware#899 (comment) Ref: Kitware#899 (comment) Ref: Kitware#899 (comment) Ref: Kitware#899 (comment)
|
Previous comments were addressed, the new pages look like the following (quite empty because many widgets lack the
Also deployed here |
|
I'm not sure about the "Known available widgets", especially :
How about "Widget catalog", "Trame widgets", "Ready-to-use widgets", "Widget listing" ? For the applications, it could be "Trame-based applications" |
|
Widget catalog |
| linson7017/pymipf | ||
| ndminhvn/interactive-population-visualization | ||
| Chahat08/BioSET_Visualizer | ||
| jph6366/trame-aoc No newline at end of file |
There was a problem hiding this comment.
brendanjmeade/fennil
brendanjmeade/parsli
XAITK/xaitk-saliency-web-demo
festim-dev/festim-gui
cardinalgeo/drilldown
MXJK851/SpinView/
There was a problem hiding this comment.
This is done here: cf66815
I also adapted to handle non github repositories, for these, all the information must be put in the external_repos.yml file. Otherwise, a fetch script should be implemented for every possible source of repository.
| @@ -0,0 +1,11 @@ | |||
| karelvrabeckv/mri-viewer | |||
There was a problem hiding this comment.
Those external repo are not necessary properly tagged... But we should be able to tag them on our end so they can be filtered properly with the UI.
There was a problem hiding this comment.
Meaning we can feed those tags into the JSON you use to display them.
kmarchais/mmgpy,trame,trame-app,vtk
There was a problem hiding this comment.
I changed to a yml file
cf66815
The information of the repos (like topics, description, etc...) is from the external_repos.yml if present, otherwise it is taken from the fetched content of the github repository.
For example now in the FOAMFlask app the topics aren't specified because the github repo already has the right topics.
|
Just added all the tags for the widgets. |
Also add more information in external_repos
8857ff0 to
0139ad6
Compare
|
In cf66815 I made a mermaid flowchart to describe what the |



As discussed in the last trame dev meeting, we would like to make a doc page automatically populated with trame widgets, containing only Kitware-owned repositories (github.com/Kitware and github.com/KitwareMedical) that have the
trameGitHub topic, as well as a maintained list of external repositories.This new doc page is deployed here, please give me your feedbacks and ideas.

I sorted by name, number of GitHub stars, number of commits, number of PRs ,
creation date, last commit date. Is it ok ? Is the number of contributors
sorting worthing being added (The fetching would be harder) ?
I made a list of tags that are based on the GitHub topics with the following
mapping
how would you change it ?
Any kind of suggestion is welcomed.
If this is merged, all the maintainers of these repositories should be asked to update the repository preview image, description, and topics accordingly.