Repository navigation
Final Milestone Deliverables
Group Number: 1
- Weekly Meeting 1 (17.02.2026)
- Weekly Meeting 2 (26.02.2026)
- Weekly Meeting 3 (08.03.2026)
- Weekly Meeting 4 (12.03.2026)
- Weekly Meeting 4 'Extra' (14.03.2026)
- Weekly Meeting 5 (22.03.2026)
- Weekly Meeting 6 (28.03.2026)
- Weekly Meeting 7 (03.04.2026)
- Weekly Meeting 8 (14.04.2026)
- Weekly Meeting 9 (22.04.2026)
- Weekly Meeting 10 (08.05.2026)
- Frontend Meeting 1 (22.03.2026)
- Backend Meeting 1 (22.03.2026)
- Frontend Meeting 2 (28.03.2026)
- Backend Meeting 2 (28.03.2026)
- Frontend Meeting 3 (03.04.2026)
- Backend Meeting 3 (03.04.2026)
- Backend Meeting 4 (22.04.2026)
- Final SRS: Requirements
- Final Design: Use Case Diagram Class Diagram Sequence Diagram
- Deployed Web App: www.mapcess.live
- Mobile Release: https://github.com/bounswe/bounswe2026group1/releases/tag/final-milestone
-
Project Status Summary:
Mapcess — an accessibility-focused mapping and crowdsourced reporting platform — has reached a stable, fully functional
1.0.0release. The system spans three layers: a Spring Boot backend, a React (Vite) web client, and a Flutter mobile application, all containerized and deployed. Every major module defined in the SRS — reporting, community validation, accessible routing & navigation, gamification & leaderboard, report feed & user search, and the notification system — is implemented, tested, documented, and live. During this milestone the team delivered a large batch of new functionality (advanced report feed filtering, multi-media fix reports, personalized accessible routing, a live SSE-driven leaderboard, an onboarding tutorial, and W3C standards compliance) while keeping the previously delivered feature set stable. -
Deliverable Status:
All final-milestone deliverables are complete, submitted, and deployed. The code is merged into the
mainbranch, taggedfinal-milestone, and published as the official1.0.0release. The backend and web application are containerized via Docker Compose and deployed to a live environment; the mobile application is built as a downloadable.apkattached to the GitHub release. Project documentation (final SRS, UML class/use-case/sequence diagrams), meeting notes, verbose test reports (XML + HTML) for all three layers, and the individual contribution reports are committed to the repository and wiki. -
Final Release Notes:
Advanced Report Feed & Search — Reports can be filtered by date range, vote thresholds, and status, and sorted by relevance; category and issue-pair filters work across both the feed and search with a live result count. The mobile app gains a dedicated advanced feed screen and a precise nearby filter.
User Search — Users (including admins) can be discovered by username or display name; banned accounts are excluded from results.
Multiple Media Everywhere — Reports, fix requests, and report updates can each carry multiple photos and videos (up to 5) on both web and mobile; the web client also adds full report editing.
Personalized Accessible Routing — Routes adapt to user needs: automatic avoidance of stairs and slippery surfaces, ramp-assisted alternatives, accessible suggestions outside mapped zones, a blind & low-vision preset prioritizing handrails and safer surfaces, and hazard detection (e.g. low handrails) for mobility-limited users.
Gamification & Live Leaderboard — Points and ranks update instantly via live SSE broadcasts, with a polished web visual design for ranks, medals, and progress.
Onboarding Tutorial — A guided walkthrough with photo diagrams and issue-matched bullets introduces new users to meaningful reporting from the first session.
Community & Engagement — A Community Pulse card surfaces the community resolution rate; authors, voters, and commenters are auto-subscribed to reports; persistent login keeps users signed in across sessions.
Standards Compliance — GeoJSON report locations, W3C Web Annotations for comments, Schema.org JSON-LD on report pages, and a fully annotated OpenAPI specification.
Polish — Multimedia carousel and lightbox, dark-mode refinements, location labels, smoother mobile keyboard handling, quieter background notifications, and full account anonymization.
-
Process Improvements:
Building on lessons from earlier milestones, the team tightened its development process in three ways:
-
Stricter PR review — every pull request now requires review and approval before being merged, which caught defects earlier and kept the
mainbranch consistently releasable. - Better issue & sprint management — issues were broken down more granularly, labeled by subgroup and type, and tracked across sprints, giving the team much clearer visibility into scope and progress.
- Higher development velocity — the team worked at a faster and more sustained pace, which made it possible to implement and integrate a large number of new features within a single milestone.
Impact: the main branch stayed deployable throughout the milestone, regressions were caught before reaching the demo, and a significantly broader feature scope was delivered without destabilizing previously completed work.
-
Stricter PR review — every pull request now requires review and approval before being merged, which caught defects earlier and kept the
-
Final Milestone Demo Reflections:
The Final Milestone Demo went smoothly overall and the team received positive feedback. Core flows — reporting, community validation, accessible routing, the report feed, and the leaderboard — all worked as expected on both the web and mobile clients. A few minor, cosmetic issues surfaced during the demo:
- Profile pictures do not render next to comments.
- Report-type pin/marker colors are inconsistent between the web and mobile clients.
Lessons learned: small cross-platform visual inconsistencies are easy to miss when subgroups test their layers independently. A shared visual checklist and a combined web + mobile walkthrough before the demo would have caught these. None of the issues affected core functionality, but they reinforced the value of a final end-to-end review pass across both clients.
-
What Could Have Been Done Differently:
- Test earlier — integration and end-to-end tests were added relatively late. Establishing a test suite and CI pipeline from the start would have caught regressions sooner and reduced pressure in the final week.
- More balanced task distribution — work was not always evenly split, causing load to pile up toward the end of the milestone. A clearer, earlier breakdown of scope per member would have kept the pace steadier.
- More frequent group communication — tighter, more regular communication across the backend, web, and mobile subgroups would have surfaced integration mismatches (such as the cross-platform color inconsistency) earlier.
- Better time budgeting — because time ran short near the end, a few planned features could not be implemented. Reserving buffer time and front-loading the riskiest work would have allowed the team to deliver the full intended scope.
| Team Member | Contributions (Summary) | Major PRs/Issues |
|---|---|---|
| Burak Altunay | Exposed the reports feed as a paginated REST endpoint with PostGIS-based proximity sorting; made the spatial search radius dynamic; fixed obstacle-routing bypass for authenticated users with default preferences; implemented the interactive spatial Community Feed on web (geolocation, split-view, infinite scroll); raised web frontend test coverage to 91.04%; and contributed backend, web, and mobile test suites. | PRs: #415, #496, #654 — Issues: #398, #429, #319 |
| Mustafa Aytekin | Primary owner of the web client design system (M3 tokens, three-mode theme, and systemic dark-mode polish); delivered core full-stack features including account self-delete with backend anonymization, Nominatim reverse geocoding with graceful degradation, and MP4/MOV video uploads; built the advanced map filter sidebar, navbar user-search dropdown, and standardized destructive close buttons; and submitted end-to-end implementations for the voice-command accessibility mode and EN/TR i18n stack. | PRs: #285, #583, #623, #598 — Issues: #594, #621, #624 |
| Osman Talha Çolakerol | Redesigned the mobile profile screen with avatar, bio, and stats; added inline edit mode backed by the new profile and avatar endpoints; wired accessibility coverage across the profile surface; contributed to tutorial replay on mobile; raised mobile unit-test coverage; and finalized the individual sequence diagrams on the wiki. | PRs: #453, #665 — Issues: #300, #367, #373, #667 |
| Efe Feyzi Mantaroğlu | Drove the backend report-model overhaul and standards-compliance work — redesigned the report model into a multi-object/multi-issue, enum-based schema; implemented constraint-based accessible routing with accessibility profiles, the Fixed status with independent validation, ratio-based auto-rejection, and the in-app notification system; adopted GeoJSON (RFC 7946), W3C Web Annotations for comments, and Schema.org JSON-LD; and built the web Admin Dashboard and onboarding tutorial. | PRs: #414, #423, #603 — Issues: #413, #365, #400 |
| Alaaddin Eren Namlı | Implemented the gamification & leaderboard module across backend, web, and mobile (points ledger, badges, live SSE points broadcast); built custom routing profiles and the web routing-preferences profile section; extended the report feed with advanced filtering and sorting; improved user search; and significantly raised backend unit test coverage. | PRs: #530, #593, #472 — Issues: #264, #591, #366 |
| Mert Özüstün | Led the full mobile feature set for the final milestone: new report model and taxonomy, profile/user pages, notifications, dark mode, pin-based routing, multiple media upload, user search, accessibility preferences, advanced feed and map filters, fix requests with media, GeoJSON adoption, and missing measurements contribution flow (including a backend endpoint). Owned the complete mobile-side API integration lifecycle from model updates through to UX polish and last-minute bug fixes. | PRs: #428, #572, #614 — Issues: #611, #571,#440 |
| Mücahit Şimşek | Focused on backend media and routing — refactored media upload to support multiple files and return media IDs, added multi-media editing of reports, implemented the hierarchical report categories data model, fixed and refined routing constraints/presets and wheelchair routing for ramp reports, and built web multiple-media upload for reports and fix requests. | PRs: #436, #639, #509 — Issues: #434, #369, #625 |
| Yeldos Urashev | Owned DevOps and contributed across the web client — set up CI workflows for web and mobile, the backend/frontend deployment pipeline, and APK distribution; then built the real-time SSE notification system, the view-other-users' profile pages, the report fix-flow UI, descriptive password validation, and responsive mobile-browser design. | PRs: #451, #465, #426 — Issues: #187, #463, #366 |
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.1.1.1 | Guest users shall be able to search for specific destinations using the search bar. | ✅ Completed |
| 1.1.1.1.2 | Guest users shall be able to start turn-by-turn navigation to a selected destination. | 🟡 Partial |
| 1.1.1.1.3 | Guest users shall be able to select and apply physical capacity filters for routing (e.g., wheelchair accessible, no stairs). | 🟡 Partial |
| 1.1.1.1.4 | Guest users shall be able to view crowdsourced reports on the map. | ✅ Completed |
| 1.1.1.1.5 | Guest users shall be able to open detailed issue panels to view reports. | ✅ Completed |
| 1.1.1.1.6 | Guest users shall be able to play or view media (photos/videos) attached to the reports. | ✅ Completed |
| 1.1.1.1.7 | Guest users shall be able to filter reports by criteria such as status (verified/unverified) or date. | ✅ Completed |
| 1.1.1.1.8 | Guest users shall be able to view profile pages of registered users by interacting with submitted reports. | 🟡 Partial |
| 1.1.1.1.9 | Guest users shall be able to sign-up to create an account. | ✅ Completed |
| 1.1.1.1.10 | Guest users shall be able to view comments left by other users on crowdsourced reports. | ✅ Completed |
Notes: 1.1.1.1.2 / 1.1.1.1.3 — route planning and accessibility filters are implemented on the backend and web, but turn-by-turn navigation with live GPS tracking is not yet available. 1.1.1.1.8 — profile viewing works on web; mobile deep-linking is partial.
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.1.2.1 | Registered users shall be able to submit new accessibility reports with photos, a manually selected or GPS-based location, an Indoor/Outdoor environment context, a hierarchical tag, optional numeric inputs, and text descriptions. | ✅ Completed |
| 1.1.1.2.2 | Registered users shall be able to verify and confirm the validity of a report submitted by other users. | ✅ Completed |
| 1.1.1.2.3 | Registered users shall be able to perform the same actions as guest users except sign-up. | ✅ Completed |
| 1.1.1.2.4 | Registered users shall be able to view a list of their previously created reports. | ✅ Completed |
| 1.1.1.2.5 | Registered users shall be able to edit details of any previously submitted report. | ✅ Completed |
| 1.1.1.2.6 | Registered users shall be able to remove their own previously submitted reports. | ✅ Completed |
| 1.1.1.2.7 | Registered users shall be able to replace or update media on their own reports. | ✅ Completed |
| 1.1.1.2.8 | Registered users shall be able to view their own profile. | ✅ Completed |
| 1.1.1.2.9 | Registered users shall be able to manually select or adjust report location on the map. | ✅ Completed |
| 1.1.1.2.10 | Registered users shall be able to assign hierarchical tags to reports. | ✅ Completed |
| 1.1.1.2.11 | Registered users shall be able to add comments on reports. | ✅ Completed |
| 1.1.1.2.12 | Registered users shall be able to permanently delete their account with data anonymization. | ✅ Completed |
| 1.1.1.2.13 | Registered users shall be able to view a scrollable list (Feed) of reports. | ✅ Completed |
| 1.1.1.2.14 | Registered users shall be able to search for other registered users. | ✅ Completed |
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.1.3.1 | Admin users shall be able to change user status to banned or unbanned. | ✅ Completed |
| 1.1.1.3.2 | Admin users shall be able to delete any report. | ✅ Completed |
| 1.1.1.3.3 | Admin users shall be able to edit any report by hiding/removing verifications or comments. | ✅ Completed |
| 1.1.1.3.4 | Admin users shall access a dedicated, secure web-based dashboard (Admin Panel). | ✅ Completed |
| 1.1.1.3.5 | Admin users shall be able to view a tabular list of all registered users in the Admin Panel. | ✅ Completed |
| 1.1.1.3.6 | Admin users shall be able to review all submitted reports via a moderation feed. | ✅ Completed |
| 1.1.1.3.7 | Admin users shall be able to create new user accounts with REGISTERED USER or ADMIN roles. | ✅ Completed |
| 1.1.1.3.8 | Admin users shall be able to delete any registered user account with anonymization. | ✅ Completed |
| 1.1.1.3.9 | Admin users shall be able to promote or demote registered user roles. | ✅ Completed |
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.2.1 | Users shall provide real names, e-mail, and passwords to sign up. | ✅ Completed |
| 1.1.2.2 | E-mail addresses shall be unique. | ✅ Completed |
| 1.1.2.3 | User passwords shall meet strength requirements (8+ chars, case mix, special char). | ✅ Completed |
| 1.1.2.4 | E-mail addresses shall be confirmed via verification link. | ⚪ Not Started |
| 1.1.2.5 | Restricted access to registered features until e-mail verification. | ⚪ Not Started |
| 1.1.2.6 | Users shall be able to request a password reset via e-mail. | ⚪ Not Started |
| 1.1.2.7 | System shall send a single-use password reset link. | ⚪ Not Started |
Notes: 1.1.2.4–1.1.2.7 — e-mail verification and password reset flows require an SMTP integration that has not been configured.
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.3.1 | Users shall be able to set and save accessibility routing filters/profiles. | ✅ Completed |
| 1.1.3.2 | Users shall be able to grant or revoke app permissions. | ✅ Completed |
| 1.1.3.3 | Registered users shall be able to enable or disable push/email notifications. | 🟡 Partial |
| 1.1.3.4 | Registered users shall be able to opt-out of the public Leaderboard. | 🟡 Partial |
| 1.1.3.5 | Users shall be able to change interface language (English/Turkish). | ⚪ Not Started |
| 1.1.3.6 | Users shall be able to toggle visual theme (Light/Dark/System). | ✅ Completed |
| 1.1.3.7 | Users shall be able to activate a "High Contrast" visual mode. | ⚪ Not Started |
| 1.1.3.8 | Users should be able to activate a "Voice Command" accessibility mode. | ⚪ Not Started |
Notes: 1.1.3.3 / 1.1.3.4 — leaderboard opt-out is implemented on backend; frontend toggle exists on web but not mobile. 1.1.3.5 / 1.1.3.7 / 1.1.3.8 — no i18n framework, high-contrast mode, or voice command infrastructure exists.
| Requirement ID | Description | Status |
|---|---|---|
| 1.1.4.1 | System shall present login interface for restricted actions initiated by guests. | ✅ Completed |
| 1.1.4.2 | System shall execute paused actions immediately after authentication. | ⚪ Not Started |
| 1.1.4.3 | System shall display authenticated user's profile info in the header. | ✅ Completed |
| 1.1.4.4 | Authenticated users shall be able to securely log out. | ✅ Completed |
Notes: 1.1.4.2 — the login prompt is shown but the paused action is not automatically re-executed after authentication.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.1.1 | System shall load interactive map centered on current GPS location. | ✅ Completed |
| 1.2.1.2 | System shall display pending, unverified reports using specific indicators. | ✅ Completed |
| 1.2.1.3 | System shall dynamically update map when a report is verified (e.g., pin color change). | ✅ Completed |
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.2.1 | System shall suggest current GPS location for report pin, allowing manual adjust. | 🟡 Partial |
| 1.2.2.2 | System shall allow maximum of 5 media files per report. | ✅ Completed |
| 1.2.2.3 | System shall provide text field (1000 char max) for report descriptions. | ✅ Completed |
| 1.2.2.4 | System shall store comprehensive report data into central database. | ✅ Completed |
| 1.2.2.5 | System shall display action confirmation popup upon successful submission. | ✅ Completed |
| 1.2.2.6 | System shall provide hierarchical, predefined accessibility issue categories. | ✅ Completed |
| 1.2.2.7 | System shall store tags and environment context alongside report data. | ✅ Completed |
| 1.2.2.8 | System shall display real-time character count and prevent overflow input. | ✅ Completed |
| 1.2.2.9 | System shall dynamically display contextual numeric input fields. | ✅ Completed |
Notes: 1.2.2.1 — GPS auto-suggestion works on web; mobile implementation uses manual pin placement only.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.3.1 | System shall display detailed issue panel when a report is clicked. | ✅ Completed |
| 1.2.3.2 | System shall provide integrated media player for report media. | ✅ Completed |
| 1.2.3.3 | System shall update database and log events upon verification. | ✅ Completed |
| 1.2.3.4 | System shall track agreement and disagreement counts for each report. | ✅ Completed |
| 1.2.3.5 | System shall define Pending, Verified, Fixed, and Rejected statuses. | ✅ Completed |
| 1.2.3.6 | System shall assign Pending status to new reports until thresholds met. | ✅ Completed |
| 1.2.3.7 | System shall auto-transition to Verified (5+ votes, 60% agree). | ✅ Completed |
| 1.2.3.8 | System shall auto-transition from Verified to Unverified if ratio drops. | ✅ Completed |
| 1.2.3.9 | System shall auto-transition to Rejected (5+ votes, 60% disagree). | 🟡 Partial |
| 1.2.3.10 | System shall prevent users from voting on their own reports. | ⚪ Not Started |
| 1.2.3.11 | System shall allow users to modify or withdraw validation votes. | ✅ Completed |
| 1.2.3.12 | System shall allow "Fixed" requests with mandatory media upload. | ✅ Completed |
| 1.2.3.13 | Fixed requests shall collect validation votes independently. | ✅ Completed |
| 1.2.3.14 | System shall transition to Fixed status upon threshold meeting. | ✅ Completed |
Notes: 1.2.3.9 — rejection logic is implemented in the backend but rejected reports are not yet hidden from the public map. 1.2.3.10 — self-vote prevention is not enforced.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.4.1 | Geolocate destinations and cross-reference against Accessibility Profiles. | ✅ Completed |
| 1.2.4.2 | Utilize geospatial routing and crowdsourced data for path calculation. | ✅ Completed |
| 1.2.4.3 | Calculate and display total distance and ETA for generated routes. | ✅ Completed |
| 1.2.4.4 | Display color-coded paths on map preview indicating accessibility level. | ✅ Completed |
| 1.2.4.5 | Offer multiple route options for review. | ✅ Completed |
| 1.2.4.6 | Provide turn-by-turn navigation with audio cues. | ⚪ Not Started |
| 1.2.4.7 | Provide high-contrast visual cues during navigation. | ⚪ Not Started |
| 1.2.4.8 | Track user's live location via GPS during active navigation. | ⚪ Not Started |
| 1.2.4.9 | Display "Trip Complete" summary upon destination arrival. | ⚪ Not Started |
| 1.2.4.10 | Routing algorithm shall prioritize verified data for user safety. | ✅ Completed |
| 1.2.4.11 | Auto-recalculate route if user deviates more than 15 meters. | ⚪ Not Started |
| 1.2.4.12 | Provide audible/visual notification for route recalculation. | ⚪ Not Started |
| 1.2.4.13 | Display warning prompt if only unverified routes are available. | ⚪ Not Started |
Notes: 1.2.4.6–1.2.4.9, 1.2.4.11–1.2.4.13 — all require live GPS tracking and turn-by-turn navigation, which depend on significant mobile client development not yet started.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.5.1 | Send in-app notification upon status change to Verified or Rejected. | ✅ Completed |
| 1.2.5.2 | Send in-app notification upon new comment on author's report. | ✅ Completed |
| 1.2.5.3 | Log notifications in a dedicated "Notification Center". | ✅ Completed |
| 1.2.5.4 | Send automated e-mail notification for account bans. | ⚪ Not Started |
| 1.2.5.5 | Mark in-app notifications as "read" upon interaction. | ✅ Completed |
| 1.2.5.6 | Notify author and voters immediately when report details are edited. | ✅ Completed |
Notes: 1.2.5.4 — requires SMTP integration for outbound e-mail delivery, which has not been configured.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.6.1 | Award 10 points for a successful report submission. | ✅ Completed |
| 1.2.6.2 | Award 5 points for casting a validation vote. | ✅ Completed |
| 1.2.6.3 | Award 20 point bonus when report becomes Verified. | ✅ Completed |
| 1.2.6.4 | Deduct 15 points if report becomes Rejected. | ✅ Completed |
| 1.2.6.5 | Award 15 point bonus for votes aligning with final status. | ✅ Completed |
| 1.2.6.6 | Deduct 5 points for votes opposing final status. | ✅ Completed |
| 1.2.6.7 | Total points shall not drop below 0. | ✅ Completed |
| 1.2.6.8 | Display descending Leaderboard interface based on points. | ✅ Completed |
| 1.2.6.9 | Leaderboard shall display top 100 users. | ✅ Completed |
| 1.2.6.10 | Display authenticated user's rank/points prominently on Leaderboard. | ✅ Completed |
| 1.2.6.11 | Display points/rank on public profile page (with opt-out). | ✅ Completed |
| 1.2.6.12 | Auto-award "Trusted Reporter" badge at 10 verified reports. | ✅ Completed |
| 1.2.6.13 | Auto-award "Expert Mapper" badge at 50 verified reports. | ✅ Completed |
| 1.2.6.14 | Dynamically award "Top 10" badge to current top-ranked users. | ✅ Completed |
| 1.2.6.15 | Auto-revoke "Top 10" badge if rank drops below 10. | ✅ Completed |
| 1.2.6.16 | Display permanent milestone badges on public profile. | ✅ Completed |
| 1.2.6.17 | Display highest-tier badge icon next to username in issue panels. | ✅ Completed |
| 1.2.6.18 | Send in-app notification when a new badge is awarded. | ✅ Completed |
| 1.2.6.19 | Deduct 5 points if a validation vote is withdrawn. | ✅ Completed |
| 1.2.6.20 | Prevent duplicate validation points for vote modification. | ✅ Completed |
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.7.1 | Provide dedicated "Feed" interface for registered users. | 🟡 Partial |
| 1.2.7.2 | Allow users to sort Feed by Recent, Distance, and Voted. | 🟡 Partial |
| 1.2.7.3 | Display media, snippet, distance, and votes on Feed item cards. | ✅ Completed |
| 1.2.7.4 | Provide dedicated User Search interface with text input. | ✅ Completed |
| 1.2.7.5 | Return matching user profiles within 2 seconds. | ✅ Completed |
| 1.2.7.6 | Navigate to public profile page upon clicking search result. | ✅ Completed |
Notes: 1.2.7.1 — the Feed page is currently accessible to guest users (should be restricted to registered users). 1.2.7.2 — sort-by-distance UI control is not exposed in the frontend.
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.8.1 | Execute core actions using voice recognition in Voice Command mode. | ⚪ Not Started |
| 1.2.8.2 | Provide audible feedback for voice command recognition. | ⚪ Not Started |
| Requirement ID | Description | Status |
|---|---|---|
| 1.2.9.1 | Automatically delete Fixed reports after 7 days. | ✅ Completed |
| 1.2.9.2 | Automatically delete Rejected reports after 7 days. | ⚪ Not Started |
| 1.2.9.3 | Persist Pending and Verified reports indefinitely. | ✅ Completed |
Notes: 1.2.9.2 — the ReportLifecycleScheduler only handles FIXED reports; no equivalent scheduled cleanup exists for REJECTED reports.
| Requirement ID | Description | Status |
|---|---|---|
| 2.1.1 | Cache map data up to 5 km radius and store active route locally. | ⚪ Not Started |
| 2.1.2 | Disable submissions and show "No Internet" UI when latency high/disconnected. | ⚪ Not Started |
| Requirement ID | Description | Status |
|---|---|---|
| 2.2.1 | Reflect status updates across active sessions within 30 seconds. | ✅ Completed |
| 2.2.2 | Load map and GPS location within 5 seconds on standard 4G. | ✅ Completed |
| 2.2.3 | Routing engine returns sub-50km routes within 2 seconds. | ✅ Completed |
| 2.2.4 | Deliver in-app notifications within 5 seconds of event. | ✅ Completed |
| 2.2.5 | Deliver routing push notifications (safety alerts) within 2 seconds. | ⚪ Not Started |
| 2.2.6 | Update user total point score in database within 2 seconds. | ✅ Completed |
| 2.2.7 | Update global Leaderboard rankings every 5 minutes. | ✅ Completed |
Notes: 2.2.5 — requires active navigation sessions and push notification infrastructure, neither of which is implemented.
| Requirement ID | Description | Status |
|---|---|---|
| 2.3.1 | Display native permission dialog for GPS access. | ✅ Completed |
| 2.3.2 | Display native permission dialog for file/gallery access. | ✅ Completed |
| 2.3.3 | Encrypt passwords (BCrypt) and data (TLS 1.3) in transit. | 🟡 Partial |
Notes: 2.3.3 — passwords are hashed with BCrypt; TLS 1.3 is enforced at the infrastructure/reverse-proxy level, not in application code.
| Requirement ID | Description | Status |
|---|---|---|
| 2.4.1 | Maintain 99.9% operational uptime rolling 30-day period. | 🟡 Partial |
Notes: 2.4.1 — uptime target relies on DigitalOcean Droplet availability; no application-level health checks or auto-recovery mechanism is implemented.
| Requirement ID | Description | Status |
|---|---|---|
| 2.5.1 | Web application functional on major modern browsers. | ✅ Completed |
| 2.5.2 | Mobile application functional on iOS 15.0+ and Android 10.0+. | ✅ Completed |
| Requirement ID | Description | Status |
|---|---|---|
| 2.6.1 | Strictly reject media file uploads exceeding 15.0 MB. | ✅ Completed |
| 2.6.2 | Display specific UI error message for size limit rejection. | ✅ Completed |
| 2.6.3 | Support response times < 2s for 10,000 concurrent users. | 🟡 Partial |
| Requirement ID | Description | Status |
|---|---|---|
| 2.7.1 | Dynamically switch UI language without application restart. | 🟡 Partial |
Notes: 2.7.1 — no i18n framework (react-i18next or Flutter intl) has been integrated; all UI strings are hardcoded in English.
API Documentation
Sample Usage Scenarios
Scenario 1: Plan an Accessible Route for a Guest User
-
Endpoint:
POST /api/routes - Scenario Description: A guest user requests a route that cross-references verified crowdsourced obstacle reports against their accessibility profile to calculate multiple safe paths.
- The Request:
curl -X 'POST' \
'https://api.mapcess.live/api/routes' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"start": { "type": "Point", "coordinates": [29.041800498962406, 41.086718975634625] },
"end": { "type": "Point", "coordinates": [29.04320061206818, 41.086476624762] },
"mode": "WALKING"
}'- The Response:
[
{
"routeLabel": "Fastest Route",
"distanceMeters": 151.2,
"durationSeconds": 108.9,
"mode": "WALKING",
"geometry": "_wwyFkfgpD^BE_BMiDd@K",
"geoJsonGeometry": {
"type": "LineString",
"coordinates": [
[29.04182, 41.08672], [29.0418, 41.08656], [29.04228, 41.08659],
[29.04313, 41.08666], [29.04319, 41.08647]
]
},
"steps": [
{ "instruction": "Head south on Özden Sokağı", "maneuverType": "" },
{ "instruction": "Turn left onto Ferhat Sokağı", "maneuverType": "" },
{ "instruction": "Turn right onto Bebek Yolu Sokağı", "maneuverType": "" },
{ "instruction": "Arrive at Bebek Yolu Sokağı, straight ahead", "maneuverType": "" }
],
"hasObstacles": true,
"nodeCoordinates": null,
"preferred": false
},
{
"routeLabel": "Accessible Route",
"distanceMeters": 234.5,
"durationSeconds": 168.9,
"mode": "WALKING",
"geometry": "_wwyFkfgpDi@Eu@MEaCMgAp@OLC~@Sd@K",
"geoJsonGeometry": {
"type": "LineString",
"coordinates": [
[29.04182, 41.08672], [29.04185, 41.08693], [29.04192, 41.0872],
[29.04257, 41.08723], [29.04293, 41.0873], [29.04301, 41.08705],
[29.04303, 41.08698], [29.04313, 41.08666], [29.04319, 41.08647]
]
},
"steps": [
{ "instruction": "Head north on Özden Sokağı", "maneuverType": "" },
{ "instruction": "Turn right onto Mineli Sokağı", "maneuverType": "" },
{ "instruction": "Turn right onto Bebek Yolu Sokağı", "maneuverType": "" },
{ "instruction": "Arrive at Bebek Yolu Sokağı, straight ahead", "maneuverType": "" }
],
"hasObstacles": false,
"nodeCoordinates": null,
"preferred": false
},
{
"routeLabel": "Wheelchair Route",
"distanceMeters": 234.5,
"durationSeconds": 223.9,
"mode": "WHEELCHAIR",
"geometry": "_wwyFkfgpDi@Eu@MEaCMgAp@OLC~@Sd@K",
"geoJsonGeometry": {
"type": "LineString",
"coordinates": [
[29.04182, 41.08672], [29.04185, 41.08693], [29.04192, 41.0872],
[29.04257, 41.08723], [29.04293, 41.0873], [29.04301, 41.08705],
[29.04303, 41.08698], [29.04313, 41.08666], [29.04319, 41.08647]
]
},
"steps": [
{ "instruction": "Head north on Özden Sokağı", "maneuverType": "" },
{ "instruction": "Turn right onto Mineli Sokağı", "maneuverType": "" },
{ "instruction": "Turn right onto Bebek Yolu Sokağı", "maneuverType": "" },
{ "instruction": "Arrive at Bebek Yolu Sokağı, straight ahead", "maneuverType": "" }
],
"hasObstacles": false,
"nodeCoordinates": null,
"preferred": false
}
]
Scenario 2: Verify a Report (Triggering Gamification & Status Transition)
-
Endpoint:
POST /api/reports/{id}/verify - Scenario Description: A registered user casts an "agree" vote on a pending report. The system awards 5 gamification points, updates vote tallies, and — if this vote meets the 5-vote / 60%-agree threshold — automatically transitions the report to VERIFIED status, awarding a 20-point bonus to the author and 15-point bonuses to aligned voters.
- The Request:
curl -X 'POST' \
'https://api.mapcess.live/api/reports/13/verify' \
-H 'accept: */*' \
-H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9...<truncated>' \
-d ''- The Response:
{
"reportId": 13,
"userId": 2,
"geometry": {
"type": "Point",
"coordinates": [
29.035341739654545,
41.08836158269339
]
},
"latitude": 41.08836158269339,
"longitude": 29.035341739654545,
"description": "There is no ramp!",
"reportType": "OBSTACLE",
"environment": "OUTDOOR",
"status": "VERIFIED",
"agrees": 5,
"disagrees": 0,
"publishDate": "2026-05-16T16:32:52.444607Z",
"fixedAt": null,
"mediaIds": [],
"mediaUrls": [],
"userVote": "AGREE",
"activeFixRequest": null,
"objects": [
{
"id": 43,
"objectType": "RAMP",
"issues": [
"MISSING"
],
"measurements": "{}",
"warnings": []
}
],
"entryGeometry": null,
"exitGeometry": null,
"entryLatitude": null,
"entryLongitude": null,
"exitLatitude": null,
"exitLongitude": null,
"lastEditedByUserId": null,
"authorTopBadge": "TOP_10",
"locationLabel": "Cengiz Topel Caddesi, Etiler Mahallesi"
}Scenario 3: Submit a Fix Request with Evidence Photos
-
Endpoint:
POST /api/reports/{reportId}/fix-requests - Scenario Description: A registered user reports that a previously verified obstacle has been fixed by uploading photographic evidence. This creates a new fix request that other users can vote on. Once it reaches 5 agree votes at 60% ratio, the parent report automatically transitions to FIXED status.
- The Request:
curl -X 'POST' \
'https://api.mapcess.live/api/reports/13/fix-requests?files=string&description=It%20is%20fixed.' \
-H 'accept: */*' \
-H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9...<truncated>' \
-H 'Content-Type: multipart/form-data' \
-F 'files=@"Ekran görüntüsü 2026-05-16 191012.png";type=image/png' \
-F 'description=string'- The Response:
{
"id": 1,
"reportId": 13,
"submittedByUserId": 2,
"submittedByName": "Alice Example",
"description": "string,It is fixed.",
"state": "OPEN",
"agrees": 0,
"disagrees": 0,
"createdAt": "2026-05-16T16:42:02.789630500Z",
"resolvedAt": null,
"mediaUrls": [
"https://bounswe2026-group1.s3.amazonaws.com/d7290801-be94-46ce-b632-d4909a70c11e_Ekran görüntüsü 2026-05-16 191012.png"
],
"userVote": null
}Scenario 4: Contribute Measurements to a Report Object
-
Endpoint:
PATCH /api/reports/{id}/objects/{objectId}/measurements - Scenario Description: A registered user contributes the missing exact width and slope measurements of a ramp for an existing accessibility report. Any signed-in user can fill in measurement gaps — not only the report's author — enabling collaborative crowdsourced data enrichment.
- The Request:
curl -X 'PATCH' \
'https://api.mapcess.live/api/reports/13/objects/44/measurements' \
-H 'accept: */*' \
-H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9...<truncated>' \
-H 'Content-Type: application/json' \
-d '{
"values": {
"width_cm": 120,
"slope_percent": 9
}
}'- The Response:
{
"reportId": 13,
"userId": 2,
"geometry": {
"type": "Point",
"coordinates": [
29.035341739654545,
41.08836158269339
]
},
"latitude": 41.08836158269339,
"longitude": 29.035341739654545,
"description": "There is no ramp!",
"reportType": "OBSTACLE",
"environment": "OUTDOOR",
"status": "VERIFIED",
"agrees": 5,
"disagrees": 0,
"publishDate": "2026-05-16T16:32:52.444607Z",
"fixedAt": null,
"mediaIds": [],
"mediaUrls": [],
"userVote": null,
"activeFixRequest": {
"id": 1,
"reportId": 13,
"submittedByUserId": 2,
"submittedByName": "Alice Example",
"description": "string,It is fixed.",
"state": "OPEN",
"agrees": 0,
"disagrees": 0,
"createdAt": "2026-05-16T16:42:02.789631Z",
"resolvedAt": null,
"mediaUrls": [
"https://bounswe2026-group1.s3.amazonaws.com/d7290801-be94-46ce-b632-d4909a70c11e_Ekran görüntüsü 2026-05-16 191012.png"
],
"userVote": null
},
"objects": [
{
"id": 44,
"objectType": "RAMP",
"issues": [
"TOO_STEEP"
],
"measurements": "{\"width_cm\":120,\"slope_percent\":9}",
"warnings": []
}
],
"entryGeometry": null,
"exitGeometry": null,
"entryLatitude": null,
"entryLongitude": null,
"exitLatitude": null,
"exitLongitude": null,
"lastEditedByUserId": 3,
"authorTopBadge": "TOP_10",
"locationLabel": "Cengiz Topel Caddesi, Etiler Mahallesi"
}- Link to Frontend Code (Web): https://github.com/bounswe/bounswe2026group1/tree/main/frontend/src
- Link to Frontend Code (Mobile): https://github.com/bounswe/bounswe2026group1/tree/main/mobile/lib
Web:
-
Community Feed Page — New page with an interactive spatial feed: geolocation-based report discovery, a persistent map view with a fixed center pin for custom location selection, a compact 2-column report grid, and a split Map+Details view when a report is selected. Advanced Filters (sort order, date range, min agree/disagree counts, object-issue pair scoping, proximity radius) and a map-based location picker were added on top. (
frontend/src/pages/Feed.jsx) -
Create Report Panel — New panel for submitting accessibility reports: object type and issue selection, measurement inputs with a contextual "How to measure" tutorial modal, media upload, and map-based location pinning. (
frontend/src/components/CreateReportPanel.jsx) -
Other User's Profile Page — New page showing another user's public profile: their bio, badges, contribution stats, and submitted reports. (
frontend/src/pages/UserProfilePage.jsx) -
Community Pulse Card — Redesigned home screen widget showing a live resolution rate derived from nearby reports, with a minimise toggle to reduce clutter. (
frontend/src/pages/Home.jsx) -
Contribute Measurements Panel — New panel allowing users to submit missing accessibility measurements for report objects directly from the report detail view. (
frontend/src/components/ContributeMeasurementsPanel.jsx) -
Leaderboard Page — New page displaying the top contributors ranked by points, with the current user's rank shown at the bottom. (
frontend/src/pages/Leaderboard.jsx) -
Real-Time Notifications — New notification dropdown powered by SSE, showing live updates for follows, votes, comments, and report status changes. (
frontend/src/components/NotificationDropdown.jsx) -
Routing Preferences (Profile Page) — New section on the profile page for managing accessibility routing presets: create, edit, and delete custom presets with granular obstacle and constraint settings, and a danger zone for account deletion. (
frontend/src/components/RoutingPreferencesSection.jsx,frontend/src/pages/ProfilePage.jsx) -
Onboarding Tutorial — New six-slide first-visit tutorial guiding new users through the app's core features, shown automatically on first login. (
frontend/src/components/OnboardingTutorial.jsx) -
Admin Dashboard — Role-gated admin panel with a live stats overview (total/active/banned users, pending/verified reports, total comments) and quick-link navigation to four management sections: Users (ban/unban, role promotion, delete, paginated table), Reports (status change, multi-filter by type/environment/date, delete), Comments, and Validations. (
frontend/src/pages/admin/AdminDashboardPage.jsx,frontend/src/pages/admin/AdminUsersPage.jsx,frontend/src/pages/admin/AdminReportsPage.jsx)
Mobile:
-
Community Feed Screen — New screen (formerly the stub Reports tab) with a paginated, location-aware report feed. Includes advanced filters: sort order, date range, vote thresholds, object-issue pair scoping, and proximity radius. (
mobile/lib/screens/reports_screen.dart) -
Make Report Screen — New screen for submitting accessibility reports with object and issue selection, measurement inputs, multiple media uploads, and map-based location pinning. (
mobile/lib/screens/make_report_screen.dart) -
Other User's Profile Screen — New screen displaying another user's public profile with their bio, badges, contribution stats, and submitted reports. (
mobile/lib/screens/user_profile_screen.dart) -
Edit Report Screen — Full report editing with multiple media uploads (images/video) and a zoomed map for precise location adjustment. (
mobile/lib/screens/edit_report_screen.dart) -
Leaderboard Screen — New screen showing top users by contribution points, with author rank badges visible on report detail cards. (
mobile/lib/screens/leaderboard_screen.dart) -
Onboarding Tutorial — New first-visit tutorial screen guiding new users through the app's core features. (
mobile/lib/screens/onboarding_tutorial_screen.dart) -
Preferences — Routing preferences section. (
mobile/lib/screens/profile_screen.dart) -
Find People (User Search Screen) — New screen for searching other users by username, viewing their profiles, and following them. (
mobile/lib/screens/user_search_screen.dart) -
Map Filters (Home Screen) — Extended map filter panel on the home screen with nested category and issue toggles, allowing users to show only relevant accessibility report types on the map. (
mobile/lib/screens/home_screen.dart)
- GeoJSON (RFC 7946) — IETF standard for geospatial coordinate encoding, adopted across backend, web, and mobile.
- Schema.org + JSON-LD 1.1 — W3C Recommendation (July 2020) for semantic structured data, embedded in backend annotation responses and React report pages.
- OpenAPI 3.0 — OpenAPI Initiative specification for REST API documentation, enforced via springdoc-openapi throughout the Spring Boot backend.
- W3C Web Annotation Data Model — W3C Recommendation (February 2017) for structured comment semantics, implemented in the backend comment endpoints.
- W3C WCAG 2.1 — W3C Recommendation (June 2018) for UI accessibility, addressed through the onboarding tutorial system on both web and mobile.
Standard: GeoJSON (RFC 7946)
-
Evidence:
-
Code coverage:
-
backend/src/main/java/com/bounswe2026group1/backend/dto/geo/GeoJsonPoint.java— RFC 7946 §3.1.2Pointgeometry; enforces[longitude, latitude]coordinate order and WGS84 range validation. -
backend/src/main/java/com/bounswe2026group1/backend/dto/geo/GeoJsonLineString.java— RFC 7946 §3.1.4LineStringgeometry used in route responses, replacing the previous custom polyline encoding. - Both DTOs are consumed in
ReportResponse,RouteResponse,CreateReportRequest, andUpdateReportRequest. -
mobile/lib/utils/geojson.dart+mobile/test/utils/geojson_test.dart— Flutter parser and tests for GeoJSON geometries from the API.
-
-
Reasoning: The platform's core entities (
Report,Route) carry geographic coordinates. Before this change, coordinates were stored as flat numeric fields that were incompatible with GIS tooling and required hand-written encode/decode logic on both clients. OpenRouteService already speaks GeoJSON natively; adopting RFC 7946 end-to-end eliminated the custom re-encoding, made all geometry fields directly consumable by mapping libraries (Leaflet, flutter_map), and ensures interoperability with any standards-compliant GIS client.
Standard: Schema.org + JSON-LD 1.1 (W3C Recommendation, July 2020)
-
Evidence:
-
Code coverage:
-
frontend/src/utils/schemaOrg.js— builds aschema:PlaceJSON-LD object for each report, mappingObjectType/IssueTypeenums toschema:accessibilityHazardandschema:accessibilityFeatureproperties, withschema:GeoCoordinatesfor location. -
frontend/src/components/ReportPanel.jsx— embeds the serialised JSON-LD as<script type="application/ld+json" data-testid="report-jsonld">in the rendered report panel. -
frontend/src/utils/schemaOrg.test.js— unit tests verify@context: https://schema.org,@type: Place, correct geo fields, and full taxonomy coverage. -
backend/src/main/java/com/bounswe2026group1/backend/dto/CommentAnnotationResponse.java—Creatorsub-record uses"type": "Person"per schema.org convention inside theapplication/ld+jsonannotation responses.
-
-
Reasoning: Reports describe real-world accessibility conditions at physical places. Without semantic annotation, API responses are opaque JSON requiring consumers to learn application-specific field names. Embedding JSON-LD makes each report page machine-readable by search engines and assistive technologies without any app-specific knowledge. Using
schema:accessibilityHazardandschema:accessibilityFeaturedirectly expresses the domain meaning of the data in a vocabulary understood by the broader web ecosystem.
Standard: OpenAPI 3.0 (OpenAPI Initiative)
-
Evidence:
-
Code coverage:
-
backend/pom.xml— declaresspringdoc-openapi-starter-webmvc-uiv3.0.2. -
backend/src/main/java/com/bounswe2026group1/backend/config/OpenApiConfig.java— global API metadata, server URLs, and security scheme definitions. - 60+ backend Java files carry
@Operation,@ApiResponse, and@Schemaannotations across all controllers and DTOs. -
backend/src/test/java/com/bounswe2026group1/backend/config/OpenApiSpecIntegrationTest.java— integration test that boots the full application context and asserts the generated/api-docsdocument: OpenAPI version starts with3., correctinfo.title/info.version, server URLs present (https://api.mapcess.live,http://localhost:8080),bearerAuthsecurity scheme exists, nomapcessKeyscheme leaks, no globalsecurityblock, no/errorpath. - Live Swagger UI available at
https://api.mapcess.live/swagger-ui/index.html.
-
-
Reasoning: OpenAPI 3.0 documentation enables the mobile team to generate typed API clients from a single source of truth rather than transcribing endpoint signatures by hand. The integration test ensures the spec stays well-formed across every build, catching regressions such as leaked security schemes or missing server declarations before they reach production.
Standard: W3C Web Annotation Data Model (W3C Recommendation, February 2017)
-
Evidence:
-
Code coverage:
-
backend/src/main/java/com/bounswe2026group1/backend/dto/CommentAnnotationResponse.java— Javarecordimplementing the full Annotation structure:"@context": "http://www.w3.org/ns/anno.jsonld"-
id→ IRI of the comment (/api/comments/{id}) -
type→"Annotation" -
creator→Creator(id, type="Person", name)— identity derived from JWT, never from the request body -
body→Body(type="TextualBody", value, format="text/plain") -
target→ IRI of the parent report (/api/reports/{reportId})
-
backend/src/main/java/com/bounswe2026group1/backend/controller/CommentController.java— two dedicated endpoints withproduces = "application/ld+json":GET /api/comments/{id}/annotationGET /api/comments/report/{reportId}/annotations
-
backend/src/test/java/com/bounswe2026group1/backend/controller/CommentControllerTest.java— tests covering annotation response shape.
-
-
Reasoning: Comments are semantically annotations on reports — a
body(what is said) linked to atarget(which report it concerns). The previousCommentControllerexposed internal entity references and accepted user identity in the request body, creating both a design gap and a security concern. Adopting the W3C model gives each comment a globally dereferenceable IRI, makes the relationship between comment and report explicit in a machine-readable form, and moves user identity resolution into JWT validation where it belongs.
Standard: W3C WCAG 2.1 Level AA (W3C Recommendation, June 2018)
-
Evidence:
-
Code coverage:
-
frontend/src/components/ReportPanel.jsx— Ten-slide onboarding tutorial modal (widened to 960px, image-left/text-right layout) with diagrams sourced from Özlem Belir's Mimari Erişilebilirlik Kılavuzu. Each slide maps WCAG-relevant physical barriers (ramps, doors, elevators, tactile surfaces) to the platform'sIssueTypeenum values. -
frontend/src/components/ReportPanel.test.jsx— web test suite (457/457 passed) covering slide rendering, navigation, skip/next CTAs, and attribution citation. -
mobile/lib/screens/onboarding_tutorial_screen.dart— Flutter first-visit tutorial usingSharedPreferencesflag (mapcess_onboarding_v1);Semanticswidgets applied for screen reader support. -
mobile/lib/screens/profile_screen.dart— additionalSemanticswidget coverage on the profile screen. -
mobile/test/widgets/onboarding_tutorial_screen_test.dart— widget tests (62/62 passed).
-
-
Reasoning: An accessibility-focused platform must itself be accessible. WCAG 2.1 AA is the internationally recognised baseline for web and mobile UIs. The onboarding tutorial both educates users on physical accessibility standards (making crowdsourced data more consistent and correctly classified) and demonstrates the platform's own commitment to accessibility by surfacing real architectural standards diagrams with proper attribution.
Test Execution Reports
-
Backend API: index.html | junit.xml
-
Web App: index.html | junit.xml
-
Mobile App: index.html | junit.xml
Compared to the MVP milestone (D6–D7), the test suite has grown substantially across all three components. The backend went from ~40 test files to 75, the frontend from 9 to 68 test files, and the mobile app from 16 tests to 39 test files spanning screens, widgets, models, and services.
Backend integration tests boot the real Spring application context and exercise the full persistence stack, including a Dockerized PostGIS database via Testcontainers.
| Test Class | What It Covers |
|---|---|
ObstacleServiceConstraintIntegrationTest |
Spatial obstacle/hazard filtering against a real PostGIS container — proves the constraint→hazard mapping flows through the full persistence layer |
RoutingPreferencesIntegrationTest |
Full-stack CRUD for routing preferences: persists a real user, round-trips preferences through the API, and asserts DB state |
RoutingPreferencesRouteIntegrationTest |
Verifies that saved routing preferences are correctly applied when a route is subsequently requested |
CustomRoutingProfileIntegrationTest |
CRUD lifecycle for per-user custom routing profiles via the real Spring container |
AdminSecurityIntegrationTest |
Verifies Spring Security enforcement: unauthenticated requests return 401, non-admin users receive 403 on all admin endpoints |
RouteServiceLiveOrsIntegrationTest |
Live smoke test against the OpenRouteService API (conditionally skipped in CI when the API key is absent) |
All PostGIS integration tests extend AbstractPostgisIntegrationTest, which starts a singleton postgis/postgis Testcontainer and registers datasource properties dynamically, so the tests run against a real GEOMETRY(Point,4326) column rather than an H2 stub.
Mobile E2E-style widget tests render full screens against a mocked HTTP client and assert complete user flows end-to-end within the Flutter widget tree.
| Test File | What It Covers |
|---|---|
reports_screen_test.dart |
Loads the reports feed from a mocked API, asserts cards are displayed, and verifies that scrolling to the bottom triggers a second paginated fetch |
home_screen_test.dart |
Mocks the SSE stream and API layer; verifies the map screen renders, report overlays are placed, and SSE-pushed report updates are reflected in the UI |
leaderboard_screen_test.dart |
Loads the leaderboard, switches between global and weekly scopes, and confirms that caller-rank and top-entries are rendered correctly |
report_detail_screen_test.dart |
Opens a report detail, submits an agree/disagree vote, and asserts the vote count and button state update in place |
make_report_screen_test.dart |
Walks through the report creation form: picks a location, selects object type and issues, submits, and verifies the success state |
create_fix_request_screen_test.dart |
Submits a fix request against a mocked API and verifies navigation to the success screen |
Tests that validate rendering, accessibility props, and interactive behaviour of individual UI components.
Mobile — Screen-level widget tests (mobile/test/screens/)
| Test File | Component |
|---|---|
login_screen_test.dart |
Login form rendering, field validation, sign-in tap |
register_screen_test.dart |
Registration form fields and submission |
profile_screen_test.dart |
Profile page layout, avatar display |
user_profile_screen_test.dart |
Public user profile view |
user_search_screen_test.dart |
Search input, results list, admin inclusion |
edit_report_screen_test.dart |
Report edit form pre-fill and update submission |
location_picker_screen_test.dart |
Map-based location picker interaction |
report_location_picker_screen_test.dart |
Location picker embedded in report creation flow |
avatar_crop_screen_test.dart |
Avatar cropping UI rendering |
Mobile — Widget-level tests (mobile/test/widgets/)
| Test File | Component |
|---|---|
report_card_test.dart |
Report card renders headline, body, and propagates tap events |
badge_chip_test.dart |
Badge chip renders icon and label correctly |
objects_section_test.dart |
Object type and issue list section |
onboarding_tutorial_screen_test.dart |
Onboarding slide rendering and navigation |
routing_preferences_screen_test.dart |
Routing preferences form fields and save flow |
report_success_screen_test.dart |
Success screen after report submission |
Frontend — Hook and service tests (frontend/src/hooks/, frontend/src/services/)
New hooks added since MVP and covered by dedicated test files:
| Test File | Hook / Feature |
|---|---|
useAdmin.test.jsx |
Admin user/report/comment management queries |
useGamification.test.jsx |
Points, badges, and leaderboard data fetching |
useLeaderboard.test.jsx |
Leaderboard query + scope toggling |
useNotifications.test.jsx |
Notification list fetching and mark-as-read mutation |
useNotificationSseSync.test.jsx |
SSE-driven notification cache invalidation |
useRoutingPreferences.test.jsx |
Routing preferences read/write mutations |
useUserSearch.test.jsx |
Debounced user search query hook |
useUserProfile.test.jsx |
Public user profile data fetching |
useUserReports.test.jsx |
Per-user report list pagination |
useSseSync.hooks.test.jsx |
SSE connection lifecycle and reconnect logic |
useSseSync.points.test.jsx |
Point-event SSE push updating the gamification cache |
notificationSseClient.test.js |
Notification SSE client connection and event parsing |
routingPreferencesService.test.js |
Routing preferences API calls and response mapping |
| Component | Unit Tests | Integration Tests | Total Test Files | Key Areas Added Since MVP |
|---|---|---|---|---|
| Backend | 67 files (controllers, services, models, DTOs, utils) | 8 files (full Spring context + real PostGIS via Testcontainers) | 75 | Gamification, leaderboard, fix requests, notifications, admin panel, SSE, routing preferences & profiles, obstacle spatial filtering |
| Web App | 68 files (hooks + services + app) | — (service calls mocked via vi.fn()) |
68 | Admin hooks, gamification, notifications, notification SSE, routing preferences, user search, user profile, per-user reports |
| Mobile | 39 files (screens, widgets, models, services, utils) | — (HTTP layer mocked via mocktail) |
39 | 14 screen tests, 7 widget tests, 6 model tests, fix requests, leaderboard, routing preferences, badge display |
All three suites pass with zero test failures in the release candidate build.
The following defects were caught by automated tests before reaching production during the final milestone period:
-
ORS
avoid_featureswiring mismatch —OrsRoutingClientTestandRoutingPreferencesRouteIntegrationTestcaught a discrepancy between the constraint catalog and the values actually sent to ORS. The fix unified constraint constants across the service layer (commitbb529bc, issue surfaced viafix: resolve routing constraint catalog consistency and update tests). -
REQUIRE_RAMPS not triggering Accessible Route —
RoutingPreferencesRouteIntegrationTestrevealed that users withREQUIRE_RAMPSin their preferences were not receiving the ramp-assisted accessible routing path, only those withAVOID_STAIRS. The routing service was updated to treat both constraints equivalently (commit9341a99). -
Blind preset missing
HANDRAIL_TOO_LOWhazard — Updating the blind-preset integration test expectations exposed that theHANDRAIL_TOO_LOWissue type on stairways was not mapped to a routing hazard for mobility-limited profiles. TheObstacleServiceconstraint map was extended accordingly (commit68a9ff9). -
Report subscription cascade-delete failure —
ReportSubscriptionServiceTestcaught that deleting a report left orphaned subscription rows, causing foreign-key violations on subsequent operations. A cascade delete was added to thereport_subscriptionstable (commita5829d7). -
SSE point-event cache invalidation not firing —
useSseSync.points.test.jsxverified that gamification cache entries were not being invalidated when a point-event arrived over SSE, meaning the leaderboard and points display stayed stale. The SSE sync hook was updated to invalidate the correct query keys onPOINTS_UPDATEevents.
The test suite demonstrates release readiness across all three application tiers:
- Backend: The combination of Mockito unit tests (business logic in isolation) and Testcontainers integration tests (real PostGIS geometry queries, full Spring Security enforcement, transactional round-trips) provides high confidence in both correctness and deployment-time behaviour. No mocking of the database layer occurs in integration tests.
- Web App: All 28 hook and service tests pass against a jsdom environment with mocked network calls. SSE-driven cache invalidation, admin operations, gamification updates, and routing preferences are covered end-to-end through the React Query layer.
-
Mobile: The 39-file Flutter test suite covers the application's full screen inventory. Critical flows — report creation, fix request submission, leaderboard display, routing preference saving — are exercised against a mocked HTTP layer at realistic phone-screen viewport sizes (420×720 dp). All widget tests call
pumpAndSettleand asserttester.takeException() == null, guarding against uncaught async errors.
Notes Taken During the Demo
link to wiki page containing notes
Reflections
link to wiki page containing reflections
- Responsibilities:
- Main Contributions:
-
Significant Issues (Top 3 per category):
-
Code-Related:
- [Issue #ID]: [Brief explanation]
- [Issue #ID]: [Brief explanation]
-
Non-Code-Related:
- [Issue #ID]: [Brief explanation]
-
Code-Related:
-
Pull Requests:
- [PR #ID]: [Description] - [Conflict Resolution if applicable]
-
AI Transparency & Documentation:
-
Tool summary:
- ...
- Prompts: [Link to prompts (stored in GitHub Wiki of your repository)]
-
Tool summary:
-
Individual Testing Efforts:
- [Test 1 Name, Commit #ID]: [Brief explanation]
- [Test 2 Name, Commit #ID]: [Brief explanation]
- ...
- [Test n Name, Commit #ID]: [Brief explanation]
- Additional Information:
-
Responsibilities: Backend feed infrastructure, spatial query optimization, and routing logic correctness — designing and implementing the paginated reports feed endpoint, integrating PostGIS/Hibernate Spatial for proximity-based discovery, and fixing the obstacle-routing fallback for authenticated users with default preferences. Also responsible for cross-platform test coverage improvements (backend unit/integration tests, web frontend Jest/RTL tests, mobile Flutter tests) and UI cleanup across web and mobile.
-
Main Contributions: Exposed the reports feed as a paginated REST endpoint (
GET /api/reports/feed) reusing the existing Report model. Integrated PostGIS/Hibernate Spatial into the Location/Report entity layer, replacing in-memory Euclidean distance calculations with database-levelST_Distanceproximity sorting. Extended the feed to accept a dynamicradiusInKmparameter with safe defaults and strict closest-first ordering. Implemented the complete interactive spatial Community Feed on the web frontend with geolocation, custom map-based location selection, synchronized split-view, infinite scroll, and a reusable filter bar. Fixed a routing logic bug causing authenticated users with default preferences to bypass obstacle polygon evaluation. Brought web frontend Jest/Istanbul line coverage to 91.04%, surpassing the 85% team target. -
Significant Issues (Top 3 per category):
-
Code-Related:
-
#398: Integrated PostGIS/Hibernate Spatial to replace in-memory Euclidean distance with database-level
ST_Distancespatial queries. Updated Location/Report entities to use spatial data types and updatedGET /api/reports/feedto accept coordinate parameters, correctly accounting for Earth's curvature while keeping pagination and category filtering fully functional. -
#429: Made the spatial feed search radius dynamic via a
radiusInKmparameter (defaulting to 1.0 km). UpdatedReportFeedQuery,ReportService,ReportRepositoryCustom, andReportRepositoryImpl. Enforced strictORDER BY ST_Distance ASCsorting so the closest reports always appear first. -
#319: Exposed the fully implemented Reports system as a paginated, sorted feed endpoint (
GET /reports/feed). Reused the existing Report model and response structure, added descendingcreated_atsorting, and ensured all necessary fields (media, tags, user, interactions) are included in the response.
-
#398: Integrated PostGIS/Hibernate Spatial to replace in-memory Euclidean distance with database-level
-
Non-Code-Related:
- #635: Identified the non-functional "Forgot password?" link on the login screen as a UX issue causing user confusion and coordinated its removal across both web and mobile platforms.
- #641: Identified the redundant "Within 500m of your location" label on the web home screen as a misleading UI element and tracked its removal with layout verification.
-
#630: Identified and documented the default routing preferences bug where authenticated users with
NONEpreset were silently bypassing obstacle polygon evaluation, causinghasObstaclesto always return false.
-
Code-Related:
-
Pull Requests:
- #415: [Backend] Implement Proximity Based Feed And Optimized Category Filtering — Implements a location-aware community feed using PostGIS, allowing users to discover accessibility reports within a configurable radius sorted by proximity. Also optimizes the intersection of category subtrees and report types (OBSTACLE/FEATURE) in the service layer to prevent redundant database queries.
-
#454: [Backend] Implement Dynamic Radius And Proximity Sorting For Feed — Replaces the hardcoded 1 km limit with a dynamic
radiusInKmparameter (defaulting to 1.0 km). UpdatesReportRepositoryImplto strictly sort spatial results byST_Distanceascending. Fixes #429. -
#570: [Backend] Implement Unit And Integration Tests — Unit tests for all major service classes (JUnit 5 + Mockito), integration tests for core controller endpoints (MockMvc), and repository tests against an H2 in-memory database (
@DataJpaTest)../mvnw testruns with zero failures; Surefire/Jacoco reports generated. Fixes #146. -
#631: [Backend] Fix Default Authenticated Route Options — Authenticated users with default preferences (
NONE+ empty constraints) are now treated as anonymous callers until real preferences are set, ensuring obstacle polygons and extra alternatives are correctly evaluated. Explicit opt-out remains intact for theCUSTOMpreset with zero rules. Fixes #630. - #496: [Web] Implement Interactive Spatial Community Feed — Implements the complete frontend layer for the spatial Community Feed. Features: auto geolocation prompt (default 1 km radius), custom map-based location selection with a fixed-center pin, 2-column grid layout, synchronized split-view (map + detail panel), infinite scroll, and a reusable icon-based filter bar. Fixes #320.
-
#568: [Web] Implement Unit And UI Component Tests — Component tests for buttons, modals, and forms; form validation assertions; API mocking with Jest/MSW for loading, success, and error states; unit tests for complex custom hooks.
npm testruns with zero failures. Fixes #147. - #654: [Web] Increase Test Coverage Across Core Components, Hooks, and Services — Robust unit and integration tests using Jest, RTL, and MSW bringing overall web line coverage to 91.04%, surpassing the 85% target. No production UI or runtime behavior was altered. Fixes #648.
-
#573: [Mobile] Implement Unit And Widget Tests — Unit tests for data parsing and state management logic, widget tests confirming core screens render without overflow, and mock services simulating network responses and errors.
flutter testruns with zero failures. Fixes #148. -
#638: [Web][Mobile] Remove Unused Forgot Password Link From Login — Removes the non-functional "Forgot password?" control from both web (
frontend/src/pages/Login.jsx) and mobile (mobile/lib/screens/login_screen.dart). Updates login tests accordingly. Fixes #635. - #642: [Web] Remove Redundant Location Label From Home Screen — Removes the "Within 500m of your location" text from the web home screen. Parent container margins and paddings verified to ensure layout consistency. Mobile app was unaffected. Fixes #641.
-
AI Transparency & Documentation:
-
Tool summary:
- Claude (Anthropic, claude.ai): Used for drafting issue/PR descriptions, generating boilerplate Spring Boot code (service/repository/controller stubs), debugging PostGIS query syntax and Hibernate Spatial configuration, and writing initial test skeletons for JUnit 5 and Jest/RTL test suites.
- Prompts: Burak Altunay — Ai Prompts
-
Tool summary:
-
Individual Testing Efforts:
-
Backend unit & integration tests, PR #570: Unit tests for all major service classes (JUnit 5 + Mockito), integration tests for core controller endpoints via MockMvc, and repository tests against H2 (
@DataJpaTest)../mvnw testpasses with zero failures. -
Spatial feed repository tests, PRs #415 / #454: Tests verifying
ST_DWithinradius filtering andST_Distanceproximity ordering, covering both default-radius and dynamic-radius scenarios. -
Web unit & component tests, PR #568: Component render and event tests for buttons, modals, and forms; form validation assertions; Jest/MSW API mocking; unit tests for custom hooks.
npm testpasses with zero failures. - Web coverage expansion, PR #654: Comprehensive Jest/RTL tests bringing overall web line coverage to 91.04%. Covers utils, custom hooks, OverpassApiClient, and 8 previously untouched components.
-
Mobile widget & unit tests, PR #573: Flutter unit tests for data parsing and state management; widget tests confirming core screens render without overflow; mock services simulating network responses.
flutter testpasses with zero failures.
-
Backend unit & integration tests, PR #570: Unit tests for all major service classes (JUnit 5 + Mockito), integration tests for core controller endpoints via MockMvc, and repository tests against H2 (
-
Additional Information: Contributed across backend, web frontend, and mobile — covering both core feature work (spatial feed, routing fix) and quality improvements (test coverage, UI cleanup). The PostGIS integration replaced a geometrically inaccurate in-memory approach and laid scalable groundwork for location-based features. Attended all weekly team meetings and contributed to milestone planning and coordination throughout the final milestone.
-
Responsibilities: As a member of the Mobile subgroup, in the Final Milestone I took primary ownership of two areas: (1) the mobile profile experience — redesigning the profile view with avatar/bio/stats, adding an inline edit flow over the new backend profile endpoints, and wiring accessibility (Semantics) coverage into the profile and navigation surfaces; and (2) mobile test coverage — roughly doubling unit-test coverage so the mobile app could be released with confidence. I also finalized the project's individual sequence diagrams on the wiki to reflect the latest mobile flows. Earlier in the project, I built the mobile authentication screens, the initial profile screen, and the guest user mode, and resolved a
dart:io/kIsWebcross-platform issue that was blocking the Flutter web build. -
Main Contributions: Profile redesign and inline edit flow (avatar, bio,
routesPlannedstat, gallery-backed avatar picker) backed by the newPUT /api/users/{id}/profileandPOST/DELETE .../avatarendpoints. Accessibility (Semantics) wrappers across the profile and navigation surfaces for TalkBack/VoiceOver compatibility. Mobile unit-test coverage raised from ~35 % to ~67 % (~4.6 k lines across 17 test files). Tutorial replay feature on the mobile side. Sequence diagram finalization on the project wiki. Earlier milestone work: mobile auth screens, initial profile screen, guest user mode, and thekIsWebcross-platform fix. -
Significant Issues (Top 3 per category):
-
Code-Related:
-
#300:
Redesigned the profile view (avatar, bio,
routesPlannedstat) and added an inline edit mode with display-name and bio fields and a gallery-backed avatar picker, backed by the new profile and avatar endpoints (PR #453). -
#367:
Added
Semanticswrappers on the profile avatar, name, email, bio, and form fields so the redesigned profile surface works correctly with TalkBack/VoiceOver. - #373: Contributed to the tutorial replay feature so users can re-watch the onboarding tour after first launch.
-
#300:
Redesigned the profile view (avatar, bio,
-
Non-Code-Related:
- #667: Updated and finalized the individual sequence diagrams on the wiki so they reflect the shipped mobile flows at the end of the Final Milestone.
-
Code-Related:
-
Pull Requests:
-
#453:
[Mobile] Profile Page — redesigned profile view (avatar, bio,
routesPlannedstat) and inline edit mode with display-name + bio fields and a gallery-backed avatar picker; hooked the newPUT /api/users/{id}/profileandPOST/DELETE .../avatarendpoints; addedSemanticswrappers across the screen for TalkBack/VoiceOver compatibility. Closes #300, contributes to #367. -
#665:
test: mobile test scenarios & coverage — raised mobile unit-test
coverage from ~35 % to ~67 % across 17 test files (~4.6 k added
lines), covering the API service layer, app entrypoint, screens,
widgets, and theme tokens.
-
Conflict resolution: resolved an
api_service_test.dartconflict during the merge from main, and repaired tests broken by upstream PR #664 (FeedPagetotalElementsrequired field and a notifications-sheet refresh-tap finder collision).
-
Conflict resolution: resolved an
-
#453:
[Mobile] Profile Page — redesigned profile view (avatar, bio,
-
AI Transparency & Documentation:
-
Tool summary:
- Claude (chat / Claude Project): used for upstream planning and reasoning before writing code — structuring the redesigned profile screen, drafting issue and PR descriptions, debugging Flutter framework errors and git merge conflicts, scoping the test-coverage effort, and sanity-checking the sequence-diagram updates.
-
Claude Code (CLI / IDE): used for hands-on implementation —
writing the profile-redesign and inline-edit code in
profile_screen.dartandapi_service.dart, writing the bulk of the mobile unit-test suite (~4.6 k lines across 17 test files), repairing post-merge test breakages, and rendering the updated sequence diagrams on the wiki.
- Prompts: I did not maintain a structured, contemporaneous prompt log — most prompting happened conversationally inside Claude / Claude Code chats while writing code.
-
Tool summary:
-
Individual Testing Efforts:
-
Profile and user-profile screen tests, commit
bdb4ac7: tests for the redesigned profile view, inline edit mode flows, and the user-profile screen. -
API service tests, commit
bdb4ac7: significantly expandedapi_service_test.dart, covering user/profile, report, and routing-related endpoints. -
Screen test suite, commit
bdb4ac7: tests forhome_screen,report_detail_screen,edit_report_screen,make_report_screen,create_fix_request_screen,avatar_crop_screen,location_picker_screen, andreport_location_picker_screen. -
Widget test suite, commit
bdb4ac7: tests forreports_screen,routing_preferences_screen,objects_section, andonboarding_tutorial_screen. -
Theme and app-entrypoint tests, commit
bdb4ac7: tests forapp_colorstheme tokens and themain_testapp-bootstrap flow. -
Post-merge test repairs, commit
e7c31de: added the requiredtotalElements: 0to FeedPage constructors inmain_test.dart(6 sites) anduser_search_screen_test.dart(2 sites), and narrowed the notifications-sheet refresh tap finder towidgetWithIcon(IconButton, Icons.refresh)to avoid collision with reports-screen retry buttons rendered behind the sheet. -
Merge conflict resolution, commit
9a2a890: resolved anapi_service_test.dartconflict when merging main into the test branch.
-
Profile and user-profile screen tests, commit
-
Additional Information: Reviewed the following Final Milestone PRs, pulling and running them locally before approving: #577 [Mobile] Surface Gamification UI End-to-End; #452 [Mobile] Added Fixed Request and Status; #418 [Mobile] Added Dark Theme Mode.
-
Responsibilities: Primary owner of the Spring Boot backend — domain model design, the accessibility-routing engine, report verification / lifecycle logic, the notification subsystem, and the public API contract (Swagger / OpenAPI). Also responsible for keeping the backend deployable and for reviewing teammates' backend pull requests.
-
Main Contributions: Multi-object report model, the accessibility-routing engine, the Fixed-status independent validation flow, the in-app notification subsystem, and report status automation (ratio-based verification, auto-rejection, revert-to-pending). Hardened the API contract with full OpenAPI docs, GeoJSON RFC 7946 coordinates, and W3C Web Annotation comments. 40 merged PRs and 81 PR reviews this milestone.
-
Significant Issues (Top 3 per category):
-
Code-Related:
-
#413:
Redesigned the report domain model — replaced the legacy
Tagenum + single-tableReport/RampReportinheritance with a composableReportObject×ObjectType×IssueTypemodel. The structural backbone the rest of the milestone built on. -
#365:
Built the accessibility-routing engine — routing presets
(Wheelchair / Blind-or-low-vision / Mobility-limited / Custom),
constraint-to-hazard expansion, and ORS
avoid_featureswiring so routes route around verified obstacles. -
#400:
Implemented the Fixed-status flow —
FixRequestas an independent validation entity with its own media + voting and an hourly lifecycle scheduler.
-
#413:
Redesigned the report domain model — replaced the legacy
-
Non-Code-Related:
- #432: Overhauled backend Swagger / OpenAPI documentation across every controller so the API contract is self-documenting for the web and mobile teams.
- #535: Added OpenAPI annotations to the remaining routing controllers, completing the documented API surface.
- #381: DevOps — added a restart policy to the backend container so the production deployment auto-recovers after a crash.
-
Code-Related:
-
Pull Requests: (the 10 pull requests that required the biggest effort)
-
#414:
Redesign report model (multi-object, multi-issue, enum object types).
-
Conflict resolution: a ~560-line change across 37 files that
overlapped concurrent web/mobile work; resolved by merging
maininto the branch frequently to keep each conflict small and re-running./mvnw clean verifyafter every merge.
-
Conflict resolution: a ~560-line change across 37 files that
overlapped concurrent web/mobile work; resolved by merging
- #423: Accessibility profiles and constraint-based routing.
- #403: Fixed status with independent validation flow for resolved reports.
- #391: Notification entity, repository, and in-app SSE triggers.
- #385: Improve pathfinding — multi-ramp evaluation and real ramp routing.
- #389: Backend user profile endpoints.
- #597: First-visit onboarding tutorial with accessibility-standard diagrams (web).
- #607: First-visit onboarding tutorial for mobile (Flutter port of #597).
- #543: Implement the mobile Feed screen for reports.
-
#545:
Fix routing UX — "No Preference" preset avoiding all obstacles.
- Conflict resolution: coordinated merge order with concurrent routing-constraint PRs to avoid clobbering shared routing logic.
-
#414:
Redesign report model (multi-object, multi-issue, enum object types).
-
AI Transparency & Documentation:
-
Tool summary:
-
Claude Code (Anthropic CLI, model Claude Opus): code generation
(scaffolding entities / repositories / services / controllers),
debugging (Spring Boot 4 / Jackson 3 regressions, SSE race
conditions, Docker startup failures), refactoring (the report-model
redesign,
LocalDateTime→Instantmigration), documentation (drafting OpenAPI annotations and PR/issue bodies), PlantUML class/use-case diagram generation, and code-review assistance (summarising teammate PRs before review).
-
Claude Code (Anthropic CLI, model Claude Opus): code generation
(scaffolding entities / repositories / services / controllers),
debugging (Spring Boot 4 / Jackson 3 regressions, SSE race
conditions, Docker startup failures), refactoring (the report-model
redesign,
- Prompts: Efe Mantaroğlu ‐ AI Logs (repository wiki)
-
Tool summary:
-
Individual Testing Efforts:
-
ObstacleServiceTest+RouteServiceTest, commit89f3266: cover obstacle-buffer detection and ramp-assisted / accessible route selection in the pathfinding logic. -
RegisteredUserControllerTest, commite5d24aa: cover the user profile endpoints and the profile embedded in the login response. -
RouteControllerTest, commit6c37fe2: coverGET /api/routes/user/{userId}and the underlying repository query. -
NotificationServiceTest,NotificationControllerTest,NotificationRepositoryTest,NotificationSseServiceTest, commitace4780: cover the notification service, controller, repo query, and SSE delivery end-to-end. -
ReportSubscriptionServiceTest,ReportSubscriptionControllerTest,ReportSubscriptionRepositoryTest, commit6e99db5: cover the report subscribe / unsubscribe flow. -
JwtAuthFilterTest+SseTokenControllerTest, commita4aec2c: cover JWT filter behaviour and short-lived SSE cookie minting. -
FixRequestServiceTest, commitff78e2b: cover fix-request service behaviour andReportResponsehydration. -
ObjectTypeServiceTest, commit44462e4: cover the object/issue validity matrix after the multi-object model redesign. -
RoutingPreferencesServiceTest,RoutingPreferencesIntegrationTest,RoutingPreferencesRouteIntegrationTest,RoutingConstraintTest,RoutingPresetTest,ObstacleServiceConstraintIntegrationTest, commit70683d3: cover routing preferences end-to-end — unit tests for constraint/preset enums plus integration tests through the routing pipeline. -
CommentControllerTest, commit2b78b5b: coverPOST /api/commentswire shape and validation. -
OpenApiSpecIntegrationTest, commit13ebb2c: integration test that pins the generated OpenAPI spec contract. -
Frontend tests authored while wiring cross-team PRs —
ProfilePage,Navbar,RequireAuth,RequireAdmin,OnboardingTutorial,adminService,reportService,schemaOrg(commits99507cc,f72f192,2212735,6001c28,def07f6,ac86e62,cb70180,90a8181).
-
-
Additional Information: Acted as a reviewer for the project and reviewed 81 of the 172 pull requests opened this milestone (~47%), pulling and testing them locally to make sure the app worked correctly before merge.
-
Responsibilities:
As a member of the Backend subgroup, I was responsible for the server-side design and implementation of the gamification, leaderboard, and custom routing-preferences subsystems — including their database schema (Flyway migrations), service-layer logic, and REST endpoints. I was also responsible for extending the report feed with advanced filtering and sorting and for raising backend test coverage. Beyond the backend, I took cross-layer ownership of these features by implementing their web and mobile client integrations as well.
-
Main Contributions:
-
Gamification & Leaderboard (backend): Implemented the full points-and-badges system — a
PointEventledger, theBadgeenum andUserBadgeentity,GamificationService(points and milestone badges), andLeaderboardService(top-N ranking, caller rank, and TOP_10 badge churn). Wired gamification intoReportServiceandFixRequestService, exposed leaderboard / badges / points-history / visibility REST endpoints, and addedBADGE_AWARDEDnotifications. - Live points broadcast: Broadcast point changes over the public SSE stream and invalidated the leaderboard cache on vote and report-submit events, deferring the broadcast until after transaction commit.
-
Leaderboard & gamification UI (web & mobile): Built the web
/leaderboardpage,BadgeIcon/BadgeListcomponents, and points/rank/badges on profile pages; on mobile, built theLeaderboardScreen,Badge/LeaderboardEntrymodels,BadgeChipwidget, and profile badge/opt-out surfaces. -
Advanced Report Feed: Added a
FeedSortenum and advanced filter fields to the feed query, a Flyway V6 index migration, web filter & sort controls, a live result count, scoped objectType/objectIssue pair filtering (web + mobile), and reverse-geocoded place names on feed cards via a new Nominatim service. - User Search: Extended user search to include admins and exclude banned accounts.
-
Custom Routing Profiles: Implemented the
CustomRoutingProfileentity (up to 5 named bundles per user), its CRUD service and controller, and the web routing-preferences profile section. - Backend test coverage: Significantly raised backend unit test coverage across services, controllers, utilities, and DTOs.
-
Gamification & Leaderboard (backend): Implemented the full points-and-badges system — a
-
Significant Issues (Top 3 per category):
-
Code-Related:
- #264 — [Backend][Frontend][Mobile] Implement Gamification & Leaderboard Module: Implemented the full gamification and leaderboard module across all three layers — the backend points ledger, badge entities and services, the web leaderboard page and badge UI, and the mobile leaderboard screen and profile badge surfaces.
- #591 — [Backend] Improve unit test coverage across util, repository, services, and controllers: Raised backend unit test coverage by adding tests for utility classes, the custom report repository, multiple services, and controller handler paths.
- #366 — [Web] Unified Accessibility Filters: Profile Settings and Map Routing Integration: Integrated accessibility routing filters into the web profile settings, unifying a user's saved routing preferences with map routing.
-
Non-Code-Related: (No separate GitHub issues were opened for these contributions.)
- Final Milestone Demo script: Prepared the large majority of the demo script, structuring the order and flow of the features presented during the demo.
- Project planning & task distribution: Took a guiding role in project planning, helping break down the milestone scope and distribute work across the backend, web, and mobile subgroups.
-
Code-Related:
-
Pull Requests:
-
#530: Gamification, Leaderboard & Badges — implemented the end-to-end gamification system across all three layers (backend points ledger and services, badge-award notifications, the web leaderboard page, and the mobile leaderboard screen and profile badge surfaces). Conflict resolution: a Flyway migration version collision with
mainwas resolved by renumbering the gamification migrations to V4/V5. - #593: Backend Test Coverage — expanded backend unit tests covering utility classes, DTOs, exceptions, enums, the custom report repository, controller handler paths, and several services (lifecycle scheduler, SSE broadcasts, ORS routing client, Overpass service).
- #472: Web Routing Preferences Profile — added a routing-preferences section to the web profile page with preset cards and modals, backed by a routing-preferences service and React Query hooks.
-
#530: Gamification, Leaderboard & Badges — implemented the end-to-end gamification system across all three layers (backend points ledger and services, badge-award notifications, the web leaderboard page, and the mobile leaderboard screen and profile badge surfaces). Conflict resolution: a Flyway migration version collision with
-
AI Transparency & Documentation:
-
Tool summary:
- Gemini — used for issue writing and milestone planning. It helped draft and refine the wording of GitHub issues, break larger features into clear and actionable sub-tasks, and reason about the scope and sequencing of work before implementation began.
- Claude — used through a dedicated Claude Project for design, planning, and technical guidance. It supported planning the design of new subsystems (gamification, leaderboard, and custom routing profiles) before coding, answering technical questions across the stack (Spring Boot, Docker, React, Flutter), brainstorming the hierarchical report category model, and reviewing pull requests.
- Claude Code — used for the hands-on implementation work: turning the designs and plans into backend, web, and mobile code, refactoring existing code, and writing and expanding unit tests.
- Prompts: A set of representative example prompts, organized by tool and chat, is provided in a separate document. Link to prompts
-
Tool summary:
-
Individual Testing Efforts:
-
Delete report endpoint tests (commit
e13e3b3): unit tests for the delete-report endpoint. -
Update report endpoint tests (commit
69464b8): unit tests for the update-report endpoint. -
Report redesign test updates (commit
40b70af): updated existing tests to match the redesigned report model. -
Category schema inheritance tests (commit
64f8a28): tests for the hierarchical category schema inheritance. -
Admin feature tests (commit
2ba4d69): tests for admin features, plus updates to existing tests after model changes. -
New admin endpoint tests (commit
a827d12): tests for the newly added admin endpoints. -
LeaderboardService tests (commit
02fc6ff): rank computation, leaderboard opt-out, and TOP_10 badge churn. -
Gamification tests in ReportService (commit
aff0aaa): verify points are awarded and deducted on report and validation events. -
Custom routing profile endpoint tests (commit
04cf1f6): routing-profile CRUD endpoints (Flyway disabled in tests). -
Web routing preferences tests (commit
24f6601): profile routing-preferences section flows. -
Backend coverage suite (PR #593, commits
c15a18e,7b5ab3c,7003276,8c4f41c,bf52e6b): util classes and the custom report repository, DTOs/exceptions/enums,BackendApplicationbootstrap, controller handler paths, and service-layer coverage (lifecycle scheduler, SSE broadcasts, ORS routing client, Overpass service). -
Advanced feed filter test (commit
5d6f3e5): aligned the advanced filter assertion with the objectIssue pair shape.
-
Delete report endpoint tests (commit
-
Additional Information:
- Of the 172 pull requests opened this milestone, I authored 31 (~18.0%) and reviewed 27 (~15.7%), pulling and testing the reviewed PRs locally to make sure the app worked correctly before merge.
-
Responsibilities:
- Designing and implementing backend API endpoints for the media management subsystem (upload, edit, delete) on Spring Boot.
- Maintaining AWS S3 integration for media storage with atomic upload guarantees.
- Owning the wheelchair-accessible routing pipeline: debugging direction-detection logic and refining accessibility hazard constraints.
- Coordinating with the Web subgroup to keep the JSON contract consistent across multi-file workflows.
- Writing and updating unit tests for newly added service- and controller-layer logic.
-
Main Contributions:
-
End-to-end "Multiple Media" feature. Drove the full migration from single-file to multi-file uploads. On the backend, refactored
POST /api/reports/{id}/mediato acceptMultipartFile[], introduced an all-or-nothing atomic upload strategy against S3 with automatic rollback on partial failures, and evolved the response contract from a singlemediaUrlto a[{id, url}]array so the frontend can manage individual media items. Extended the same capabilities to the report edit flow, includingmediaIdsToRemovefor targeted deletion of orphaned S3 files. Also delivered the corresponding frontend pieces — drag-and-drop inCreateReportPanel, thumbnail previews, client-side validation (max 5 files / 15 MB / JPG-PNG), and multi-file support in the Fix Request panel. -
Authorization hardening. Discovered and patched a security loophole where any authenticated user could edit any report or upload media to it. Added ownership checks in both
ReportServiceandMediaController, restricting modification rights to the report's original author or an admin. -
Wheelchair routing fix. Diagnosed and resolved a critical routing failure on curved campus paths where the algorithm used haversine distance to pick ramp entry points — causing ramps to be entered in reverse and OpenRouteService to return
null. Replaced the heuristic with polyline-index-based chronological ordering and added a bounding-box fallback whenfastestResultis unavailable. -
Routing constraint refinement. Expanded the
RoutingConstrainthazard catalog (insufficient landing areas, low handrails, uneven sidewalks, unramped level differences, irregular steps, missing nosing strips, unguided pedestrian crossings) and strictly validated mappings against the coreIssueTypecatalog to prevent dead polygon generation across all travel presets.
-
End-to-end "Multiple Media" feature. Drove the full migration from single-file to multi-file uploads. On the backend, refactored
-
Significant Issues (Top 3 per category):
-
Code-Related:
-
Issue #559 — Multiple Media Editing & Authorization: Extended the report update lifecycle to support adding/removing multiple media files and exposed
mediaIdsonReportResponse. Closed a critical security gap by introducing ownership-based access control on every modification path. - Issue #625 — Wheelchair Routing Direction Bug: Fixed massive-detour failures caused by ramp entry/exit points being resolved by straight-line distance on curved paths; replaced with polyline-index ordering and a safe fallback.
-
Issue #434 — Multi-File Media Upload (Backend): Refactored the media upload endpoint to support multiple files with atomic S3 semantics and proper Swagger compatibility (
MULTIPART_FORM_DATA_VALUE), while preserving the legacymediaUrlfield for backward compatibility.
-
Issue #559 — Multiple Media Editing & Authorization: Extended the report update lifecycle to support adding/removing multiple media files and exposed
- Non-Code-Related:
-
Code-Related:
-
Pull Requests:
-
#436 — [Backend] Refactor Media Upload to Support Multiple File: Refactored
POST /api/reports/{id}/mediafromMultipartFiletoMultipartFile[], implemented an all-or-nothing S3 upload with rollback on failure, and added a backward-compatible response carrying bothmediaUrlandmediaUrls. -
#450 — [Backend] Return Media IDs in the Upload Response: Modified
ReportService.addMediaToReportBatchto return savedMediaentities and rebuilt the controller response into a[{id, url}]array so the frontend can target specific media items. -
#509 — [Web] Implement Uploading Multiple Media Files: Added drag-and-drop and a multi-file picker to
CreateReportPanelwith client-side validations (max 5 files, 15 MB cap, JPG/PNG only), thumbnail previews, andFormData-based fetch logic parsing the new[{id, url}]payload.-
Dependency coordination: This PR was explicitly blocked on #450 — the new UI required the updated JSON contract to be on
mainfirst. I flagged this in the PR description and coordinated the merge order with reviewers to avoid breaking the frontend build.
-
Dependency coordination: This PR was explicitly blocked on #450 — the new UI required the updated JSON contract to be on
-
#569 — [Backend] Implement Multiple Media Files when Editing Reports: Closed an authorization loophole, wired
mediaIdsToRemovethrough toS3MediaServiceto delete orphaned files on report edits, and exposedmediaIdsonReportResponsefor frontend mapping. -
#582 — [Web] Implement Multiple Media for Fix Request: Extended
CreateFixRequestPanelto support up to 5 photos with per-thumbnail removal and a capacity indicator; reusedImageCarousel(with a new optionalclassNameprop) onReportPanelfor the evidence section. Also fixed auseEffectcleanup bug that was revoking blob URLs immediately after creation. -
#626 — [Backend] Fix Wheelchair Routing for Ramp Reports: Added a
findMinIndexhelper and rewrote the "Candidate B" ramp-direction logic to use polyline-index chronological ordering instead of haversine distance, with a bounding-box fallback whenfastestResultis unavailable. -
#639 — [Backend] Refine Routing Constraints: Expanded
RoutingConstraintto include the insufficient landing area hazard so the routing engine can avoid the affected ramp/sidewalk segments. (Small scope — no separate issue opened, flagged transparently in the PR description.) -
#653 — [Backend] Fix Routing Presets and Profiles: Updated constraint mappings across all travel profiles to cover low handrails, damaged sidewalks, unramped level differences, irregular steps, missing nosing strips, and unguided pedestrian crossings; strictly validated mappings against the
IssueTypecatalog to prevent dead polygon generation. (Small scope — no separate issue opened.)
-
#436 — [Backend] Refactor Media Upload to Support Multiple File: Refactored
-
AI Transparency & Documentation:
-
Tool summary:
- Google Gemini: Used for researching API documentation (AWS S3 SDK, OpenRouteService), understanding framework patterns (Spring Boot JPA, React hooks lifecycle), and brainstorming design alternatives for backward-compatible API changes.
- Antigravity: Used as an AI coding assistant for code scaffolding, debugging complex algorithms (especially routing logic), writing unit tests, and reviewing code for potential issues such as memory leaks and authorization gaps.
- Prompts: [https://github.com/bounswe/bounswe2026group1/wiki/M%C3%BCcahit-%C5%9Eim%C5%9Fek-AI-Usage]
-
Tool summary:
-
Individual Testing Efforts:
-
MediaControllerTestupdates, (PR #436): Added assertions for the multi-file upload path, including verification of the dualmediaUrl/mediaUrlsresponse shape and the rollback behavior when one of N files fails mid-upload. -
MediaControllerTestupdates, (PR #450): Updated assertions to verify the new[{id, url}]JSON array response structure for batch uploads. -
ReportServiceTestandMediaControllerTestupdates, (PR #569): Added coverage for the new method signatures and verified403 Forbiddenis returned when a non-author / non-admin attempts to edit a report or upload media to it.
-
-
Responsibilities: Primary mobile developer. Responsible for the majority of Flutter mobile application development, coordinating with other mobile contributors on feature delivery, and ensuring cross-team API alignment between the mobile client and the backend.
-
Main Contributions:
- Led the full mobile feature set for the final milestone: new report model and taxonomy, profile/user pages, notifications, dark mode, routing via selected pins, multiple media upload, user search, accessibility preferences, advanced feed and map filters, fix requests with media, GeoJSON adoption, and missing measurements contribution flow.
- Owned the complete mobile-side API integration lifecycle from model updates through to screen-level UX polish and bug fixes shipped in the final days of the milestone.
- Contributed a backend endpoint (PR #614) to support the missing measurements feature alongside its mobile implementation.
-
Significant Issues (Top 3 per category):
-
Code-Related:
- Issue #611: [Backend][Mobile] Allow Users to Add Missing Measurements — Designed and implemented the full stack for user-contributed dimension data (backend endpoint + mobile UI), enabling crowdsourced measurement collection directly from the map.
- Issue #571: [Mobile] Implement Multiple Media File Upload for Mobile — Replaced single-image upload with a multi-file picker and upload pipeline; extended to fix requests in a follow-up PR (#632).
- Issue #440: [Mobile] Notification Center Screen & Read State Management — Built the notification center screen with real-time read/unread state tracking, integrated with the backend SSE-based notification system.
-
Non-Code-Related:
-
Issue #371: [Mobile] Multi-Step Reporting Flow for Granular Categories — Defined and coordinated the UX flow for the expanded report taxonomy across mobile, ensuring the new
ObjectType/IssueTypehierarchy was correctly reflected in the multi-step report creation UI. -
Issue #367: [Mobile] Integrated Accessibility Controls for Profile and Navigation — Led the accessibility design decisions for the profile and navigation sections, including
Semanticswidget placement. - Issue #373: [Frontend/Mobile] General Onboarding and Accessibility Standards Tutorial — Coordinated the mobile side of the cross-team onboarding tutorial initiative, reviewing the final Flutter implementation (PR #607).
-
Issue #371: [Mobile] Multi-Step Reporting Flow for Granular Categories — Defined and coordinated the UX flow for the expanded report taxonomy across mobile, ensuring the new
-
-
Pull Requests:
- PR #666: [Mobile] Fixed Bottom Nav Bar
- PR #662: [Mobile] Fixed Keyboard Issues
- PR #659: [Mobile] Fixed Nearby Issue on Feed
- PR #644: [Backend] Removed Search by Email
- PR #643: [Mobile] Advanced Feed Filter
- PR #632: [Mobile] Multiple Media Support for Fixed Requests
- PR #618: [Mobile] Extended Map Filters
- PR #614: [Backend][Mobile] Allow Users to Add Missing Measurements
- PR #580: [Mobile] Updated Routing Services
- PR #579: [Mobile] Fullscreen Map When Clicking GPS Icon
- PR #572: [Mobile] Multiple Media Support
- PR #552: [Mobile] Added User Search
- PR #529: [Mobile] Mobile Preferences Section
- PR #482: [Mobile] New Profile Page and Viewing Other Users' Profile Page
- PR #469: [Mobile] New Report Categories and Issues Implementation
- PR #452: [Mobile] Added Fixed Request and Status
- PR #442: [Mobile] Added Notification and "Delete Report" Features
- PR #428: [Mobile] New Report Model and Edit Report Feature
- PR #418: [Mobile] Added Dark Theme Mode
- PR #344: [Web] Added Mock Feed Page
- Reviewed: PR #607, PR #605, PR #616, PR #649, PR #664, PR #543
-
AI Transparency & Documentation:
-
Tool summary:
- Claude Code (Anthropic CLI): Used throughout the semester for generating Flutter widget boilerplate, drafting API integration logic, debugging Dart code, and reviewing code structure.
-
Example prompts and usage:
-
Prompt: "reports logic has been changed now. post report is now
{...}, get reports[...]. look at the reports endpoints and change it according to them." Usage: Used to migrate the mobile report model to the newobjects/issues/measurementstaxonomy (PR #428). The full API schema was pasted directly into the prompt so Claude could update DTOs, service calls, and UI rendering in one pass. -
Prompt: "when i select missing for an object, the missing is selected for every objects. it shouldnt be like that. please check MapFilters.jsx and make compatible with that"
Usage: After identifying a per-object issue selection bug on mobile, I pointed Claude directly at the existing web implementation (
MapFilters.jsx) as the reference rather than describing the fix from scratch. Claude analysed the web logic and applied the same per-category scoping to the Flutter filter state (PR #643). This approach giving Claude a working reference to align against produced a correct fix on the first attempt and kept the mobile and web behaviour consistent.
-
Prompt: "reports logic has been changed now. post report is now
- Logs: Mert Ozustun - AI Logs
-
Tool summary:
-
Individual Testing Efforts:
- All 62 mobile widget and unit tests passing — see mobile test suite
- PR #665: test/mobile-test — repaired tests broken by main merge
-
Additional Information: As Mobile Team Member, coordinated API contract discussions with the backend team across the milestone to ensure mobile-side models stayed in sync with evolving DTOs (e.g., GeoJSON geometry changes, expanded report taxonomy, new measurement endpoints).
-
Responsibilities:
- Frontend web development (React + Vite): auth flows, map integration, report panel, user profiles, real-time UI
- DevOps: GitHub Actions CI for web and mobile; npm supply-chain security; backend startup fixes
- SSE (Server-Sent Events) integration on the web client for live report and notification updates
- Frontend test infrastructure setup and ongoing test coverage across components, hooks, and services
-
Main Contributions:
- Frontend project bootstrap – Set up the React/Vite project, routing, API service layer, and initial auth screens (Login, Signup) with form validation and full unit/integration test coverage (PRs #99, #117).
-
CI/CD pipelines – Authored GitHub Actions workflows for web (React) and mobile (Flutter) on every pull request to
main(PRs #131, #132); also fixed the backend datasource initialization failure blocking local setup (#121). - Map + Navbar integration – Integrated Leaflet/OpenStreetMap, custom report markers, and a sticky Navbar into the Home screen (PR #159).
- Real-time SSE system – Built the SSE client with exponential-backoff reconnect, TanStack Query cache sync for live report updates (PR #275), and the full notification center (bell badge, dropdown, mark-as-read, follow-updates button) (PR #451).
- Report panel features – Fix Flow UI (#426), voting state bug fix (#197, #340), collaborative measurement editing for all authenticated users (#596).
-
User profiles – Own profile, other-users' read-only public profile at
/profile/:userId, and report-panel username links (#465). -
Supply-chain security – Implemented proactive npm dependency protection (
min-release-age=7, locked semver ranges) in response to theaxiosmalware incident (#138).
-
Significant Issues (Top 3 per category):
-
Code-Related:
- #116: [Web] Visual Map Integration – Drove the implementation of the interactive OpenStreetMap home screen with Leaflet, custom report-type markers, and the top navigation bar; this became the core UI shell for the whole web app.
- #252: [Web] SSE Listener and TanStack Query Cache Sync for Live Updates – Designed and built the SSE client architecture (auto-reconnect, context provider, five event types) enabling the real-time map and notification experience.
-
#595: [Web] Allow Authenticated Users to Edit Measurements on Any Report – Extended the report-editing model so any logged-in user can fix numeric measurement data without overwriting owner-only fields; introduced
measurementsOnlymode toCreateReportPanel.
-
Non-Code-Related:
- #126: [DevOps] Set Up CI Workflow for Web (React) – Defined the automated test-gate that blocks merges when frontend tests fail, establishing the quality bar for all subsequent web PRs.
-
#125: [DevOps] Set Up CI Workflow for Mobile (Flutter) – Extended CI coverage to the Flutter app, ensuring mobile tests run on every PR to
main. -
#137: [DevOps] Implement Proactive Dependency Protection Strategy – Documented and enforced an npm policy (release-age gating + locked ranges) to prevent supply-chain attacks; directly motivated by the live
axiosmalware event during the course.
-
Code-Related:
-
Pull Requests:
-
#596: [Web] Collaborative measurement editing –
measurementsOnlymode; any auth'd user can correct slope/width/height - #584: [Web] Auth panel redesign, location button fix, navbar cleanup, measurement stepper polish - Fixes #585, #566
- #532: [Web] Add password toggle and email validation to Login/Signup - Fixes #531
-
#481: [Web] Persist map center + zoom in
sessionStorage; restore on back-navigation - Fixes #480 -
#465: [Web] Read-only public profile page at
/profile/:userId+ username display fix in report panel - Fixes #463 - #451: [Web] Real-time notification system: SSE, bell badge, dropdown, mark-as-read, follow-updates button - Closes #259
- #426: [Web] Fix Flow UI in Report Detail Panel
- #340: [Web] Fix non-functional Disagree button; standardize Community Consensus component - Fixes #338
- #336: [Frontend] Replace "Other" report tag with "Ramp Available" (new icon + green color) - Fixes #337
- #275: [Web] SSE client with exponential-backoff reconnect + TanStack Query cache sync for live updates - Fixes #252
-
#263: [Web] Mirror mobile report-tag icon/color system (
reportTagConfig.js) across markers, ReportPanel, CreateReportPanel - Fixes #261 - #197: [Web] Fix vote button cross-report state leak and inverted toggle - Fixes #196
- #159: [Web] Navbar + Leaflet/OpenStreetMap integration; custom markers by report type - Fixes #116
-
#138: [DevOps] Proactive npm dependency protection (
min-release-age=7, locked semver) - Closes #137 - #134: [Web] Comment out stale Google/Apple auth tests failing CI - Fixes #133
- #132: [DevOps] Mobile (Flutter) CI workflow for PRs - Fixes #125
- #131: [DevOps] Web (React) CI workflow for PRs - Fixes #126
-
#121: [DevOps] Fix datasource initialization order (
relation "registered_users" does not exist) - Fixes #120 - #117: [Web] Connect Login/Signup to backend API; AuthContext, authService, comprehensive auth tests - Fixes #106
- #99: [Frontend] Implement authentication screens (Login, Signup) with Vitest + Testing Library setup - Fixes #88
-
#596: [Web] Collaborative measurement editing –
-
AI Transparency & Documentation:
-
Tool summary:
- Claude Code – PR Reviews (~40% of sessions): The most frequent use — reviewing 20+ team pull requests, identifying bugs, suggesting manual test flows, and deciding merge order for chained PRs.
- Claude Code – Feature Implementation (~25%): Implementing new frontend features end-to-end: notification system, view-other-user's-profile, full report editing (owner vs. non-owner flows), password toggle/email validation on auth pages, and auth page visual redesign.
- Claude Code – Bug Fixing & Debugging (~15%): Docker/backend startup failures, admin delete endpoint errors, map location button, git merge conflicts, failing CI tests, and backend log analysis.
- Claude Code – Test Coverage (~10%): Setting up coverage tooling, writing critical tests, and driving frontend coverage from ~75% toward the 85% target.
- Claude Code – Git & GitHub Workflow (~5%): Opening GitHub issues using templates, creating PRs, and resolving merge conflicts.
- Claude Code – Final Deliverables (~5%): Generating test reports (HTML/XML) for all three platforms, writing individual contributions section of the final milestone document.
- Prompts: prompt log
-
Tool summary:
-
Individual Testing Efforts:
- Vitest + Testing Library setup; Login/Signup component tests,
270e6ff: Bootstrapped the entire frontend test infrastructure; first test suite covering Login and Signup render + interaction - Auth service unit tests and Login/Signup integration tests,
52119b7: Unit tests forauthServiceAPI calls; integration tests for loading states using never-resolving promises - SSE sync, routing preferences, and admin page tests,
47e9046: CovereduseSseSynchook, routing-preferences section, and Admin dashboard pages (Comments, Reports, Users) - Comprehensive component test suite (8 components),
41d694c: Added tests forAvatarUploader,CreateFixRequestPanel,MapSearchBar,NotificationDropdown,Feed,AdminCommentsPage,AdminReportsPage,AdminUsersPage - File upload edge-case tests,
9db7f81: Tests for invalid file types and file-size-limit-exceeded scenarios in the upload component - ContributeMeasurementsPanel tests,
d0af244: Tests for the new panel that lets users submit missing accessibility measurements
- Vitest + Testing Library setup; Login/Signup component tests,
-
Additional Information:
- Initiated the project's frontend from scratch (PR #99), establishing the folder structure, routing conventions, and test setup that all subsequent frontend contributors built on.
- Sole author of both CI workflows (#131, #132), which prevented broken code from merging into
mainthroughout the project. - Responded to a live supply-chain security incident during the course (axios malware) by immediately shipping a protective npm policy (#138).
Responsibilities: On the React (Vite) web client, primary owner of the design system (M3 tokens, three-mode theme, the dark-mode polish PRs) and full-stack feature delivery this milestone: User search, self-delete + anonymization, location-label reverse geocoding, MP4/MOV video uploads, EN/TR i18n consolidation, voice-command accessibility mode, advanced map filter sidebar, close-button standardization across 8+ surfaces. Also reviewed teammates' web pull requests. Introduced the feature/language long-running integration-branch pattern to consolidate the ten-PR i18n stack into one PR.
Main Contributions: Three-mode dark/light theme system (#285) and the dark-mode polish PRs that followed (#615 + 8 follow-up PRs); account self-delete with full backend anonymization; location-label reverse geocoding via Nominatim with graceful degradation; user-search by name or email mounted as a navbar dropdown; MP4/MOV video uploads in CreateReportPanel; advanced map filter sidebar with nested category and issue toggles; close-button red-tint standardization across 8+ surfaces. Voice-command accessibility mode and the EN/TR i18n consolidation were also implemented end-to-end and are open at submission as PRs #617 and #583. 48 merged PRs, 2 open, ~13 PR reviews this milestone.
Significant Issues (Top 3 per category):
Code-Related:
-
#612: Card elevation broken in dark mode :
surface-container-lowestwas darker thanbackground, inverting the M3 hierarchy across Leaderboard, Profile, UserProfile, UserSearch, Feed, MyReports, RoutingPrefs, and Notifications. Resolved in PR #615 by elevating callers one step. The elevation hierarchy (background → surface-container-lowest → low → container → high → highest) was written into the PR description so the follow-up polish PRs (#587, #620, #627, #629, #637) could point to the same rule. -
#594Account self-delete with anonymization : Backend
DELETE /api/users/mescrubs name / email / password / bio in place and bans the row while preserving attached reports / comments / votes; frontend Danger Zone with confirmation modal. The anonymization helper was designed to be reusable by admin-delete. Resolved in PR #598 (backend), #610 (bio + avatar clear), and #608 (web Danger Zone). -
#621 / #622: Reports displayed raw
41.0825, 29.0420coordinates instead of human-readable place names. Resolved in PR #623 by integrating Nominatim reverse geocoding at create time with the required User-Agent and a 3s timeout fallback, persisting alocationLabelcolumn; frontendmapReportprefers the persisted label and falls back to rounded coords on legacy rows.
Non-Code-Related:
-
#624: Dark-mode design audit on Profile edit controls and Create-custom-preset modal — identified that #612's elevation bump left input boxes invisible against their new parent surface, and that
CustomPresetEditorModal.jsx:155still hardcodedbg-white. Combined into one issue with file:line refs; resolved in PR #627. - [#636]: Dark-mode polish for My Reports row cards + detail-modal chip elevation, following the broader dark-mode pass. Resolved in PR #637.
- #628: Onboarding bullets visual inconsistency — bullets rendered without their parent card surface, breaking the tutorial's elevation hierarchy. Resolved in PR #629.
Pull Requests: (50 total — 48 merged, 2 open at submission)
Open at submission:
-
#583 (open):
[Web][Backend]EN/TR i18n (consolidated) — backend language-preference column +MessageSource-based localized error responses; full web translation sweep across every page and component. Consolidates ten contributing PRs (#533, #534, #547, #549, #551, #556, #558, #561, #563, #575).-
Conflict resolution: every parent rebase cascaded conflicts up the stack. Resolved by introducing the
feature/languagelong-running integration branch, rebasing each leaf onto the new tip, and retargeting all PRs to that branch — converted ~30 pairwise rebases into one consolidated review surface.
-
Conflict resolution: every parent rebase cascaded conflicts up the stack. Resolved by introducing the
-
#617 (open):
[Web][Backend]Voice command accessibility mode (closes #287, #286) — Web Speech API integration, deterministic command parser, navbar mic toggle with ARIA live region, backendvoiceCommandsEnabledpreference +PATCH /api/users/me/voice-commandsendpoint, opt-in toggle on/profile.-
Conflict resolution: rebased on
mainafter #615's dark-mode polish landed; kept the bumped elevation tokens and re-applied the Accessibility section on top.
-
Conflict resolution: rebased on
Dark / light theme system + systemic dark-mode polish (10 PRs):
- #285: Dark/Light Mode With Theme Toggle — foundational three-mode (system/light/dark) theme aligned with mobile, dark map tiles wired through MapTiler. The base layer every subsequent dark-mode polish PR sat on top of.
- #615: Dark-mode polish — elevate cards, fix medal chips, rank banner, feed chips across 8 surfaces (closes #612).
-
#477: Theme
/profileand My Reports for Dark Mode. - #479: Theme Notification Dropdown for Dark Mode.
- #507: Fix routing preferences cards in dark mode.
- #587: Theme polish — UserProfile cards + notification dropdown surface consistency.
- #620: CreateReportPanel — replace inline hex colors with theme tokens (closes #619).
- #627: Dark-mode polish — About edit boxes + Create-custom-preset modal panel (closes #624).
- #629: Onboarding bullets — wrap in elevated card (closes #628).
- #637: Dark-mode polish — My Reports row cards + detail-modal chip elevation (closes #636).
Full-stack features (6 PRs):
-
#623:
[Web][Backend]Reverse-geocode + persistlocationLabelon reports — Nominatim integration with User-Agent + 3s timeout + best-effort failure mode (Nominatim outage → label stays null → report still creates); web Feed cards and ReportPanel show place names instead of coordinates. -
#504:
[Web][Backend]User search by name or email (closes #307, #501) — backend pagination + search service, webUserSearchPanelmounted as navbar dropdown so search is one click away from anywhere. -
#500:
[Web][Backend]MP4/MOV video uploads in CreateReportPanel — backend content-type validation + S3 path, web preview and validation. -
#598 + #610 + #608: Account self-delete + anonymization (Req 1.1.1.2.12) — backend
DELETE /api/users/mewith in-place PII scrub, bio + avatar S3 clear with failure tolerance, web Danger Zone with confirmation flow. Anonymization helper designed to be reusable by admin-delete.
i18n stack (10 contributing PRs, consolidated into #583):
-
#533:
[Backend]User language preference endpoint (closes #505). -
#534:
[Web]Language switcher (EN/TR) + react-i18next infrastructure (closes #292). - #547: Translate password rule labels on signup (closes #546).
- #549: Translate FeedLocationPickerModal (closes #548).
- #551: Translate CreateFixRequestPanel (closes #550).
- #556: Translate measurement descriptions in ObjectTutorialModal (closes #553).
- #558: Translate last hardcoded toast message (closes #557).
-
#561:
[Backend]Localize validation + error messages (EN/TR) (closes #560). - #563: Send Accept-Language header so backend can localize errors (closes #562).
- #575: Translate remaining hardcoded strings — Route, Report, CreateFix, Preset editor, Routing prefs, Avatar (closes #574).
Reports, map, create flow (10 PRs):
- #473: Map filter sidebar with nested category and issue toggles.
- #484: Contextual "How to Measure" tutorial modal in CreateReportPanel (closes #483).
- #493: Colour map markers by report type, fade unverified.
- #498: Show place name in CreateReportPanel after dropping a pin.
- #467: Delete from ReportPanel + Admin Edit/Delete gating (closes #431).
-
#466: Profile "routes planned" counter never incremented (closes #462) — diagnosed compound bug (
Home.jsx'sfetchRoutes()missing theAuthorizationheader, plus no TanStack Query invalidation ofcurrentUserKey); 237/237 frontend tests passing on fix branch. - #470: Make toasts more visible.
- #523: Show error toast when report submission fails (closes #522).
- #567: My-location button always pan and surface geolocation errors (closes #566).
-
#565: Close (X) buttons high-contrast and consistent across 8+ surfaces (closes #564) —
bg-error/10 text-error hover:bg-error/20standardized as the destructive-action affordance.
Auth, signup, login polish (6 PRs):
- #378: Implement descriptive password validation error messages (closes #377).
- #486: Sign Up pill contrast and Log In spacing.
- #490: Don't flash signup password rules red on first keystroke.
- #519: Sign-up password warnings only turn red on submit attempt (closes #518).
- #521: Stabilise hero image and spacing across login/signup transition (closes #520).
- #517: Fix Filter button flicker on second click (closes #516).
Onboarding, chrome, responsive, infra (6 PRs):
- #361: Implement Mobile Bottom Sheet for Viewing Report Panel.
- #379: Implement Responsive Design for Mobile Browsers.
- #348: Optimize Logo and Optical Alignment.
- #475: Make Navbar Logo a Home Link.
- #578: Align onboarding tutorial close button with unified panel style (closes #576).
-
#460: Pass MapTiler key to frontend build — production tiles loaded with key, no more 401 on
mapcess.live.
AI Transparency & Documentation:
Tool summary: Claude Code (Anthropic CLI, model Claude Opus, max mode): Code generation (component scaffolding, hooks, services, controllers), debugging (Spring Boot 4 / Jackson 3 regressions, Mockito injection issues, Docker port collisions, the 401 WWW-Authenticate: Basic port-hijack diagnosis), independent UI / code auditing (the dark-mode + hardcoded-color sweeps that became #612 and #624), git-workflow planning (the feature/language integration-branch strategy), conflict resolution and PR / issue body drafting against the team template. Claude Code had read-write access to the local working tree; every change it produced was reviewed locally and validated via npm run test:run / ./mvnw test before commit, and issue / PR bodies were copy-pasted into GitHub by hand.
Prompts: Mustafa Aytekin — AI Usage
Individual Testing Efforts:(Nominatim outage → label stays null → report still creates).
-
ReportServiceTestmock NominatimReverseGeocoder, commit8d3338b: covers the new reverse-geocoding dependency injected intoReportServiceafter #623. Mockito's default null is exactly what the service is designed to tolerate (Nominatim outage → label stays null → report still creates). -
RegisteredUserServiceTestanonymization paths, commit2b6e35e: bio + avatar URL clear, the no-avatar skip path, and S3 deletion-failure tolerance during anonymization (#609). -
RegisteredUserServiceTest/ controller self-delete, commit73dbcac: self-delete service paths and controller integration forDELETE /api/users/me(#594). -
CreateReportPanel.test.jsxerror toast, commitc7d20c9:onErrorinvocation when report submission fails (#522). -
ReportPanel.test.jsxmedia rendering, commit895064c: image vs. video rendering paths after MP4/MOV support (#239). -
Signup.test.jsxpassword validation, commit0c64220: field-switch behavior and submit-attempt validation paths (#518). -
useUserSearch.test.jsx, commit03d4687: debounce timing and authentication gating on the user-search hook (#307). -
userService.test.jssearchUsers URL composition, commitde56cec: query parameter encoding and URL construction (#307). -
RegisteredUserServiceTestsearchUsers, commit6956002: searchUsers service-layer paths and pagination (#501). -
S3MediaServiceTestMOV upload, commitfa2f7ae: MOV content-type upload path after #500. -
Signup.test.jsxneutral-then-red, commit3ccbfab: asserts neutral state while typing, red state after blur, for the password-rule indicators.
Additional Information:
- The UI / design issues I opened this milestone followed the team template strictly — file:line refs, scope, acceptance criteria, test plan — which kept the resulting PRs small and same-day mergeable.
- Introduced the
feature/languagelong-running integration-branch pattern for the i18n rollout. Converted a cascading ten-PR rebase chain into one PR (#583). - Documented the M3 elevation hierarchy (
background → surface-container-lowest → low → container → high → highest) inside PR descriptions during the dark-mode polish pass, so each follow-up PR could point to the same written rule when bumping a surface.
-
Release Tag:
final-milestone - Live Deployment: www.mapcess.live
- README Instructions: https://github.com/bounswe/bounswe2026group1/blob/main/README.md
- Docker Setup: https://github.com/bounswe/bounswe2026group1/blob/main/docker-compose.local.yml
- Mobile APK: https://github.com/bounswe/bounswe2026group1/releases/tag/final-milestone
Team Members
- Lab 1 Report (12/02/2026)
- Lab 2 Report (19/02/2026)
- Lab 3 Report (26/02/2026)
- Lab 4 Report (05/03/2026)
- Lab 5 Report (12/03/2026)
- Lab 6 Report (26/03/2026)
- Lab 7 Report (02/04/2026)
- Lab 8 Report (16/04/2026)
- Lab 9 Report (30/04/2026)
- Lab 10 Report (07/05/2026)
- Weekly Meeting 1 (17.02.2026)
- Weekly Meeting 2 (26.02.2026)
- Weekly Meeting 3 (08.03.2026)
- Weekly Meeting 4 (12.03.2026)
- Weekly Meeting 4 'Extra' (14.03.2026)
- Weekly Meeting 5 (22.03.2026)
- Weekly Meeting 6 (28.03.2026)
- Weekly Meeting 7 (03.04.2026)
- Weekly Meeting 8 (14.04.2026)
- Weekly Meeting 9 (22.04.2026)
- Weekly Meeting 10 (08.05.2026)
- Frontend Meeting 1 (22.03.2026)
- Backend Meeting 1 (22.03.2026)
- Frontend Meeting 2 (28.03.2026)
- Backend Meeting 2 (28.03.2026)
- Frontend Meeting 3 (03.04.2026)
- Backend Meeting 3 (03.04.2026)
- Backend Meeting 4 (22.04.2026)
- Meeting with Arda Arslan (17.02.2026)
- Meeting with Özlem Belir (25.02.2026)
- Meeting with Suzan Üsküdarlı (17.04.2026)
Mapcess