Skip to content

[Feature] Be able to directly link to a given texture/user/contribution/pack modal using URL query parameters #181

Description

@3vorp

Is your feature request related to a problem?

in order to open a texture modal (or contribution/user/pack), you need to first search the texture and then click on the relevant option even when you might already know the thing to open beforehand

it's also hard to link to database pages directly from other sources; if this feature is implemented then you could do stuff like add an "edit texture" button to the contribution modal that directly opens the correct texture modal or something like that idk

Describe the feature you'd like

encode the current shown modal for all database pages in the route using query parameters and automatically update as the user interacts (maybe add a share button to all modals as well not sure)

Screenshot(s)

example url: https://webapp.faithfulpack.net/textures/all?show=256 (feel free to bikeshed on the query parameter names)

another idea, this could be cool: https://webapp.faithfulpack.net/textures/all?texture=123&use=123a&path=da5b67e56dd so you can open the whole modal tree

Notes

probably worth generalizing this modal/query param system into a more reusable system since the gallery modal already does this

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions