Skip to content

Commit

Permalink
Update source files (2024-08-27T00:40:24.680Z)
Browse files Browse the repository at this point in the history
  • Loading branch information
scratchaddons-bot[bot] committed Aug 27, 2024
1 parent 62793f9 commit 9e348e6
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,10 @@ minimum_perc = 0
source_file = en/markdown/addons/paint-by-default.md
source_lang = en
type = GITHUBMARKDOWN

[o:scratch-addons:p:scratch-addons-website:r:markdown_addons_discuss-button]
file_filter = <lang>/markdown/addons/discuss-button.md
minimum_perc = 0
source_file = en/markdown/addons/discuss-button.md
source_lang = en
type = GITHUBMARKDOWN
64 changes: 64 additions & 0 deletions en/markdown/addons/discuss-button.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
---

**Customizable navigation bar** is an addon that allows users to add, modify, or remove links in the Scratch website's navigation bar, as well as tweak the user dropdown and change the bar's page scrolling behavior.

## Background

Scratch removed the discuss button that linked to the forums in July 2017.[^1] The original addon was introduced to bring it back and included an option to remove the ideas link.

## Features

- Add new links to Scratch pages or other websites.
- Re-order links and change their labels.
- Remove existing links.
- Prevent the navigation bar from scrolling with the page.
- Move the logged-in username out of the way.

## Settings

### Items

Controls the links displayed between the Scratch logo and search bar. Each item has the following inputs:

- Name: The link's label
- URL: The page to link to which can be relative to the home page (e.g. /mystuff) or absolute (e.g. https://example.com).

### Compact user dropdown

Moves the username of the logged-in user into the profile dropdown item.

### Stick to

- Top of screen: The navigation bar stays visible even when the page scrolls. This is Scratch's default behavior.
- Top of page: The navigation bar stays at the top of the page and scrolls away with it.

## Credit

The original addon was written by WorldLanguages, and TheColaber was the author of the rewrite.

## Changelog

- **v1.0.0** The first version that added the discuss button and optionally removed ideas.
- **v1.24.0**: Made the links fully customizable.
- **v1.28.0**: Added the compact user dropdown setting.
- **v1.32.0**: Added the "stick to" setting.

## Trivia

- This is the first addon to modify the Scratch website.
- This is the first and only addon to use a table setting.
- This is one of the few addons to have no credits.

## Gallery

![Compact user dropdown](/assets/img/addons/docs/compact-nav-dropdown.png)

The compact user dropdown.

## Related

- [Table setting pull request (#2875)](https://github.com/ScratchAddons/ScratchAddons/pull/2875)
- [Customizable editor menu bar](https://scratch.mit.edu/scratch-addons-extension/settings#addon-custom-menu-bar)

[^1]: https://scratch.mit.edu/discuss/topic/269283/
2 changes: 2 additions & 0 deletions en/static-front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ addons/60fps.md:
id: 60fps
addons/_index.html:
layout: home
addons/discuss-button.md:
id: discuss-button
addons/middle-click-popup.md:
id: middle-click-popup
addons/paint-by-default.md:
Expand Down

0 comments on commit 9e348e6

Please sign in to comment.