Skip to content

Feature: Adding routing of new queries to a URL query param #160

Description

@rihp

For example:

Given an url witha query param like the one below:
https://fundpublicgoods.ai/?strategy="space exploration"

Fund public goods should create a new strategy query with the strategy "space exploration"

This is very useful at the moment of integrating other systems with FPG


Development plan by @nerfZael

Landing page:
read query params or path params from url
on load do the functionality that our "prompt send button" does (makes post request and redirects to strategy page)
The landing page could show a message like "generating your strategy"


Resources by @cbrzn
https://github.com/polywrap/fund-public-goods-ai/blob/dev/web/components/PromptInput.tsx
https://nextjs.org/docs/app/api-reference/functions/use-search-params

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions