Skip to content

Post names - #64

Merged
leoSallos merged 6 commits into
mainfrom
post-names
Mar 8, 2026
Merged

leoSallos merged 6 commits into
mainfrom
post-names

Conversation

@leoSallos

@leoSallos leoSallos commented Mar 8, 2026 •

Copy link
Copy Markdown
Collaborator

Added names to user posts on the map, and removed features from feed that will not be implemented.

  • database/schema was reduced in scope for this use case and nothing more
    • friends system removed
    • all posts are returned in feed (not only owned and ones from friends)
  • usernames are added to new usernames table on email verification (for convenience of not having to go through auth.users)
  • list of relations between userid and usernames is passed along side the posts

Further suggested work on top of this may include:

  • Styling names in the map popup
  • Tests to verify names are working correctly (time is limited, and we are already at high code coverage on the client)

@leoSallos leoSallos added the enhancement New feature or request label Mar 8, 2026
@leoSallos
leoSallos marked this pull request as ready for review March 8, 2026 00:24
@leoSallos leoSallos linked an issue Mar 8, 2026 that may be closed by this pull request

@tffnychng tffnychng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm getting this console error after logging in, not sure if this is directly releated to your changes since I don't remember if the feed was functional prior to this PR.

Failed to fetch feed: Error
    at fetchFeed (MapView.tsx:99:17)
fetchFeed | @ | MapView.tsx:110
-- | -- | --
  | await in fetchFeed |   |  
  | (anonymous) | @ | MapView.tsx:114
  | <MapView> |   |  
  | AppContent | @ | App.tsx:42

@leoSallos

leoSallos commented Mar 8, 2026 •

Copy link
Copy Markdown
Collaborator Author

@tffnychng I was able to find a similar error with the following:

  • backend server not on
  • missing client environment variables

If none of these were issues, then let me know and I'll look deeper.

@tffnychng

Copy link
Copy Markdown
Collaborator

Oops, yeah that was the issue! Everything else about the PR looks good and the feed shows up properly.

@leoSallos
leoSallos merged commit 647d91d into main Mar 8, 2026
2 checks passed
@leoSallos
leoSallos deleted the post-names branch March 9, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Usernames in Posts

2 participants