Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 Add HedySelect custom element #5540

Merged
merged 49 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
212a35b
adding dropdown class
jpelay May 15, 2024
3b74de4
replace dropdowns in customize adventure with hedy dropdowns
jpelay May 16, 2024
4884c6f
refactor some functions
jpelay May 16, 2024
bfc5e4b
fix some errors
jpelay May 16, 2024
72afa72
adding templates to their own file
jpelay May 16, 2024
ec082f4
generic arrow movement
jpelay May 16, 2024
5486f35
move select to their own file
jpelay May 16, 2024
dcd957b
for some reason it doesnt work in the custom elements file
jpelay May 16, 2024
73bf4db
test select in public adventures
jpelay May 16, 2024
1950c53
adding default label
jpelay May 20, 2024
b92137d
Merge branch 'main' into generic-dropdown
jpelay May 20, 2024
077f51c
🤖 Automatically update generated files
jpelay May 20, 2024
84e53c5
change selects of public adventures
jpelay May 20, 2024
8079e66
Merge branch 'generic-dropdown' of https://github.com/hedyorg/hedy in…
jpelay May 20, 2024
04aaeff
🤖 Automatically update generated files
jpelay May 20, 2024
464d82e
export from custom elements file
jpelay May 21, 2024
ac437de
🤖 Automatically update generated files
jpelay May 21, 2024
c8f6f01
change name of element and remove inner select
jpelay May 21, 2024
12d1f8d
Merge branch 'generic-dropdown' of https://github.com/hedyorg/hedy in…
jpelay May 21, 2024
a8faabb
🤖 Automatically update generated files
jpelay May 21, 2024
1b2df46
fix tests
jpelay Jun 13, 2024
ef93027
🤖 Automatically update generated files
jpelay Jun 13, 2024
b6c48e7
Merge branch main into class overview redesign
jpelay Jun 13, 2024
bbfb166
Merge branch 'generic-dropdown' of https://github.com/hedyorg/hedy in…
jpelay Jun 13, 2024
19762ad
🤖 Automatically update generated files
jpelay Jun 13, 2024
4c69249
fix public adventures
jpelay Jun 19, 2024
c253a3b
Merge branch 'main' into generic-dropdown
jpelay Jun 19, 2024
503ef8b
fix tests
jpelay Jun 19, 2024
31a76a3
close dropdowns when clicking outside
jpelay Jul 17, 2024
95485f0
replace explore page filters
jpelay Jul 17, 2024
4e1071b
🤖 Automatically update generated files
jpelay Jul 17, 2024
1822e37
add translation for level error
jpelay Jul 17, 2024
2ad551b
Merge branch 'generic-dropdown' of https://github.com/hedyorg/hedy in…
jpelay Jul 17, 2024
f6822db
Merge branch 'main' into generic-dropdown
jpelay Jul 18, 2024
656bae3
fix merge
jpelay Jul 18, 2024
2335deb
🤖 Automatically update generated files
jpelay Jul 18, 2024
a772d24
style adventure page a bit better
jpelay Jul 18, 2024
9d9820c
Merge branch 'main' into generic-dropdown
jpelay Jul 18, 2024
a4cdaff
🤖 Automatically update generated files
jpelay Jul 18, 2024
570341f
fix cypress tests
jpelay Jul 19, 2024
4895c91
fix translations
jpelay Jul 19, 2024
c012d18
🤖 Automatically update generated files
jpelay Jul 19, 2024
8237308
Merge branch 'main' into generic-dropdown
jpelay Jul 30, 2024
8bf516c
🤖 Automatically update generated files
jpelay Jul 30, 2024
b7926f8
fixed translations files
jpelay Jul 30, 2024
318b8bc
🤖 Automatically update generated files
jpelay Jul 30, 2024
cfd858a
Update messages.po
jpelay Jul 30, 2024
e0fac2e
🤖 Automatically update generated files
jpelay Jul 30, 2024
404683b
Merge branch 'main' into generic-dropdown
mergify[bot] Jul 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🤖 Automatically update generated files
  • Loading branch information
jpelay authored and actions-user committed Jun 13, 2024
commit 19762ad9ffb9340ad8dd12c0ab42bae86adbeee8
5 changes: 4 additions & 1 deletion static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -60516,6 +60516,7 @@ ${o3}` : i3;
theModalEditor: () => theModalEditor,
toggleDevelopersMode: () => toggleDevelopersMode,
toggleDropdown: () => toggleDropdown,
toggleVariableView: () => toggleVariableView,
toggle_blur_code: () => toggle_blur_code,
toggle_keyword_language: () => toggle_keyword_language,
toggle_show_students_class_overview: () => toggle_show_students_class_overview,
Expand Down Expand Up @@ -60887,6 +60888,7 @@ ${o3}` : i3;
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"restaurant": "\u{1F363}, \u{1F355}, \u{1F354}",
"rock": "\u2702\uFE0F, \u{1F4DC}, \u{1F5FB}",
"select_all": "Select all",
"selected": "Selected",
"songs": "\u{1F3B5},\u{1F3B6}",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
Expand Down Expand Up @@ -61711,6 +61713,7 @@ ${o3}` : i3;
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"restaurant": "\u{1F363}, \u{1F355}, \u{1F354}",
"rock": "\u2702\uFE0F, \u{1F4DC}, \u{1F5FB}",
"select_all": "Select all",
"selected": "Selected",
"songs": "\u{1F3B5},\u{1F3B6}",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
Expand Down Expand Up @@ -103626,7 +103629,7 @@ def note_with_error(value, err):
var $editor;
var keywordHasAlert = new Map();
async function initializeCustomAdventurePage(_options) {
const editorContainer = document.querySelector("#adventure-editor");
const editorContainer = document.querySelector("#adventure_editor");
let lang = document.querySelector("#languages_dropdown").selected[0];
const TRADUCTIONS = convert(highlighting_trad_default);
if (!TRADUCTIONS.has(lang)) {
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions static/js/message-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ export const TRANSLATIONS: Record<string, Record<MessageKey, string>> = {
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"restaurant": "🍣, 🍕, 🍔",
"rock": "✂️, 📜, 🗻",
"select_all": "Select all",
"selected": "Selected",
"songs": "🎵,🎶",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
Expand Down Expand Up @@ -1183,6 +1184,7 @@ export const TRANSLATIONS: Record<string, Record<MessageKey, string>> = {
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"restaurant": "🍣, 🍕, 🍔",
"rock": "✂️, 📜, 🗻",
"select_all": "Select all",
"selected": "Selected",
"songs": "🎵,🎶",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
Expand Down
Loading