uoa-compsci399-s1-2024 / capstone-project-2024-s1-team-15

Team Bit by Bit - Team 15
https://www.aapc-nz.org
4 stars 0 forks source link

Remove emojis from messages to visitors #319

Closed arnard76 closed 3 months ago

arnard76 commented 3 months ago

Task

Solution

Code changes

HuzzNZ commented 3 months ago

Line 115, @/app/(cms)/pollen/edit/page.tsx

<h3 className="font-bold text-2xl my-2">Preview generated ✅</h3>
                                                          ^^

Lines 2~18, @/app/(cms)/pollen/edit/util/parseAssumptions.ts

const parseAssumptions = [
    '⚠️ Assume relevant worksheets in spreadsheet contain "raw" in its name',
     ^^

Lines 34~38, @/app/(cms)/pollen/edit/util/parseExcel.ts

parsingErrors.push(
    `Worksheet '${sheetName}' couldn't be parsed because this error occurred: ${e.message}\n\n
    Take a look at the assumptions the parsing algorithm makes. 
    This could also be a bug with the parsing algorithm, so report to developers 🙂.`
)                                                                                ^^

Line 87, @/app/components/pollen/PollenCalendar.tsx

<b>There is no pollen data at the moment, come back later 🙂</b>
                                                          ^^

Line 164, @/app/components/pollen/PollenCalendar.tsx

<p>No pollen types selected 🥲</p>
                            ^^
arnard76 commented 3 months ago

Good spotting, I have removed all of those too!