Skip to content

Address unresolved review comments from PR #170 - #172

Merged
lebull merged 3 commits into
host-poster-supportfrom
copilot/sub-pr-170
Jan 4, 2026
Merged

Address unresolved review comments from PR #170#172
lebull merged 3 commits into
host-poster-supportfrom
copilot/sub-pr-170

Conversation

Copilot AI commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Fixes unresolved code quality issues from the host poster feature review, including incomplete documentation, typos, missing persistence logic, and inconsistent security rule syntax.

Changes

  • converters.ts: Complete JSDoc for docToHost with param/return descriptions
  • useEventStore.tsx, EventRoot.tsx: Fix typo getReconcicledEventgetReconciledEvent
  • CreateHostModal.tsx: Persist poster metadata to Firestore after upload
    await uploadBytes(storageRef, hostPosterFile);
    const downloadUrl = await getDownloadURL(storageRef);
    
    host.host_poster_path = storagePath;
    host.host_poster_url = downloadUrl;
    
    // Now persisted to Firestore
    await updateHost(hostRef.id, host);
  • EventBasicDetailsForm.tsx: Document unused Host parameter (API compatibility)
  • firestore.rules: Standardize to hasAny(['admin', 'host']) syntax matching storage.rules
  • clubSettings.ts: Fix missing closing brace causing TypeScript compilation failure

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 4, 2026 17:31
…tandardize rules

Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>
Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>
Copilot AI changed the title [WIP] Add host poster management feature for events Address unresolved review comments from PR #170 Jan 4, 2026
Copilot AI requested a review from lebull January 4, 2026 17:35
@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 0827576):

https://sunday-service-vr--pr172-copilot-sub-pr-170-vw5vzktu.web.app

(expires Sun, 11 Jan 2026 17:42:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 58385af7bd5a89154351e3a6f5764ea3ef89db5c

@lebull
lebull marked this pull request as ready for review January 4, 2026 17:46
@lebull
lebull merged commit 6c520ee into host-poster-support Jan 4, 2026
2 checks passed
@lebull
lebull deleted the copilot/sub-pr-170 branch January 4, 2026 17:46
lebull added a commit that referenced this pull request Jan 4, 2026
* Implement host poster feature

* Fix lint

* Make rules cleaner.

* Reconcile the host data into the event.

* Update webapp/src/hooks/useEventStore/eventReconciliation.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update webapp/src/features/clubSettings/HostList.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update webapp/src/store/clubSettings.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update webapp/src/features/clubSettings/DefaultPosterSettings.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Address unresolved review comments from PR #170 (#172)

* Initial plan

* Address review comments: fix JSDoc, typo, add Firestore update, and standardize rules

Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>

* Fix syntax error in clubSettings.ts - add missing closing brace

Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>

* Adjust label wording

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lebull <3135984+lebull@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants