Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f7bc8cf
enhancement: Add issue templates for bug reports, enhancement request…
master-of-none Apr 7, 2025
33af85b
Merge pull request #89 from Crustaly/enhancement/issue_templates
Crustaly Apr 7, 2025
729e656
Revert "Enhancement: Add GitHub Issue Templates for Bug, Feature, and…
master-of-none Apr 7, 2025
d4a1e7e
Updated Folder structure
master-of-none Apr 7, 2025
92648f7
Merge pull request #90 from Crustaly/revert-89-enhancement/issue_temp…
master-of-none Apr 7, 2025
92e8b35
enhancement: Updated map and added a school to list
master-of-none Apr 10, 2025
60421e3
Merge pull request #109 from Crustaly/enhancement/updating-school
Crustaly Apr 10, 2025
a4340e9
Merge pull request #112 from Crustaly/release/bug-fixes
Crustaly Apr 14, 2025
3905ae7
feat: added prettier
DooHwanKim0419 Apr 16, 2025
5db217d
Changed gamezone divs into buttons
krs9851 Apr 16, 2025
bed59cb
Removed unnecessary alt text
krs9851 Apr 16, 2025
f3e2033
Merge pull request #120 from Crustaly/gamezone-ada-fix
krs9851 Apr 16, 2025
2013e29
Email Field has been removed fix
PrajwalaMugajjiShambulingappa Apr 17, 2025
5fa5a57
Merge pull request #118 from Crustaly/feature/prettier
master-of-none Apr 17, 2025
9d4b41d
Fixed SignUp.Vue
rajat-k1 Apr 17, 2025
26727f0
refactor: Fixed according to Vue Styles
master-of-none Apr 18, 2025
dcab6a1
Adding appropriate messages for error handling on the frontend
PrajwalaMugajjiShambulingappa Apr 21, 2025
f316458
Update CarCounting.vue
Crustaly Apr 21, 2025
836c33e
Update ColorGame.vue
Crustaly Apr 21, 2025
3734426
Merge pull request #131 from Crustaly/fix/punctuation-bug-issue
master-of-none Apr 21, 2025
038245e
feature: update team section with missing members
mlmcdan1 Apr 22, 2025
520176d
Merge pull request #134 from Crustaly/feature/update-team-section
master-of-none Apr 22, 2025
d414981
Addressed frontend changes and the Error code 500 - message is not be…
PrajwalaMugajjiShambulingappa Apr 22, 2025
aaed8d8
updated the 500 error
PrajwalaMugajjiShambulingappa Apr 23, 2025
90ac0d0
Merge pull request #133 from Crustaly/frontend-alert-updated
master-of-none Apr 23, 2025
f76e3ec
Merge branch 'main' into release/bug-fixes
rajat-k1 Apr 23, 2025
9bcb920
Merge pull request #119 from Crustaly/release/bug-fixes
master-of-none Apr 23, 2025
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
97 changes: 97 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Bug Report
description: Report a bug or issue with the Audemy platform
title: "[BUG]: "
labels: [bug]
body:
- type: markdown
attributes:
value: |
## 🐞 Bug Reporting Guidelines
Please follow this structured format to help us fix issues quickly. Make sure the bug is reproducible and hasn't already been reported.

- type: input
id: title
attributes:
label: Short bug title
description: A clear, concise summary of the issue
placeholder: "[Bug] Submit button unresponsive after second question in Addition Game"
validations:
required: true

- type: textarea
id: description
attributes:
label: Describe the bug
description: What happened and what should have happened?
placeholder: "After answering the second question in the Addition Game, the Submit button stops responding..."
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: List the steps to reproduce the issue
placeholder: |
1. Go to the Game Zone
2. Open the Addition Game
3. Answer the first two questions
4. Try clicking the "Submit" button on the third question
5. Notice that nothing happens
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected behavior
description: What should have happened?
placeholder: "The Submit button should validate the answer, provide feedback, and move to the next question."
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual behavior
description: What actually happened?
placeholder: "The button appears clickable but does nothing and no feedback is shown."
validations:
required: true

- type: textarea
id: media
attributes:
label: Screenshots or recordings
description: If applicable, drag and drop images or video clips that show the bug.
placeholder: "Attach any relevant media files here."

- type: textarea
id: environment
attributes:
label: Environment details
description: Add device, OS, and version information
placeholder: |
- Device: Desktop
- OS: macOS Sonoma
- Frontend Version: v0.3.4
- Backend Version: main@6f9c2d1

