From 40ea7c62f32e13ea3be61e7766baa0a37d55ccc5 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 4 Nov 2024 15:37:40 +0000 Subject: [PATCH] Thank you Jak! --- CHANGELOG.md | 6 +++++ src/survey/router.gleam | 51 ++++++++++++++++++++++------------------- 2 files changed, 34 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35378e7..660099d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.7.0 - Unreleased + +- Changed "company" to "organisation". +- Fixed HTML title. +- Fixed styling of selects on Safari. + ## v1.6.1 - 2024-11-04 - Fixed `projects` field not getting saved. diff --git a/src/survey/router.gleam b/src/survey/router.gleam index 6a5ec44..5149ee3 100644 --- a/src/survey/router.gleam +++ b/src/survey/router.gleam @@ -81,12 +81,12 @@ fn data_collection() { } const question_names = [ - "projects", "individual-sponsor", "company-sponsor", "sponsor-motivation", + "projects", "individual-sponsor", "organisation-sponsor", "sponsor-motivation", "gleam-user", "gleam-experience", "gleam-open-source", "targets", "writing-libraries", "writing-applications", "runtimes", "gleam-in-production", - "company-name", "professional-experience", "other-languages", "news-sources", - "country", "likes", "improvements", "job-role", "company-size", - "production-os", "development-os", "anything-else", + "organisation-name", "professional-experience", "other-languages", + "news-sources", "country", "likes", "improvements", "job-role", + "organisation-size", "production-os", "development-os", "anything-else", ] const html_head = " @@ -96,7 +96,7 @@ const html_head = " - Developer Survey 2022 Results – Gleam + Developer Survey 2024 @@ -144,15 +144,16 @@ const html_form = html_head
- How large is your company? - - - - - - - + + + + + + +
@@ -255,8 +256,8 @@ const html_form = html_head
- What is your company name? - + What is your organisation's name? +
@@ -282,15 +283,15 @@ const html_form = html_head
- Does your company sponsor Gleam? - - -

+ Does your organisation sponsor Gleam? + + +

Thank you so much! 💜

-
+
What might make you consider sponsoring?
@@ -663,7 +664,6 @@ document.querySelector('form').addEventListener('keypress', event => { - @@ -830,8 +830,13 @@ input:not([type='checkbox']):not([type='radio']) { display: block; width: 100%; margin: var(--gap-1) 0; - padding-left: var(--gap-1); - padding-right: var(--gap-1); + padding: 4px var(--gap-1); + border-radius: 1px; + border: none; +} + +select { + appearance: none; } input[type='checkbox'],