So yeah CDN has been down for a while… So this devlog is loooong :(( I promise I’ll go back to short devlogs right away (if stuff doesn’t break again :P) at least I’ll try to make this devlog as extense as possible.
Here’s what I’ve done atm:
1- Did a brief UI study on how Notion’s design works, and also made a moodboard
2- Made the UI for the homepage (ss 1) with sample data. I’m extremely proud of this design :)
3- Implemented “avisos” (notifications). This makes a request to Educamos’ API, reads the JSON it returns, and if necessary proxies the file it serves to be able to be downloaded on clients
4- Implemented “mis deberes y tareas” (tasks). Educamos decides that it wants to return an HTML instead of JSON, so I have to parse it and read it properly to be able to use it for my app
5- Birthdays. Educamos does return a JSON, so it’s as simple as analyzing that and proxying imgs
6- Notification counters (ss 2). Also JSON
7- “recent grades” info (ss 2). This fetches recent grades from Educamos (another HTML endpoint aaa) and parses it
8- Agenda. This gets the HTML from educamos, checks it’s for the correct day, finds any associated activities, and formats and shows it
9- Redirects for email and OneDrive (ss 3)
10- Grades and subjects page (ss 4 and 5). This was definitely the hardest part. When you ask Educamos for your subjects and grades, instead of returning a list of subjects with their grades as subitems, it returns ahuuge doc that I had to MANUALLY READ to find all associations between subjects and their grades. It contains them separate, with no linking between them by ID. Instead, you need to read every item, compare it against the list you have, guess if the item is a grade or a subject, and then analyze it
Help imma cry this has taken way too long but I won’t stop until it’s perfect and that’s all :) (pls vote this project well even if this is a big devlog it’s CDNs fault I’m losing my sanity aaaaaaa)