dolly chahar

Results issues of dolly chahar

### 🐛 Describe the bug Description A clear and concise description of what the bug is. Several controllers in the Resonate module access .first on lists returned from: Appwrite realtime...

## Description Fixes #780 Guards the user rating calculation in `explore_story_controller.dart` to prevent invalid numeric results when `ratingCount` is zero or null. Previously, the rating was calculated as: ```dart userData['ratingTotal']...

Description This PR prevents runtime crashes caused by unsafe .first access on potentially empty lists in realtime listeners and Appwrite query results. Several controllers were directly accessing: data.events.first documents.first Without...

### 🐛 Describe the bug ## A clear and concise description of what the bug is. In `explore_story_controller.dart`, the user rating is calculated as: userData['ratingTotal'] / userData['ratingCount']; If `ratingCount` is...

## Description Fixes #778 Adds a defensive guard in `removeUserFromSubscriberList` to prevent a `StateError` when accessing `response.documents.first` if the list is empty. Previously, calling `.first` on an empty list could...

### 🐛 Describe the bug ## A clear and concise description of what the bug is. In `removeUserFromSubscriberList` (lib/controllers/upcomming_rooms_controller.dart), the result of `databases.listDocuments()` is accessed using: value.documents.first If `listDocuments()` returns...

Description This PR refactors ApiService to improve robustness and reduce duplicated logic across multiple methods. Currently, each method (createRoom, joinRoom, deleteRoom, etc.) independently executes an Appwrite function, checks the response...

### 🐛 Describe the bug A clear and concise description of what the bug is. The current ApiService implementation repeats the same function execution logic across multiple methods (createRoom, joinRoom,...

Fixes an issue where multiple rapid taps on the Sign Up button triggered duplicate API calls. Changes: Added a guard in signup() to prevent parallel requests: if (isLoading.value) return false;...

This PR prevents multiple room creation requests from being triggered when a user taps the "Create Room" button rapidly. The createRoom() method in CreateRoomController did not previously guard against repeated...