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

feat(openchallenges): implement input data type filter on challenge search page #2646

Closed
wants to merge 1,135 commits into from

Conversation

rrchai
Copy link
Contributor

@rrchai rrchai commented Apr 22, 2024

Changelogs

  • enable to list out EDAM data results (sorted alphabetically) in the input data type filter
  • enable to search data type by keywords in the search bar of the filter
  • enable to filter challenges by input data type keywords in the search bar of the page
  • enable to filter challenges by selected input data type(s)

Preview

Recording 2024-04-24 at 11 29 21

tschaffter and others added 30 commits September 8, 2023 13:29
…orks#2106)

* Try again to publish (baseline)

* Login

* Share `.docker/` with the dev container

* Try new method to login with GHCR

* Specify registry

* reformat command

* Login just before publish

* Show helpers

* Login

* Cleanup

* Cleanup

* Enable workflow to publish images when pushing to `main`

* Update job name
…onetworks#2104)

* Build API description before running `openapi-generate`

* Use `{projectRoot}`

* Fix typo

* The task `lint` of API description project now builds first

* The task `lint` of API description project now builds first
…datasetId}/manifestJson endpoint (Sage-Bionetworks#2113)

* add new endpoint

* now using schemtic.load_df for loading manifest files
* update challenge names

* update challenge status

* add legacy dream challenges

* udpate precisionFDA contact email

* add new orgs

* update challenge counts; update contribution roles

* add 2 orgs

* update info about CausalBench; add 3 more challenges

* add 1 platform

* add missing roles; remove duplicate roles

* update challenge count

* parsing fix

* update data based on form responses

* add data from form responses

* add challengeCountsPerYear data for timeline plot, also add backup codes to acquire the data

---------

Co-authored-by: Rongrong Chai <[email protected]>
* add EvalAI platform

* add Kaggle-annotated organizers

* "add" Kaggle as organization

* update challenge counts; update roles
…onetworks#1950)

* add text to truncated challenge desc

* add text to truncated org desc

* update to latest project structure

* update link text to "Continue reading"; update colors

* remove text resizing

* update link (next line design)

* update link (inline design)

* use next line design

* extract shared styling between profiles to _general

* add underline offset for `read-more`
* Update API description

* Generate challenge service

* Sort random by score

* Finalize random sorter

* Limit the value of the seed

* Remove unused spring param
* Run generator task `setup-ssr`

* Pass `APP_BASE_URL` in `server.ts`

* Pass `APP_BASE_URL` in `server.ts`

* Comment out chart library

* Enable server to load config.json

* Create gtm component

* Cleanup app.component.ts

* Remove unecessary files

* Some cleanup

* No longer use self-closing tag in index.html

* Restore `*sageAppShellNoRender` on home page

* Update agora ssr port

* Update config to hide es2022 warning

* Adding SEO data to the home page

* Refactor SEO

* Add initial seo data to org profile component

* Attempt to use subscribe to set SEO

* Add `<tbody>` to tables

* Set SEO data to org profile page

* Org profile SEO uses some home SEO data

* Move default SEO data to util

* Org image for SEO is now 500x500

* Fix image for CSR app

* Move dist app folder to the project folder
* Create random-challenge-list component

* Update OC API client for Angular

* Show 3 random challenges

* Set daily seed

* Add See More button

* Restore plot

* Cleanup

* Simplify

* Simplify

* Update language
…app (Sage-Bionetworks#2108)

* update index.build

* modified keycloak KeycloakManager

* modified keycloak KeycloakManager

* update SecurityCOnfiguration

* last files updated

* update final files

* update final field to constructor injectioins

* update typo

* fix api delegate

* update api delegate

* Update ChallengeApiController.java

remove changes

* Update ChallengeApiDelegateImpl.java

* update auto generated files

* revert keycloak manager

* keycloak revert

* revert file change

* format update

* update to constructor injection

* update format (auto)

* removed comment

* added final

* Update apps/openchallenges/challenge-service/src/main/java/org/sagebionetworks/openchallenges/challenge/service/configuration/HibernateSearchIndexBuild.java

Co-authored-by: Thomas Schaffter <[email protected]>

* removed comment

* remove comment

* add in Autowired

---------

Co-authored-by: Thomas Schaffter <[email protected]>
* Add dockerfile for ssr

* Can run the app with node

* Do not render the stats component on the server

* Add comment in dockerfile

* Build the image with the context set to the workspace folder

* Default docker image is now ssr

* Add health endpoint to ssr server

* Add curl to the ssr image

* Cleanup config file

* Run node as a non-root user

* Generate config file

* Remove docker files for CSR

* Fix API_URL

* Introduce SSR_API_URL and CSR_API_URL

* Run the task `server` along `build` in the CI workflow

* Bump app container max memory to 1G
…s#2156)

* add v2 of magnifying glass graphic

* use new graphic

* comment out diagnostic div (?)

* add latest graphic; update height displayed

* Revert "comment out diagnostic div (?)"

This reverts commit a6c7396.

* lint

* add OC acronym to text; increase width by a smidge
…works#2165)

* update org-service files using field injection

* remove comments
* move metrics out of statistics-viewer component

* add platform graphic; add new metric

* remove unneeded code from statistics controller

* switch to col-layout; reduce padding

* replace container-lg with container
…ionetworks#2164)

* Update .env.example

* Update app config files

* Update provider

* Inject googleTagManagerId and GoogleTagManagerService

* Cleanup

* Remove unused factory

* Cleanup
* add post endpoints

* deleted great expectations files

* added new endpoints

* added andpoints

* delted great expecations

* added great expectatiosn to gitignore file

* added endpoints

* added endpoints

* fix ignore file

* add test manifests

* fix endpoint description

* renamed validation files
* add missing module

* remove `clickable` class

* fix test
* remove error in contributors

* remove changes
Sage-Bionetworks#2163)

* add time windows for time-related sorters

* move ending_soon to bottom

* add status filter

* feat: transfer time-related sorters to filter (backend) (#3)

* update descriptions

* update categories filter in java

* rename enum values to use "start/end"

* refactor a bit

* fix indentation

* fix indentation

* move time-related sorter to category filter in app

* feat: Add start_date and end_date sorters (backend) (#4)

* update service

* update custom java

* add some example requests

* fix typo in RECENTLY_STARTED and RECENTLY_ENDED

* add start date and end date sorters in app

* replace "Start/End Date" sorters by "Newest" sorter

* rename to "Start Date"

* reorder filters

* Update apps/openchallenges/challenge-service/requests.http

Co-authored-by: Thomas Schaffter <[email protected]>

* Update apps/openchallenges/challenge-service/requests.http

Co-authored-by: Thomas Schaffter <[email protected]>

* Update apps/openchallenges/challenge-service/requests.http

Co-authored-by: Thomas Schaffter <[email protected]>

* Update apps/openchallenges/challenge-service/requests.http

Co-authored-by: Thomas Schaffter <[email protected]>

* update var name for time window

* update to use one month on xxx soon

---------

Co-authored-by: Thomas Schaffter <[email protected]>
@rrchai
Copy link
Contributor Author

rrchai commented Apr 24, 2024

The filter should now be able to search the EDAM data concepts and be used to filter challenges.

There is a bug I notice for the search dropdown filter - tracked here, and will be fixed in a future pr.

@rrchai rrchai marked this pull request as ready for review April 24, 2024 19:34
@rrchai rrchai changed the base branch from main to drawio April 24, 2024 19:35
@rrchai rrchai closed this Apr 24, 2024
@rrchai
Copy link
Contributor Author

rrchai commented Apr 24, 2024

Sorry, I tried to switch base branch to help clean up outdated file differences against the main branch. I think I switched to a dead end~ The PR is automatically closed and I am not able to reopen it.

@tschaffter I wonder if you are able to reopen the PR and switch base branch back to main. Otherwise, I will open a new PR.

@tschaffter
Copy link
Member

@rrchai I can't reopen it

Copy link

Quality Gate Passed Quality Gate passed for 'openchallenges-app'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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.

[Feature] Create a filter component for challenge input data types
6 participants