Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KusKus #31

Open
18 tasks
nikitavoloboev opened this issue May 12, 2024 — with Linear · 0 comments
Open
18 tasks

KusKus #31

nikitavoloboev opened this issue May 12, 2024 — with Linear · 0 comments

Comments

Copy link
Member

nikitavoloboev commented May 12, 2024

Focus

  • deployed to kuskus.app with Vercel
    • on sign up, send email
    • show /setup route. let use choose username details
  • sign out button
    • can't pass functions from rsc, server action?
  • fix:
Image with src "https://storage.ronin.co/spa_m8okrzy9ivjnlsr8/dc57049b-41f6-47ce-8254-436a971291e7" has legacy prop "layout". Did you forget to run the codemod?
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13
Image with src "https://storage.ronin.co/spa_m8okrzy9ivjnlsr8/dc57049b-41f6-47ce-8254-436a971291e7" has legacy prop "objectFit". Did you forget to run the codemod?
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13
  1. vercel build passing
  2. deploy on kuskus.app
  3. /places /foods /members (UI good)
  4. grid of images shows up in all of above
  5. search working in all of above
  6. landing page (shows grid of popular images)
  7. profile page, shows UI for profile, settings panel allows editing of user profile data
  8. plus button on top, shows modal (like glass), drop image, it generates ai description live, allow user description, guess the category for image with ai, allow posting
  9. after posting image shows up instantly in user profile and also in the searches

Next

  • posting photos in mobile app
    • reject photos that are not food or drinks (use GPT-4-vision)

Other

  • add observability with Honeycomb
  • allow multiple photos in Post
  • add date created to Post too and other objects (maybe already exists?)
  • add place with geo coordinates to Post
// do better errors for EdgeDB in actions.ts
export const updateUserAction = actionClient
	.schema(updateUserSchema)
	.action(async ({ parsedInput: { bio, place, displayName } }) => {
		const session = auth.getSession()
		const client = session.client
		try {
			await updateUser.run(client, { bio, place, displayName })
		} catch {
			return { failure: "Error with EdgeDB" }
		}
	})
@nikitavoloboev nikitavoloboev changed the title KusKus issues KusKus May 17, 2024
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

No branches or pull requests

1 participant