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: add error message when data not found #456

Merged
merged 9 commits into from
Dec 8, 2023
Merged

feat: add error message when data not found #456

merged 9 commits into from
Dec 8, 2023

Conversation

katiestahl
Copy link
Contributor

@katiestahl katiestahl commented Dec 4, 2023

we should look into producing some sort of nice 404 error page with fancy dgidb branding and graphics down the road to make the app appeal more cohesive.

but for now, this PR makes an error message appear instead of a weirdly populated page with a bunch of "no data found" messages

this also fixes the footer hanging out randomly in the middle of some pages where the content doesn't take up the whole page. It will always be pushed to the bottom

close #451

Copy link
Contributor

@mcannon068nw mcannon068nw left a comment

Choose a reason for hiding this comment

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

lgtm

agree that we should create a formal 404 page going forward

Copy link
Contributor

Choose a reason for hiding this comment

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

!!

Base automatically changed from issue-454 to dev December 8, 2023 14:24
@katiestahl katiestahl merged commit 8dd7961 into dev Dec 8, 2023
1 check passed
@katiestahl katiestahl deleted the issue-451 branch December 8, 2023 14:25
katiestahl added a commit that referenced this pull request Dec 8, 2023
* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add 404 error page to drugs, genes, and interactions that have no data (#456)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add error message when data not found and fixing footer position

* feat: add error message when data not found

* style: removing console log

* cleaning up code

* refactor: extracting variable for interaction

* feat: add 404 error page to drugs, genes, and interactions that have no data
@katiestahl katiestahl mentioned this pull request Dec 8, 2023
katiestahl added a commit that referenced this pull request Dec 8, 2023
* Dev (#457)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add 404 error page to drugs, genes, and interactions that have no data (#456)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add error message when data not found and fixing footer position

* feat: add error message when data not found

* style: removing console log

* cleaning up code

* refactor: extracting variable for interaction

* feat: add 404 error page to drugs, genes, and interactions that have no data

* Automated frontend build

* Automated frontend build

---------

Co-authored-by: katiestahl <[email protected]>
mcannon068nw added a commit that referenced this pull request Dec 13, 2023
* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add 404 error page to drugs, genes, and interactions that have no data (#456)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add error message when data not found and fixing footer position

* feat: add error message when data not found

* style: removing console log

* cleaning up code

* refactor: extracting variable for interaction

* feat: add 404 error page to drugs, genes, and interactions that have no data

* add public/data as shared, linked dir

* Update dgidb:load_local method (#463)

* update file download location for dgidb_v5_latest in load_local methods

* update download instructions with rake dgidb:load_local method

* removed psql command in favor of just dgidb:load_local

* fix spacing issue

* prettier

* add December 2023 download links

---------

Co-authored-by: Katie Stahl <[email protected]>
Co-authored-by: Adam Coffman <[email protected]>
mcannon068nw added a commit that referenced this pull request Dec 13, 2023
* Dev (#457)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add 404 error page to drugs, genes, and interactions that have no data (#456)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add error message when data not found and fixing footer position

* feat: add error message when data not found

* style: removing console log

* cleaning up code

* refactor: extracting variable for interaction

* feat: add 404 error page to drugs, genes, and interactions that have no data

* Automated frontend build

* Automated frontend build

* Dev (#464)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add 404 error page to drugs, genes, and interactions that have no data (#456)

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: update API page to show users endpoint for graphql requests

* feat: add error message when data not found and fixing footer position

* feat: add error message when data not found

* style: removing console log

* cleaning up code

* refactor: extracting variable for interaction

* feat: add 404 error page to drugs, genes, and interactions that have no data

* add public/data as shared, linked dir

* Update dgidb:load_local method (#463)

* update file download location for dgidb_v5_latest in load_local methods

* update download instructions with rake dgidb:load_local method

* removed psql command in favor of just dgidb:load_local

* fix spacing issue

* prettier

* add December 2023 download links

---------

Co-authored-by: Katie Stahl <[email protected]>
Co-authored-by: Adam Coffman <[email protected]>

* Automated frontend build

* Automated frontend build

---------

Co-authored-by: Katie Stahl <[email protected]>
Co-authored-by: katiestahl <[email protected]>
Co-authored-by: Adam Coffman <[email protected]>
Co-authored-by: mcannon068nw <[email protected]>
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