Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: control ordering of topics in wiki sidebar via number prefixes of md file and folder names #102

Closed
mi-hol opened this issue Jun 26, 2023 · 11 comments
Assignees
Labels
Process&Procedure general rule for collaboration

Comments

@mi-hol
Copy link
Contributor

mi-hol commented Jun 26, 2023

Issue:

Currently sequence of topic is not optimal for new users because topic are sorted by alphabetic md file name.

The topic "What to put into this section" should be the first topic from my view

Example:
image

Solution Proposal:

Use number prefixes for md file names as explained in linked section of Docusaurus user manual

Please comment, in case it gets agreed, I'll create the PRs to implement the change proposal.

@karniv00l
Copy link
Member

Use number prefixes for md file names as explained in linked section of Docusaurus user manual

I disagree on that method

Screenshot 2023-06-27 at 12 24 22

Preferred one: https://docusaurus.io/docs/sidebar/autogenerated#autogenerated-sidebar-metadata

@mi-hol
Copy link
Contributor Author

mi-hol commented Jun 28, 2023

@karniv00l thanks for your comment.

  1. Are you aware of the pros and specifically cons of both approaches (as they are not listed in docusaurus manual)?
  2. Do you happen to know what happens when some docs have embedded metadata while others do not?

@mi-hol
Copy link
Contributor Author

mi-hol commented Jun 30, 2023

Biggest con for metadata driven approach is the lacking visibility in all "context view" UIs (i.e. FileManagers, GH navigation views).
The metadata approach is therefore violating the highly successful WYSIWIG concept.
This violation creates a big acceptance and adherence hurdle for users.

As I advocate to prioritize useability over other aspects of computing this is my reason for suggesting the numbered prefix approach
image

@nmschulte
Copy link
Contributor

nmschulte commented Jul 3, 2023

I personally like the metadata approach, but agree about the visibility concern @mi-hol.

One other drawback I found to the metedata approach is that it doesn't allow [that I've found] to order a page ahead of a sub-collection; i.e. https://github.com/FOME-Tech/wiki/pull/112/files#diff-0680335692b35ee37c48aa5714aa9ee62c208379da7f6c338d94215cfe83b573R2 has no effect to put the page above the two directories.

@karniv00l
Copy link
Member

Ok either way is fine with me

@OrchardPerformance
Copy link
Member

As long as it's easy to implement, functional and works across all pages then I am not enough of an expert to have any fixed opinion.

If there is a better way than the current method, make a guide and we can start using it.

@mi-hol
Copy link
Contributor Author

mi-hol commented Jul 4, 2023

first step of "guide" in PR #119

@mi-hol mi-hol added the Process&Procedure general rule for collaboration label Jul 4, 2023
@mi-hol mi-hol self-assigned this Jul 4, 2023
@OrchardPerformance
Copy link
Member

It seems the only concern is the replacement of links when changing a pages location, something that find and replace should be able to cope with.
I think VSCode allows you to do that across a whole open project?

@mi-hol
Copy link
Contributor Author

mi-hol commented Jul 8, 2023

Use number prefixes for md file names as explained in linked section of Docusaurus user manual

I disagree on that method

Screenshot 2023-06-27 at 12 24 22

from PR #125 we understand now that below statement in Docusaurus manual
"Updating a number prefix can be annoying, as it can require updating multiple existing Markdown links:"
is incorrect!.
This means the effort to convert FOME wiki files to numbered prefix approach is low

I preserved this knowhow via below comment in \wiki\docs\01-Welcome-to-FOME.md

[//]: # (Docusaurus 2.4.1 requires a root doc/page to have a "slug: /" directive, otherwise 404 is assumed as a welcome message)
[//]: # (also numbered prefixes are NOT to be used in links, because Docusaurus 2.4.1 matches them automatically )

@mi-hol mi-hol changed the title Proposal: control ordering of topics in wiki sidebar via number prefixes of md file names Proposal: control ordering of topics in wiki sidebar via number prefixes of md file and folder names Jul 8, 2023
@karniv00l
Copy link
Member

I preserved this knowhow via below comment in \wiki\docs\01-Welcome-to-FOME.md

Instead, we could add/extend a section about making internal and external links (and how they differ, and what is not recommended and why) in https://github.com/FOME-Tech/wiki/blob/master/docs/Quick-page.md

@mi-hol
Copy link
Contributor Author

mi-hol commented Jul 9, 2023

Instead, we could add/extend a section about making internal and external links (and how they differ, and what is not recommended and why)

ok, will add this section after PR #125 is merged. Simon seems out, hence a PR backlog has build up.

mi-hol added a commit to mi-hol/fome-wiki that referenced this issue Aug 31, 2023
as promised in FOME-Tech#102 (comment)
I'll work to improve this step by step
nmschulte pushed a commit that referenced this issue Sep 2, 2023
as promised in #102 (comment)
I'll work to improve this step by step
mi-hol added a commit to mi-hol/fome-wiki that referenced this issue Sep 2, 2023
@mi-hol mi-hol mentioned this issue Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Process&Procedure general rule for collaboration
Projects
None yet
Development

No branches or pull requests

4 participants