spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

The SPDX 3.0 HTML page does not have the version selection dropdown

Open goneall opened this issue 1 year ago • 3 comments

See: https://spdx.github.io/spdx-spec/v3.0/

goneall avatar Apr 23 '24 22:04 goneall

Check on my browsers (Chrome, Firefox, and Safari), it does have the version selection dropdown on the navigation list in the left pane.

(The HTML, generated by mike & mkdocs, at https://github.com/spdx/spdx-spec/blob/gh-pages/v3.0/index.html also has the version-select enabled)

But somehow the default "highlighted" position in navigation list is always "Core".

(Try to select any chapter/class/property/annex, the blue highlight will always be at the "Core". This behaviour is different in v2.2 and v2.3 sites, where the blue highlight will be at the position which correspond the current page.)

As the "Core" heading is a little bit down in the navigation list, as a result, the version selection dropdown is out of the view and a user has to scroll up the left pane in order to see the dropdown. So yes this has to be fixed.

bact avatar Apr 28 '24 18:04 bact

Inspecting the HTML:

  • The ul element for the "model" always got current value in its class property.

  • Also, the a element for the "Core" always got current value in its class property.

bact avatar Apr 28 '24 18:04 bact

Filed #958 to cover the Core expansion issue.

licquia avatar May 07 '24 16:05 licquia

User error - you just have to scroll up

goneall avatar Aug 10 '24 17:08 goneall

Would be great anyway if we can fix the UI to have the dropdown immediately visible.

bact avatar Aug 10 '24 17:08 bact