Skip to content

Added urls for searching#501

Open
DapperMickie wants to merge 3 commits intorunelite:masterfrom
DapperMickie:plugin-hub-search-parameter
Open

Added urls for searching#501
DapperMickie wants to merge 3 commits intorunelite:masterfrom
DapperMickie:plugin-hub-search-parameter

Conversation

@DapperMickie
Copy link
Copy Markdown
Contributor

I'm definitely not happy with the current state of it as the goal is to fix #461 and current state of things don't use query parameters.

I've tried getting query parameters to work but for some reason I can't seem to figure out how to match the url for those.

So I went ahead and started trying to 'solve the issue' this way.

I would like to get some feedback and/or help on how to tackle this problem.

I'm definitely not happy with the current state of it as the goal is to fix runelite#461 and current state of things don't use query parameters.

I've tried getting query parameters to work but for some reason I can't seem to figure out how to match the url for those.

So I went ahead and started trying to 'solve the issue' this way.

I would like to get some feedback and/or help on how to tackle this problem.
@DapperMickie
Copy link
Copy Markdown
Contributor Author

Feels hacky, but it works

@DapperMickie DapperMickie marked this pull request as ready for review April 14, 2024 10:18
@raiyni
Copy link
Copy Markdown
Member

raiyni commented Apr 21, 2024

This should probably be changed to consume a filter of author and search, I think. It would eliminate a lot of the conditional logic you added.

@DapperMickie
Copy link
Copy Markdown
Contributor Author

This should probably be changed to consume a filter of author and search, I think. It would eliminate a lot of the conditional logic you added.

What would that look like? I don't usually write react.

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

Successfully merging this pull request may close these issues.

Add query parameter to plugin-hub page for search term

2 participants