WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add grain-gallery-detail page with comments

- Add back icon to grain-icon
- Create gallery detail page with carousel, engagement, comments
- Use uri contains filter for gallery lookup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+178 -2
+2 -1
src/components/atoms/grain-icon.js
··· 5 5 heart: 'fa-regular fa-heart', 6 6 heartFilled: 'fa-solid fa-heart', 7 7 comment: 'fa-regular fa-comment', 8 - share: 'fa-solid fa-paper-plane' 8 + share: 'fa-solid fa-paper-plane', 9 + back: 'fa-solid fa-arrow-left' 9 10 }; 10 11 11 12 export class GrainIcon extends LitElement {
+1
src/components/pages/grain-app.js
··· 4 4 // Import pages 5 5 import './grain-timeline.js'; 6 6 import './grain-profile.js'; 7 + import './grain-gallery-detail.js'; 7 8 8 9 export class GrainApp extends LitElement { 9 10 static styles = css`
+1 -1
src/services/grain-api.js
··· 193 193 query GetGalleryDetail($handle: String!, $rkey: String!) { 194 194 socialGrainGallery( 195 195 first: 1 196 - where: { actorHandle: { eq: $handle }, rkey: { eq: $rkey } } 196 + where: { actorHandle: { eq: $handle }, uri: { contains: $rkey } } 197 197 ) { 198 198 edges { 199 199 node {