- type: textarea
id: context
attributes:
label: Additional context
description: Any other info (e.g., logged in or not, using a screen reader, keyboard-only navigation, frequency of bug)
placeholder: "Happens every time; using VoiceOver on macOS; logged in as student"

- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: I have searched for existing bug reports.
required: true
- label: I am using the latest version of Audemy.
required: true
- label: I can reliably reproduce this bug.
required: true
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Enhancement Request
description: Propose an improvement to an existing Audemy feature
title: "[ENHANCEMENT]: "
labels: [enhancement]
body:
- type: markdown
attributes:
value: "## 🔧 Enhancement Request\nUse this form to improve existing features in Audemy."

- type: textarea
id: current
attributes:
label: What feature are you enhancing?
placeholder: "Describe the current feature."
validations:
required: true

- type: textarea
id: improvement
attributes:
label: What improvement would you like to see?
placeholder: "Explain what should be improved and why."
validations:
required: true

- type: textarea
id: benefit
attributes:
label: How will this benefit users?
placeholder: "Tell us how this improves user experience or functionality."

- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: I’ve checked for similar enhancement requests.
required: true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Feature Request
description: Suggest a new feature for Audemy
title: "[FEATURE]: "
labels: [feature]
body:
- type: markdown
attributes:
value: "## 🎯 Feature Request\nUse this form to suggest a new feature you'd like to see in Audemy."

- type: textarea
id: description
attributes:
label: Describe the feature
placeholder: "Clearly and concisely describe the feature."
validations:
required: true

- type: textarea
id: value
attributes:
label: Why is this feature important?
placeholder: "Explain how this helps users or improves the product."
validations:
required: true

- type: textarea
id: solution
attributes:
label: Possible implementation
placeholder: "Optional: any ideas on how to implement it?"

- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: I have searched for existing feature requests.
required: true
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 80,
"arrowParens": "always",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 27 additions & 1 deletion src/pages/AboutUs/Volunteers/Staff.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,37 @@ const developmentStaff = [
name: "Shyaka Chaste",
role: "Developer",
image: "/assets/images/about-us/volunteers/shyaka.png",
},{
},
{
name: "Prajwala Shambulingappa",
role: "Developer",
image: "/assets/images/about-us/volunteers/default1.svg",
},
{
name: "Ankita Shendge",
role: "Developer",
image: "/assets/images/about-us/volunteers/ankita.png",
},
{
name: "Isabelle Huang",
role: "Developer",
image: "/assets/images/about-us/volunteers/isabelle.png",
},
{
name: "DooHwan Kim",
role: "Developer",
image: "/assets/images/about-us/volunteers/doohwan.png",
},
{
name: "Jesus Luigi Sison",
role: "Developer",
image: "/assets/images/about-us/volunteers/jesus.png",
},
{
name: "Rajat Kulkarni",
role: "Developer",
image: "/assets/images/about-us/volunteers/rajat.png",
},
];

