-
Notifications
You must be signed in to change notification settings - Fork 115
Custom dc homepage #5852
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
Open
pablonoel
wants to merge
40
commits into
datacommonsorg:master
Choose a base branch
from
Half-Integer:custom-dc-homepage
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Custom dc homepage #5852
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
33dff25
Moved tools into the general content directory (rather than its old l…
nick-next b5a3e2c
Update to the tools component to make it more generic and extensible …
nick-next 86ccad6
Renaming header_v2.json to header.json (replacing the old header.json…
nick-next 7b8c1f5
Update to __init__.py to allow for custom DCs to supply their own hea…
nick-next dfb2058
As a follow-up to the update tool component, this is an updated LinkI…
nick-next 34bad1e
The entry point for the custom DC home page. This loads the custom dc…
nick-next 4dfb970
The custom header for the Custom Data Commons (with a more limited se…
nick-next 5044d0d
The search component, a component that wraps the NLSearchBar and allo…
nick-next a839446
The custom home page template is now update to remove the old header …
nick-next f1ae71d
An update to the primary site base template to use HEADER_MENU rather…
nick-next 5c9ee3d
The custom dc app, that displays the search and the tools.
nick-next e2bb916
Initial Emotion work for the search
pablonoel c0fdd76
Emotion styles for autocomplete
pablonoel 28a2f3e
Styles for tools and search suggestions
pablonoel b3c3207
Merge branch 'master' into custom-dc-homepage
nick-next 1d7f142
Restored styling and intro header to the Data Commons tool component …
nick-next 4655e7f
The link description is now black, and the custom dc version of the t…
nick-next 3ddeea8
Merge branch 'master' into custom-dc-homepage
nick-next 0cdec09
Color, typography and new logo
pablonoel 95125e2
Update overrides.css
pablonoel 27ef2ac
Merge branch 'custom-dc-homepage' of github.com:Half-Integer/datacomm…
pablonoel 1e547cd
Some refactoring of the tools component (adding memoization and rolli…
nick-next 6ca2660
Removal of redundant CSS styles.
nick-next 45a1294
Import of font should be done in base.html rather than inside the css
pablonoel ce66a3f
Font fixes, autocomplete load more styles and improvement on contrast
pablonoel 370317d
Styled components
pablonoel 977ba13
improvements on Styled components
pablonoel 600423f
Clean up styled components
pablonoel 46dff8f
Merge branch 'master' into custom-dc-homepage
nick-next e3e3e6d
Factored the styled components out of the primary components, and som…
nick-next 9019f0c
Fix CSS nest issue, Improve the showloadmore
pablonoel 1203a31
Formatting
nick-next 780190f
Merge branch 'master' into custom-dc-homepage
nick-next ccfbda0
Conversion of export from default to standard, and collapsing of impo…
nick-next 8ff5505
Removal of component props that were not used.
nick-next dfb5075
Removal of unused imports.
nick-next f2c5af8
Update to tests to account for changes in the frontend hierarchy.
nick-next 879a5f1
Removes old logo, check some copyright dates, brings back the medium …
pablonoel 8a3e0bd
Merge branch 'master' into custom-dc-homepage
pablonoel c2bc661
Merge branch 'master' into custom-dc-homepage
pablonoel 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,89 +1,139 @@ | ||
| [ | ||
| { | ||
| "label": "Explore", | ||
| "id": "tools", | ||
| "label": "Tools", | ||
| "ariaLabel": "Show exploration tools", | ||
| "subMenu": [ | ||
| { | ||
| "href": "{place.place_explorer}", | ||
| "label": "Place Explorer" | ||
| }, | ||
| { | ||
| "href": "{browser.browser_main}", | ||
| "label": "Knowledge Graph" | ||
| }, | ||
| { | ||
| "href": "{tools.visualization}#visType=timeline", | ||
| "label": "Timelines Explorer" | ||
| }, | ||
| { | ||
| "href": "{tools.visualization}#visType=scatter", | ||
| "label": "Scatter Plot Explorer" | ||
| "introduction": { | ||
| "description": "Explore a variety of tools to visualize, analyze, and interact with the Data Commons knowledge graph and its extensive datasets" | ||
| }, | ||
| "primarySectionGroups": [ | ||
| { | ||
| "id": "tools-0", | ||
| "items": [ | ||
| { | ||
| "title": "Knowledge Graph", | ||
| "url": "{browser.browser_main}", | ||
| "description": "Explore what data is available and understand the graph structure" | ||
| }, | ||
| { | ||
| "title": "Statistical Variable Explorer", | ||
| "url": "{tools.stat_var}", | ||
| "description": "Explore statistical variable details including metadata and observations" | ||
| }, | ||
| { | ||
| "title": "Data Download Tool", | ||
| "url": "{tools.download}", | ||
| "description": "Download data for selected statistical variables" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "href": "{tools.visualization}#visType=map", | ||
| "label": "Map Explorer" | ||
| }, | ||
| { | ||
| "href": "{tools.stat_var}", | ||
| "label": "Statistical Variable Explorer" | ||
| }, | ||
| { | ||
| "href": "{tools.download}", | ||
| "label": "Data Download Tool" | ||
| "id": "tools-1", | ||
| "items": [ | ||
| { | ||
| "title": "Map Explorer", | ||
| "url": "{tools.visualization}#visType=map", | ||
| "description": "Study how a selected statistical variable can vary across geographic regions" | ||
| }, | ||
| { | ||
| "title": "Scatter Plot Explorer", | ||
| "url": "{tools.visualization}#visType=scatter", | ||
| "description": "Visualize the correlation between two statistical variables" | ||
| }, | ||
| { | ||
| "title": "Timelines Explorer", | ||
| "url": "{tools.visualization}#visType=timeline", | ||
| "description": "See trends over time for selected statistical variables" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "docs", | ||
| "label": "Documentation", | ||
| "ariaLabel": "Show documentation links", | ||
| "subMenu": [ | ||
| { | ||
| "href": "https://docs.datacommons.org", | ||
| "label": "Documentation" | ||
| }, | ||
| { | ||
| "href": "https://docs.datacommons.org/api", | ||
| "label": "APIs" | ||
| "introduction": { | ||
| "description": "Access in-depth tutorials, guides, and API references to unlock the full potential of Data Commons and integrate it into your projects" | ||
| }, | ||
| "primarySectionGroups": [ | ||
| { | ||
| "id": "docs-0", | ||
| "items": [ | ||
| { | ||
| "title": "Docs", | ||
| "url": "https://docs.datacommons.org", | ||
| "description": "Learn how to access and visualize Data Commons data: docs for the website, APIs, and more, for all users and needs" | ||
| }, | ||
| { | ||
| "title": "API", | ||
| "url": "https://docs.datacommons.org/api", | ||
| "description": "Access Data Commons data programmatically, using REST and Python APIs" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "hide": true, | ||
| "href": "https://docs.datacommons.org/bigquery", | ||
| "label": "BigQuery" | ||
| }, | ||
| { | ||
| "href": "https://docs.datacommons.org/tutorials", | ||
| "label": "Tutorials" | ||
| }, | ||
| { | ||
| "href": "https://docs.datacommons.org/contributing/", | ||
| "label": "Contribute" | ||
| "id": "docs-1", | ||
| "items": [ | ||
| { | ||
| "title": "Tutorials", | ||
| "url": "https://docs.datacommons.org/tutorials", | ||
| "description": "Get familiar with the Data Commons Knowledge Graph and APIs using analysis examples in Google Colab notebooks written in Python" | ||
| }, | ||
| { | ||
| "title": "Contributions", | ||
| "url": "https://docs.datacommons.org/contributing/", | ||
| "description": "Become part of Data Commons by contributing data, tools, educational materials, or sharing your analysis and insights. Collaborate and help expand the Data Commons Knowledge Graph" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "about", | ||
| "label": "About", | ||
| "ariaLabel": "Show about links", | ||
| "subMenu": [ | ||
| { | ||
| "href": "{static.about}", | ||
| "label": "About Data Commons" | ||
| }, | ||
| { | ||
| "href": "https://blog.datacommons.org/", | ||
| "label": "Blog" | ||
| "introduction": { | ||
| "description": "Data Commons is an initiative from Google. Explore diverse data, learn to use its tools through Python examples, and stay updated on the latest news and research" | ||
| }, | ||
| "primarySectionGroups": [ | ||
| { | ||
| "id": "about-0", | ||
| "items": [ | ||
| { | ||
| "title": "Why Data Commons", | ||
| "url": "{static.about}", | ||
| "description": "Discover why Data Commons is revolutionizing data access and analysis. Learn how its unified Knowledge Graph empowers you to explore diverse, standardized data" | ||
| }, | ||
| { | ||
| "title": "Data Sources", | ||
| "url": "{static.data}", | ||
| "description": "Get familiar with the data available in Data Commons" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "href": "{static.data}", | ||
| "label": "Data Sources" | ||
| }, | ||
| { | ||
| "href": "{static.faq}", | ||
| "label": "FAQ" | ||
| }, | ||
| { | ||
| "href": "{static.feedback}", | ||
| "label": "Feedback" | ||
| "id": "about-1", | ||
| "items": [ | ||
| { | ||
| "title": "FAQ", | ||
| "url": "{static.faq}", | ||
| "description": "Find quick answers to common questions about Data Commons, its usage, data sources, and available resources" | ||
| }, | ||
| { | ||
| "title": "Blog", | ||
| "url": "https://blog.datacommons.org/", | ||
| "description": "Stay up-to-date with the latest news, updates, and insights from the Data Commons team. Explore new features, research, and educational content related to the project" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "feedback", | ||
| "label": "Feedback", | ||
| "ariaLabel": "Give feedback", | ||
| "url": "{feedback-prefill}", | ||
| "exposeInMobileBanner": true | ||
| } | ||
| ] |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.