Skip to content

feat: Add seasonal content for Smithed Summit 2026#91

Merged
Bentroen merged 14 commits into
mainfrom
feat/summit26
May 21, 2026
Merged

feat: Add seasonal content for Smithed Summit 2026#91
Bentroen merged 14 commits into
mainfrom
feat/summit26

Conversation

@Bentroen
Copy link
Copy Markdown
Member

This pull request add seasonal content related to the Smithed Summit jam, hosted on the Note Block World community from May 16 to June 15, 2026.

Features

  • Add blog post with the event details, regions to submit for and the submission rules.
  • Add event banner to the homepage.
    • Repurposed from the M.A.E.S.T.R.O. event in 2025.
    • Provides a link to the blog post and a view of the current entries (tagged #summit26).
    • Features a countdown timer that shows the text Ends in <days> days during the submission period, and Almost over! during the grace period.
  • Add a popup with submission guidelines when the event tag is added to the description.
    • Lets the user pick which region they're submitted to, which auto-adds the relevant region tag to the description.

Screenshots

image image image

Bentroen added 14 commits May 21, 2026 00:48
…t if present

Updated region tag behavior:

**First pick (no region tag in description)** — Inserts `[Region Name]` at the textarea caret. Pill buttons use `onMouseDown` with `preventDefault` so the description field keeps focus and the selection stays put.

**Later picks (any region tag already present)** — Replaces that tag in place, no matter where the caret is.

**After insert/replace** — Refocuses the description field and places the caret right after the tag.

`SongForm` now holds a `descriptionRef` merged with react-hook-form’s `register('description')` ref so `EventSubmissionInfo` can read `selectionStart` / `selectionEnd`.
When inserting a region tag at the caret (first pick, no tag in the description yet), a leading space is added only if the character before the insertion point is not whitespace and the caret is not at the start of the field.

Replacing an existing region tag is unchanged — it still swaps the tag in place so any spacing already present stays as-is.
@Bentroen Bentroen merged commit ae6484c into main May 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant