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

Bryanna/orgs search filter backend #50

Closed
wants to merge 4 commits into from

Conversation

bry-gavino
Copy link
Contributor

Backend implementation of the org filter function on the homepage (frontend is NOT connected yet).

  • this filter implementation expects there to be an "Apply" or "Search" button to handle the filter function
  • should also change the pins on the map so that it reflects the filtered orgs
  • added buttons & functions temporarily on the frontend in order to test out the filter (the test function is indicated in the code)
  • code is very ugly -- can easily be polished up in the future w/ interfaces, etc.
  • .filter() runs on O(N) time, but the implementation can be fixed to be more efficient (if worse comes to worse)

Related PRs

  • Needs to connect with Gabe's frontend.

CC: @claalmve

@calblueprint-integration calblueprint-integration temporarily deployed to bp-nbjc-pr-50 March 11, 2021 06:16 Inactive
lvlcfm added a commit that referenced this pull request Mar 21, 2021
claalmve added a commit that referenced this pull request Mar 31, 2021
* fix(prisma): updating prisma version

* feat(package.json): remove @prisma/cli and add prisma per update message

* refactor(package.json): change prisma:update command to use new introspect command

- change prisma introspect to prisma db pull

* fix(seed-database.ts): fix prisma type imports

update namespaced types for prisma

* fix(prisma): fixing breaking changes from prisma update

* fix(prisma): fixing prisma some more

* fix(getpayload): fixing prisma import

* fix(typescript version): updating typescript to resolve bug

* fix(pages/api/app/orgs/index.ts): fix type error in upsert

change Organization type to Prisma.OrganizationCreateInput type

* fix(utils/sample-data.ts): remove sampleOrgData to fix type error

* fix(pages/orgs/[id].tsx): add key for listed Chip element

* fix(database.json): changing ssl parameter

* fix(database.json): making ssl true

* ci(database.json): move ssl option to prod to fix heroku-postbuild command

"re #52" "re #50"

Co-authored-by: Frederick Kim <[email protected]>
Co-authored-by: lvlcfm <[email protected]>
@claalmve
Copy link
Contributor

Closing because #59 builds off of this.

@claalmve claalmve closed this Apr 22, 2021
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.

3 participants