ScratchAddons icon indicating copy to clipboard operation
ScratchAddons copied to clipboard

New addon: Scratch 3.0 → 2.0

Open mxmou opened this issue 1 year ago • 15 comments

Resolves #985 Resolves #7705

An addon that changes scratch-www pages to look like scratchr2. Less commonly used pages can be added in later PRs. In the screenshots below, old studio layout is enabled but the 2.0 preset in website dark mode isn't.

image image image

mxmou avatar Aug 09 '24 16:08 mxmou

I guess this can't be enabled simultaneously with 2.0 → 3.0

WorldLanguages avatar Aug 10 '24 15:08 WorldLanguages

I guess this can't be enabled simultaneously with 2.0 → 3.0

It can be: https://github.com/ScratchAddons/ScratchAddons/issues/985#issuecomment-744082987

I don't know how a Scratch 1.x theme, if it's ever added, could interact with the existing ones though.

mxmou avatar Aug 10 '24 15:08 mxmou

That's a mouthful of commits :thinking:

ghost avatar Aug 10 '24 22:08 ghost

Nice, also there is a similar userstyle: https://github.com/mrbatguy0314/Scratch-3-to-Scratch-2 https://userstyles.world/style/11602/scratch-3-to-2 Also, I can give you some of mine I guess LOL

medlans avatar Aug 11 '24 15:08 medlans

I guess this can't be enabled simultaneously with 2.0 → 3.0

I mean, the existing scratchr2 userstyle can LOL (it will not let me edit soo). It just stylizes the pages that are already 2.0 as 3.0 and the already 3.0 pages as 2.0.

medlans avatar Aug 11 '24 15:08 medlans

How does this play with "old studio layout"? Should we consider merging it into this? Or should it stay separate?

WorldLanguages avatar Aug 21 '24 17:08 WorldLanguages

How does this play with "old studio layout"? Should we consider merging it into this? Or should it stay separate?

Currently all combinations of settings are supported: 3.0 → 2.0 enabled or disabled, old studio layout disabled or in either mode (default, 2.0 → 3.0). I think old studio layout should stay separate, but its mode setting could be removed - it could use the 2.0 → 3.0 mode by default and the current default mode if 3.0 → 2.0 is enabled.

The 2.0 → 3.0 mode looks like this if the 3.0 → 2.0 addon is disabled (it doesn't make much sense if 3.0 → 2.0 is enabled): image

The default mode looks like this if the 3.0 → 2.0 addon is enabled: image

mxmou avatar Aug 21 '24 17:08 mxmou

I think old studio layout should stay separate, but its mode setting could be removed

Yes, that's up to you, the setting can be removed.

WorldLanguages avatar Aug 21 '24 19:08 WorldLanguages

There should really be an accurate scratch 2.0 userstyle.

SifaOrange avatar Aug 31 '24 19:08 SifaOrange

It's funny how this addon is the opposite of the userstyle that inspired Scratch Addons.

WorldLanguages avatar Sep 03 '24 19:09 WorldLanguages

It's funny how this addon is the opposite of the userstyle that inspired Scratch Addons.

Evil Scratch Addons be like: Scratch 3.0 -> 2.0

CST1229 avatar Sep 04 '24 05:09 CST1229

Nice, also there is a similar userstyle: https://github.com/mrbatguy0314/Scratch-3-to-Scratch-2 https://userstyles.world/style/11602/scratch-3-to-2 Also, I can give you some of mine I guess LOL

This one changes a lot of stuff by the way (though it hides the extensions on the project page which also hides the cloud data thing, and the pages that it really works for are studios, projects, the main page, you can use some of its styles)

medlans avatar Sep 08 '24 18:09 medlans

I can merge as admin on request.

WorldLanguages avatar Sep 15 '24 21:09 WorldLanguages

dark-www's message count color, input background, and colored area settings seem to be overridden when scratch3to2 is enabled.

Samq64 avatar Sep 15 '24 22:09 Samq64

dark-www's message count color, input background, and colored area settings seem to be overridden when scratch3to2 is enabled.

I'll fix the message count - I started working on this addon before the setting was added. I don't think input background and dark colored areas have any effect on vanilla scratchr2 pages which this addon tries to imitate (inputs are controlled by the content background color).

mxmou avatar Sep 16 '24 16:09 mxmou

how do i add the addon to my browser?

(Chrome Browser)

VojtaBubela11 avatar Oct 27 '24 10:10 VojtaBubela11

how do i add the addon to my browser?

(Chrome Browser)

You can download it on this page: click Code, then Download ZIP. Extract the zip file and follow these instructions to add it to the browser. If you already have Scratch Addons installed, you need to disable that version because having two versions of the same extension at once will cause bugs.

mxmou avatar Oct 27 '24 10:10 mxmou

@mxmou Do we want this one for 1.41.0 ?

WorldLanguages avatar Dec 27 '24 21:12 WorldLanguages

@mxmou Do we want this one for 1.41.0 ?

It can be merged once I update it to support the new Ideas and CGs, which shouldn't take long.

mxmou avatar Dec 28 '24 20:12 mxmou

I think this is ready to be merged. It doesn't style every page yet, but it doesn't break anything and we can add support for less commonly visited pages in later updates.

mxmou avatar Dec 29 '24 20:12 mxmou

Sounds good to me

WorldLanguages avatar Dec 30 '24 21:12 WorldLanguages

I think this is ready to be merged. It doesn't style every page yet, but it doesn't break anything and we can add support for less commonly visited pages in later updates.

beta tag?

CST1229 avatar Dec 31 '24 08:12 CST1229

beta tag?

I don't think it's needed - the addon doesn't break anything, it just keeps the 3.0 design mostly unchanged on some pages.

Edit: actually, since this addon affects the entire website, it's possible that I missed some compatibility issues with other addons, so maybe a beta tag would make sense? Either way, I'll merge this now and the tag can be added in a later PR if we want.

mxmou avatar Dec 31 '24 21:12 mxmou

Wait, aren't the photos actually 2.0? Good job!

Secret-chest avatar Jan 04 '25 09:01 Secret-chest

Wait, aren't the photos actually 2.0? Good job!

They're 3.0 with the addon! Old studio layout is also enabled in the studio screenshot.

mxmou avatar Jan 04 '25 11:01 mxmou

we do need the editor and fullscreen player though

SifaIssac avatar Jan 23 '25 17:01 SifaIssac

we do need the editor and fullscreen player though

There are already addons that you can set up to make the editor look more like 2.0.

DNin01 avatar Jan 23 '25 17:01 DNin01

There are already addons that you can set up to make the editor look more like 2.0.

the need for superpresets is bigger than ever

CST1229 avatar Jan 23 '25 17:01 CST1229

There are already addons that you can set up to make the editor look more like 2.0.

the need for superpresets is bigger than ever

which is the 2.0 blocks syle,bevel,icons, and the font

SifaIssac avatar Jan 23 '25 17:01 SifaIssac

In the Discord server, 1 person asked for a setting to disable the 2.0 icons (the feedback message has no more detail, but I imagine they mean the 2.0 views icon in project pages, etc.)

WorldLanguages avatar Jan 23 '25 21:01 WorldLanguages