8000 [Feature]: auction.fish integration · Issue #303 · jra3/mulm · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="modulepreload" href="https://github.githubassets.com/assets/qp-d858c1d073702c0c.js" crossorigin="anonymous" />

[Feature]: auction.fish integration #303

Open

Description

@iragm

Problem Statement

Allow users to quickly add lots to club auctions on auction.fish

Proposed Solution

auction.fish now supports the ability to pass information to create a lot via GET params. This allows users to create a new lot with a single click and have the form pre-populated with data from a third party website. If your users belong to clubs that use auction.fish, this feature will save them a ton of time.

An example:

https://auction.fish/lots/new/?lot_name=fish%20name&summernote_description=my%20cool%20fish&reference_link=google.com&quantity=5&i_bred_this_fish=True&donation=False&image_url=example.com/image.jpg

These fields are supported:

lot_name=fish%20name
summernote_description=my%20cool%20fish
reference_link=google.com
quantity=5
i_bred_this_fish=True
donation=False
image_url=example.com/image.jpg

Additionally, any field on the new lot form will work, even stuff like auction=my-cool-auction-slug, but I don't recommend filling this out as the auction may change for the user. You can inspect the form from the developer console to get the name of any field.

Passing the image_url param will automatically create an image after the lot is saved.

This system is hard to abuse because it requires the user click a link on your site, and then actually save, similar to how Google Calendar allows anyone to create an event but it only actually saves it when the user manually clicks save.

Report bugs and feature suggestions related to this at https://github.com/iragm/fishauctions/issues. I am open to adding something like this to lots on auction.fish for your site as well, for example lot winners could have a button to "add this to species I keep" that pre-populates a form in a similar way.

Feature Area

Species Database

Priority

Medium (nice to have)

Alternatives Considered

No response

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0