Website icon indicating copy to clipboard operation
Website copied to clipboard

Stable download link and preview are reversed

Open Av32000 opened this issue 2 years ago • 5 comments

Before you start...

  • [X] Have you refreshed the page? You might be using an old version of the site.
  • [X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?

Chrome

Description

On the home page of the site, in the drop-down menu for downloading Files, the ''Stable Version'' button sends to the download link for the preview version, while the ''Preview Version'' button sends to the download link for the stable version

Steps To Reproduce

  1. Go to https://files.community/
  2. Open the drop-down menu
  3. Choose between Stable and Preview

Expected behavior

The Stable button links to the download link for the stable version and vice versa

Relevant Assets

image

Av32000 avatar Oct 13 '22 18:10 Av32000

@yaichenbaum can you take a look in the installers? I don't see anything wrong on the Svelte side.

TheOnlyTails avatar Oct 13 '22 18:10 TheOnlyTails

@TheOnlyTails to reproduce

  1. Download the sideload package
  2. Download the sideload preview package and see it still downloads the sideload package

The correct way to fix this would be to stop saving the last option the user choose. The primary button should always be the store.

yaira2 avatar Oct 13 '22 18:10 yaira2

@Tropix126 is there a chance you could make this change? I'm on vacation and won't have access to an editor for at least a week.

TheOnlyTails avatar Oct 13 '22 18:10 TheOnlyTails

I would like to point out that no matter which option is registered, the bug is always present

Av32000 avatar Oct 13 '22 18:10 Av32000

Sorry I closed I click the wrong button

Av32000 avatar Oct 13 '22 18:10 Av32000

The bug is still not patched on my side

Av32000 avatar Oct 24 '22 13:10 Av32000