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

[READY] Search Page - Add new list view #1498

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

jdtoombs
Copy link
Collaborator

@jdtoombs jdtoombs commented Feb 6, 2024

  • icon instead of text for opening in new window
  • add content list to search page
  • remove old code

image

@jdtoombs jdtoombs added enhancement New feature or request subscriber PR contains changes towards the subscriber application, labels Feb 6, 2024
@jdtoombs jdtoombs requested a review from Fosol February 6, 2024 21:39
@jdtoombs jdtoombs self-assigned this Feb 6, 2024
const [init, setInit] = React.useState(true); // React hooks are horrible...

const filterId = id ? parseInt(id) : 0;

React.useEffect(() => {
if (isReady) {
const showPageIds = settings.find(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Implemented new window, need to re implement show page, currently just shows page number if one exists

<FaBookmark />
<div className="filter-name">{activeFilter?.name}</div>
</div>
</Show>
<Row className="search-contents">
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All this covered in ContentList

@@ -144,132 +138,4 @@ export const SearchPage = styled.div`
margin-left: 0.5em;
}
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All this covered in ContentList

@jdtoombs jdtoombs marked this pull request as ready for review February 6, 2024 22:38
@jdtoombs jdtoombs changed the title Search Page - Add new list view [READY] Search Page - Add new list view Feb 7, 2024
@Fosol Fosol merged commit 298e3ce into bcgov:dev Feb 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request subscriber PR contains changes towards the subscriber application,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants