-
Notifications
You must be signed in to change notification settings - Fork 46
Search updates #2146
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
Merged
Merged
Search updates #2146
Changes from 2 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
0c34482
fix(helm): Improve compatiblity with EKS 1.19
nellh 403ed7c
fix(helm): Correct zfs-localpv volume balancing
nellh 33dcdda
updates to landing header and facet refactor
thinknoack 61f0d57
pixel adjustment for hex bg
thinknoack db72edb
front hero cube adjustments
thinknoack a6fa63e
weird merge issue and some commit mess fixes
thinknoack 3777f10
speed up modal exit/hide
thinknoack 28c6c65
speed up modal exit/hide
thinknoack a5cb1ef
adding some placeholder search itmes
thinknoack d32399e
update to modal timing
thinknoack 8763a0e
conflict updates
thinknoack 0597e3a
update to search and merge master
thinknoack 5692856
update to search and merge master
thinknoack 150c9b3
Merge branch 'master' into landingheader
thinknoack 433fe93
refactor to landing page header
thinknoack 4a9dfaa
update toggleClick
thinknoack 16aaf9d
Merge pull request #2142 from OpenNeuroOrg/landingheader
thinknoack 62db408
merge master
thinknoack b83d259
fix(helm): Production configuration fixes for eks 1.19 update
nellh 3f0e9ba
Merge branch 'helm-1.19-compatibility'
nellh fc68e1d
Add endpoints for enabling/disabling features.
david-nishi 17d9f7a
Enable toggle for feature `redesign_2021`.
david-nishi eb198f9
Make feature consistent with enable/disable urls.
david-nishi 2311e93
Simplify enable/disable urls.
david-nishi 75b5508
Redesign endpoints redirect to homepage.
david-nishi 03a60fd
add feature to FeatureToggleProps
david-nishi 1d80289
Have FeatureToggle return jsx.
david-nishi dcf0312
fix(helm): Raise CPU limit for dataset worker container
nellh 60a871c
Merge pull request #2144 from OpenNeuroOrg/107-feature-flag
nellh d68b7de
adding search page and results
thinknoack 346df91
minor updates for PR 2146
thinknoack b7ec7ad
update in props [string] to string[]
thinknoack ec33901
update after master merge
thinknoack 38b551d
adding searchpagecontainer and some other cleanup
thinknoack 9d77a50
working on adding containers
thinknoack 4a1415f
refactor and updates to search
thinknoack 6a0956c
adding array type to children
thinknoack 5db4912
update to setSeclected on Radio
thinknoack 252059b
adding mock data for filters block
thinknoack 99fe342
update labels for filters block
thinknoack 3e07a2e
update theme variables to use css var
thinknoack 562a62e
update to invalid and shared icons in result
thinknoack 6a26d32
updates to radio
thinknoack 38d242a
spacing for keyword and filters block
thinknoack 465620d
update font weight for selected facet list item
thinknoack 62cee07
adding fake load more
thinknoack 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| import React from 'react' | ||
| import { AccordionTab } from '../accordion/AccordionTab' | ||
| import { AccordionWrap } from '../accordion/AccordionWrap' | ||
| import { TwoHandleRange } from '../range/TwoHandleRange' | ||
| import './facet.scss' | ||
|
|
||
| export interface FacetRangeProps { | ||
| accordionStyle: string | ||
| startOpen: boolean | ||
| label: string | ||
| dropdown?: boolean | ||
| min: number | ||
| max: number | ||
| step: number | ||
| dots: boolean | ||
| pushable: boolean | ||
| defaultValue: [number, number] | ||
| marks: { number: string } | ||
| newvalue: [number, number] | ||
| setNewValue: (newvalue) => void | ||
| } | ||
|
|
||
| export const FacetRange = ({ | ||
| startOpen, | ||
| label, | ||
| accordionStyle, | ||
| dropdown, | ||
| min, | ||
| max, | ||
| step, | ||
| dots, | ||
| pushable, | ||
| defaultValue, | ||
| marks, | ||
| newvalue, | ||
| setNewValue, | ||
| }: FacetRangeProps) => { | ||
| return ( | ||
| <AccordionWrap className="facet-accordion"> | ||
| <AccordionTab | ||
| accordionStyle={accordionStyle} | ||
| label={label} | ||
| startOpen={startOpen} | ||
| dropdown={dropdown}> | ||
| <div className="facet-radio"> | ||
| <TwoHandleRange | ||
| min={min} | ||
| max={max} | ||
| step={step} | ||
| dots={dots} | ||
| pushable={pushable} | ||
| defaultValue={defaultValue} | ||
| newvalue={newvalue} | ||
| setNewValue={setNewValue} | ||
| /> | ||
| </div> | ||
| </AccordionTab> | ||
| </AccordionWrap> | ||
| ) | ||
| } |
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
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
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.