-
Notifications
You must be signed in to change notification settings - Fork 42
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(#1316): Implemented search bar on org home page #17
Closed
Closed
Changes from 5 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
f7611b1
0.1.1
Evanfeenstra 07485db
fix docker path
Evanfeenstra 410acd6
fix docker compose file
Evanfeenstra b0df733
nginx config
Evanfeenstra 4664285
added Github actions
elraphty 4e24eb5
fix(bounty-page): fixed bounty page go back to the home page
MirzaHanan 32a6e5b
fix(bounty-page): fixed prettier format
MirzaHanan 2828ea2
Implemented search for Organization bounties
AbdulWahab3181 9e20485
bumped style components version
elraphty 8655d32
Merge pull request #14 from stakwork/feat/git_workflows
elraphty 28ce73c
Added Readme
VividhPandey003 8f7ab7a
Update README.md
VividhPandey003 2b47e1c
route frontend routes thru traefik
Evanfeenstra 08ecfce
merge master
Evanfeenstra 582b64f
minor changes
AbdulWahab3181 0e335df
Include labels in issue templates
ecurrencyhodler e395c7d
Just trigger our github actions workflows for testing
MirzaHanan 40c9bea
Merge pull request #24 from stakwork/ecurrencyhodler-patch-1
ecurrencyhodler 3772f41
fix(ui): keep `searchText` in local storage
YLeight e034d03
feat(people-search): add boundary hook for search
YLeight d197df1
refactor(people-list): rely on `usePeopleSearchHandler` hook
YLeight 5016458
Merge branch 'master' into readme
VividhPandey003 faced56
updated backend api
VividhPandey003 60a1b81
implement the status filter on the org homepage
MahtabBukhari 86947df
implement the organization website and github buttons on the org home…
aliraza556 31dcb7d
add the website and github icon
aliraza556 e5fd03f
Merge pull request #26 from aliraza556/Add-website-and-github-buttons
elraphty ddcd600
Merge pull request #22 from VividhPandey003/readme
elraphty 7eb977f
Merge pull request #16 from MirzaHanan/bounty-page-go-back-home
elraphty e9a9a6f
Merge pull request #4 from YLeight/fix/1408-people-search-on-person-page
elraphty 752e60e
Merge branch 'master' into org-search-bar
AbdulWahab3181 ecbf69e
Merge branch 'master' into org-page-status-filter
MahtabBukhari 94d7992
Resolved prettier and UT issues
AbdulWahab3181 e683204
fix prettier issues
MahtabBukhari be2ef45
Merge pull request #25 from MahtabBukhari/org-page-status-filter
elraphty f51dc35
Merge branch 'org-search-bar' of https://github.com/AbdulWahab3181/sp…
AbdulWahab3181 6a61c64
Merge pull request #6 from YLeight/fix/1437-keep-search-string-after-…
elraphty 2ed7c57
Merge branch 'stakwork:master' into org-search-bar
AbdulWahab3181 54bbd3d
Addressed changes
AbdulWahab3181 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
server { | ||
listen 80; | ||
listen [::]:80; | ||
server_name localhost; | ||
|
||
## Your only path reference. | ||
root /usr/share/nginx/html; | ||
|
||
## This should be in your http block and if it is, it's not needed here. | ||
index index.html; | ||
|
||
autoindex off; | ||
|
||
location = /favicon.ico { | ||
log_not_found off; | ||
access_log off; | ||
} | ||
|
||
location = /manifest.json { | ||
allow all; | ||
log_not_found off; | ||
access_log off; | ||
} | ||
|
||
location = /robots.txt { | ||
allow all; | ||
log_not_found off; | ||
access_log off; | ||
} | ||
|
||
location / { | ||
if (!-e $request_filename){ | ||
rewrite ^(.*)$ /index.html break; | ||
} | ||
} | ||
|
||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { | ||
expires max; | ||
log_not_found off; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
version: "2" | ||
|
||
services: | ||
reverse-proxy: | ||
# The official v2 Traefik docker image | ||
image: traefik:v2.2.1 | ||
# Enables the web UI and tells Traefik to listen to docker | ||
# command: --configFile=/home/ec2-user/sphinx-deploy/traefik.yaml | ||
ports: | ||
# The HTTP port | ||
- 80:80 | ||
# The Web UI (enabled by --api.insecure=true) | ||
- 8080:8080 | ||
# entrypoints | ||
- 443:443 | ||
- 8883:8883 | ||
volumes: | ||
# So that Traefik can listen to the Docker events | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- /home/ec2-user/sphinx-deploy/traefik.yaml:/etc/traefik/traefik.yaml | ||
- /home/ec2-user/letsencrypt:/letsencrypt | ||
environment: | ||
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID | ||
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY | ||
- AWS_REGION=$AWS_REGION | ||
logging: | ||
options: | ||
max-size: 10m | ||
ulimits: | ||
nproc: 65535 | ||
nofile: | ||
soft: 1000000 | ||
hard: 1000000 | ||
|
||
auth: | ||
image: sphinx-auth | ||
depends_on: | ||
- reverse-proxy | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.auth.rule=Host(`auth-test.sphinx.chat`)" | ||
- "traefik.http.services.auth.loadbalancer.server.port=9090" | ||
- "traefik.http.routers.auth.tls=true" | ||
- "traefik.http.routers.auth.tls.certresolver=myresolver" | ||
- "traefik.http.routers.auth.entrypoints=websecure" | ||
restart: on-failure | ||
environment: | ||
- JWT_KEY=$JWT_KEY | ||
- CLIENT_KEYS=$CLIENT_KEYS | ||
- OAUTH_TIMEOUT=$OAUTH_TIMEOUT | ||
- HOST=auth-test.sphinx.chat | ||
|
||
tribes: | ||
image: sphinx-tribes | ||
depends_on: | ||
- auth | ||
- reverse-proxy | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.tribes.rule=Host(`api.tribes-test.sphinx.chat`) || Host(`api.people-test.sphinx.chat`) || Host(`api.community-test.sphinx.chat`)" | ||
- "traefik.http.services.tribes.loadbalancer.server.port=5002" | ||
- "traefik.http.routers.tribes.tls=true" | ||
- "traefik.http.routers.tribes.tls.certresolver=myresolver" | ||
- "traefik.http.routers.tribes.entrypoints=websecure" | ||
restart: on-failure | ||
environment: | ||
- DATABASE_URL=$DATABASE_URL | ||
- PODCAST_INDEX_SECRET=$PODCAST_INDEX_SECRET | ||
- PODCAST_INDEX_KEY=$PODCAST_INDEX_KEY | ||
- YOUTUBE_KEY=$YOUTUBE_KEY | ||
- GITHUB_TOKEN=$GITHUB_TOKEN | ||
- LN_SERVER_BASE_URL=https://people-test.sphinx.chat | ||
- LN_JWT_KEY=$LN_JWT_KEY | ||
- RELAY_URL=$RELAY_URL | ||
- RELAY_AUTH_KEY=$RELAY_AUTH_KEY | ||
- RELAY_URL_BACKUP=$RELAY_URL_BACKUP | ||
- RELAY_AUTH_KEY_BACKUP=$RELAY_AUTH_KEY_BACKUP | ||
- HOST=people-test.sphinx.chat | ||
- REDIS_URL=$REDIS_URL | ||
- ADMIN_PUBKEYS=$ADMINS | ||
- ADMINS=$ADMINS | ||
- AWS_SECRET_ACCESS=$AWS_SECRET_ACCESS_KEY | ||
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID | ||
- AWS_REGION=us-east-1 | ||
- S3_BUCKET_NAME=sphinx-tribes | ||
- S3_FOLDER_NAME=metrics | ||
- S3_URL=https://sphinx-tribes.s3.amazonaws.com | ||
ulimits: | ||
nproc: 65535 | ||
nofile: | ||
soft: 1000000 | ||
hard: 1000000 | ||
|
||
tribes-frontend: | ||
image: sphinxlightning/sphinx-tribes-frontend:latest | ||
depends_on: | ||
- tribes | ||
- reverse-proxy | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.tribes-frontend.rule=Host(`tribes-test.sphinx.chat`) || Host(`people-test.sphinx.chat`) || Host(`community-test.sphinx.chat`)" | ||
- "traefik.http.services.tribes-frontend.loadbalancer.server.port=80" | ||
- "traefik.http.routers.tribes-frontend.tls=true" | ||
- "traefik.http.routers.tribes-frontend.tls.certresolver=myresolver" | ||
- "traefik.http.routers.tribes-frontend.entrypoints=websecure" | ||
restart: on-failure | ||
|
||
mqtt: | ||
image: sphinx-mqtt | ||
depends_on: | ||
- auth | ||
- reverse-proxy | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.tcp.routers.mqtt.rule=HostSNI(`tribes-test.sphinx.chat`)" | ||
- "traefik.tcp.services.mqtt.loadbalancer.server.port=1883" | ||
- "traefik.tcp.routers.mqtt.tls=true" | ||
- "traefik.tcp.routers.mqtt.tls.certresolver=myresolver" | ||
- "traefik.tcp.routers.mqtt.entrypoints=mqttsecure" | ||
- "traefik.tcp.routers.mqtt.service=mqtt" | ||
restart: on-failure | ||
ulimits: | ||
nproc: 65535 | ||
nofile: | ||
soft: 1000000 | ||
hard: 1000000 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to avoid Inline functions, create the search function outside the component, and call it in the onKeyUp event.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed