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

Fix/projects #108

Merged
merged 3 commits into from
Apr 10, 2024
Merged

Fix/projects #108

merged 3 commits into from
Apr 10, 2024

Conversation

mluena
Copy link
Collaborator

@mluena mluena commented Apr 10, 2024

Projects filtering

Overview

The URL parameters are maintained when we navigate through the page. In most cases, this makes sense, but there may be situations where we do not want to keep those filters. This PR adds a setting to useQueryParams hook to provide flexibility to the function and keep only the parameters we want.

Also adds filtering to the projects layer.


Checklist before submitting

  • Meaningful commits and code rebased on develop.
  • Update CHANGELOG
  • If this PR adds feature that should be tested for regressions when
    deploying to staging/production, please add brief testing instructions
    to the deploy checklist

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
afoco ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 3:17pm

@mluena mluena requested a review from anamontiaga April 10, 2024 15:13
@mluena mluena self-assigned this Apr 10, 2024
@@ -145,13 +145,17 @@ export default function ProjectDetailPanel() {
<div className="absolute left-0 top-0 w-full">
{data && indicators && (
<div className="relative">
<Image
src={data.main_image?.data?.attributes?.url ?? '/images/projects/placeholder.png'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this placeholder.png can be removed from code

@mluena mluena merged commit 03bf9eb into staging Apr 10, 2024
3 checks passed
@mluena mluena deleted the fix/projects branch April 10, 2024 15:56
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.

2 participants