const outreachStaff = [
Expand Down
56 changes: 49 additions & 7 deletions src/pages/ForgotPassword/ForgotPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const errors = ref(false); // flag to display error on frontend
const email = ref(""); // email input field value
const router = useRouter();

const showErrorAlert = (message) => {
alert(message); // Using standard alert for simplicity
};

const sendResetEmail = async (event) => {
// prevent default form submission which would reload the page
event.preventDefault();
Expand All @@ -26,19 +30,57 @@ const sendResetEmail = async (event) => {
);
// Handle the response from the API based on the status code
console.log("Response:", emailResponse.status)
if (emailResponse.status === 404) {
// Set the flag to true to display the error message on the frontend
console.error("Error: User with provided email id not present.");
errors.value = true;
} else{
// Get the response data
const responseData = await emailResponse.json().catch(() => ({}));

if (!emailResponse.ok) {
switch (emailResponse.status) {
case 400:
showErrorAlert("Bad request: Please check your input");
break;
case 401:
showErrorAlert("Unauthorized: Invalid credentials");
break;
case 403:
showErrorAlert("Forbidden: You don't have permission to access this resource");
break;
case 404:
showErrorAlert("Resource not found");
break;
case 405:
showErrorAlert("Method not allowed");
break;
case 429:
showErrorAlert("Too many requests: Please try again later");
break;
case 500:
showErrorAlert("Internal server error. Please try again later.");
break;
case 502:
showErrorAlert("Internal server error. Please try again later.");
break;
case 503:
showErrorAlert("Internal server error. Please try again later.");
break;
case 504:
showErrorAlert("Internal server error. Please try again later.");
break;
default:
// Handle other errors
alert('Unexpected error occurred.');
}
// Return to prevent further execution
return;
} else {
// Route to reset-link-sent page if email sent successfully
console.log("Email sent successfully.");
router.push("/reset-link-sent");
}
} catch (error) {
// Set the flag to true to display the error message on the frontend
console.error("Error: Email not present- ", error);
// Handle network errors
console.error("Error: ", error);
errors.value = true;
alert('Network error. Please check your connection and try again.');
}
};
</script>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/GameZone/GameZoneCard/GameZoneCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ const props = defineProps({
</script>

<template>
<div
<button
@click="$emit('selectGame', url)"
class="w-full h-[320px] mobile:h-[160px] rounded-[16px] border-[5px] border-[#323232] shadow-2xl p-5 relative flex justify-center items-center"
:style="{ backgroundColor: bgColor, color: textColor ?? '#323232' }"
>
<img
:src="icon"
alt="Game icon"
alt=""
class="w-[100px] h-[100px] mobile:w-[40px] mobile:h-[40px] absolute top-4 right-5 mobile:top-5 mobile:right-1 z-20"
/>
<img
v-if="bgDecoration"
:src="bgImage"
alt="BG Game icon"
alt=""
class="h-3/4 absolute top-0 right-0 rounded-xl"
/>
<div class="w-full absolute bottom-0 left-0 p-4 z-50">
Expand All @@ -48,7 +48,7 @@ const props = defineProps({
{{ description }}
</div>
</div>
</div>
</button>
</template>
<style>
@media (max-width: 1020px) and (min-width: 768px) {
Expand Down
8 changes: 2 additions & 6 deletions src/pages/GameZone/GameZoneList/CarCounting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -501,12 +501,8 @@ const toggleRecording = () => {
console.log("User Answer:", finalTranscript);
console.log("Correct Answer:", randQueNum[numOfAudiosPlayed.value]);

if (
finalTranscript
.trim()
.toLowerCase()
.includes(answers[numOfAudiosPlayed.value].toLowerCase())
) {
const cleanedInput = finalTranscript.trim().toLowerCase().replace(/[^\w\s]/g, ''); // removes punctuation
if (cleanedInput.includes(answers[numOfAudiosPlayed.value].toLowerCase())) {
score.value++;
console.log("Correct Answer!");
playSound("correctaudio.mp3");
Expand Down
7 changes: 4 additions & 3 deletions src/pages/GameZone/GameZoneList/ColorGame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,10 @@ const toggleRecording = () => {
console.log("Correct Answer:", question["A"]);

const userWords = finalTranscript
.toLowerCase()
.replace(/[.,!?]/g, "")
.split(/\s+/);
.toLowerCase()
.replace(/[^a-z0-9\s]/gi, "") // removes everything except letters, numbers, and spaces
.split(/\s+/)
.filter(Boolean); // removes empty strings

const correctAnswers = Array.isArray(question["A"])
? question["A"].map((a) => a.toLowerCase())
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Impact/CollaboratingSchools/Affiliates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const schools = [
link: "https://asdb.az.gov/",
},
{
name: "Obra D. Tompkins High School",
link: "https://www.katyisd.org/tompkins",
name: "Vermont Association For The Blind And Visually Impaired",
link: "https://www.vabvi.org/",
},
{
name: "HeZe Special Education Center (菏泽市特殊教育中心)",
Expand Down
6 changes: 4 additions & 2 deletions src/pages/Impact/CollaboratingSchools/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
var location4 = [-89, 40];
var location5 = [-111.0937, 34.0489];
var location6 = [117.0208, 36.6683];
var location7 = [-95.3698, 29.7604];
var location7 = [-72.576, 44.2601];
var popupOffset = 25;

var marker1 = new tt.Marker().setLngLat(location1).addTo(map);
Expand Down Expand Up @@ -66,7 +66,9 @@ export default {
var popup7 = new tt.Popup({
offset: popupOffset,
closeButton: false,
}).setText("Obra D. Tompkins High School");
}).setText(
"Vermont Association For The Blind And Visually Impaired"
);

marker1.setPopup(popup1);
marker2.setPopup(popup2);
Expand Down
Loading