Skip to content

Conversation

hasanmo
Copy link
Member

@hasanmo hasanmo commented Nov 10, 2026

Changes

  • Add server-side sorting by newest, shortest cooking time, and highest rating in Explore and My Cookbook.
  • Reduce list responses to the fields needed by recipe cards.
  • Cache recipe queries for 30 seconds, clearing the cache after mutations and session changes.
  • Fix icon sizing and expand keyboard navigation and responsive layout tests.
  • Fix cleanup of pending requests in the authentication browser test.
  • Update documentation on performance, image sources, and known limitations.

Validation

  • Formatting, lint, generated types, migration checks, typechecks, and production build passed.
  • 211 unit tests, 13 browser tests, 12 database tests, and 16 API tests passed.

Remaining work

  • HTTPS is not configured on the VM. Clarify requirements and setup with the lecturer, then configure certificates and secure cookies.
  • Record original Pexels image URLs and photographer names, and clarify sources and usage rights for the fallback and 404 illustrations.
  • Responsive image variants and srcset remain future improvements.
  • Trending sorting is not implemented.

Tabell med tilbakemeldinger fra andre gruppers vurdering av prosjektet vårt.

Status Prioritet Område Gjort / gjenstår
✅ Høy Tilgjengelighet: tastaturbruk Søk, filtre og sortering er testet med tastatur på desktop og mobil. Tester dekker også fokushåndtering.
✅ Høy Ikoner og knapper som blir for store Ikonstørrelser er rettet. Nettlesertester kontrollerer at ikonene holder seg innenfor knappene på desktop og mobil.
☐ Høy HTTPS ved innlogging HTTPS er ikke konfigurert. Begrensningen er dokumentert, men sertifikat og sikker cookie-innstilling gjenstår.
☐ Middels–høy Lenke til kildekoden i innleveringen Må bekreftes at selve innleveringen inneholder en tydelig lenke til GitHub-repositoriet.
✅ Middels Unødvendig data fra oppskriftslisten Listekall returnerer bare oppsummeringsdata til kortene. Ingredienser og fremgangsmåte hentes på detaljsiden.
✅ Middels Caching og ytelse Lagt til 30 sekunders minnecache. Cachen tømmes ved endringer i oppskrifter og bruker/sesjon.
✅ Middels Sorteringsvalg Lagt til kortest tilberedningstid og høyest vurdering i Explore og My Cookbook. Sortering skjer i backend før paginering.
☐ Lavere Bærekraft, bilder og dokumentasjon Delvis ferdig: Dokumentert dataoverføring, WebP, lazy loading og Pexels som kilde. Fullstendige bildekilder, rettigheter til illustrasjonene og konkrete KI-verktøy må avklares. Separate mobilbilder og srcset er videre arbeid.

@hasanmo hasanmo requested review from oliveror and olestan November 10, 2026 23:30
@hasanmo hasanmo requested a review from a team as a code owner November 10, 2026 23:30
@oliveror oliveror changed the base branch from main to dev November 12, 2026 11:05
Copy link
Member

@olestan olestan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oliveror oliveror merged commit e0e3bcb into dev Nov 12, 2026
oliveror added a commit that referenced this pull request Nov 12, 2026
…main) (#66)

* Style/improve UI consistency (#63)

* style(recipes): improve recipe form layout and image upload UI

* style(recipes): improve drag handle styling and alignment

* style(auth): refine login and registration form spacing

* test: update tests

* Chore/add seeded recipes (#62)

* chore(recipes): add seeded recipes with local images

* fix(seed): isolate test image uploads from application storage

* docs: update documentation

* Hasan/fix/review accessibility performance (#65)

* Improve recipe sorting, query caching and accessibility coverage

* docs: summarize delivery 3 review improvements and HTTPS clarification

---------

Co-authored-by: hasan.fawzi <hasan.fawzi@hoglund.no>

---------

Co-authored-by: Ole Stangeland <olestan@stud.ntnu.no>
Co-authored-by: Hasan Mohammad Fawzi <hasanmo@stud.ntnu.no>
Co-authored-by: hasan.fawzi <hasan.fawzi@hoglund.no>
@oliveror oliveror deleted the hasan/fix/review-accessibility-performance branch November 21, 2026 14:18
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants