-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Search Improvements #1609
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
Search Improvements #1609
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ce49ce8
add sort by
SaraVieira 3de6171
change search to new cards
SaraVieira cc93fb5
add search in header
SaraVieira 473f603
css updates
SaraVieira fcf55ec
pretty naviagtion too
SaraVieira 8bf7b55
show more
SaraVieira 65c0585
remove unused files
SaraVieira 3cb1780
update jest snapshot
SaraVieira af30e36
add responisve
SaraVieira e3bda07
small fixes
SaraVieira 722ecd2
add sabdnboxes to placeholder
SaraVieira e9ace45
cleam css
SaraVieira aabe086
remove flow annotations from ts files
SaraVieira 4ae3d80
Make hits per page 12
CompuIves 48374a9
Include one font
CompuIves 545e454
Merge branch 'master' into order
CompuIves 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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/CodeEditor/ImageViewer/index.tsx
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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/CodeEditor/VSCode/Configuration/index.tsx
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
2 changes: 1 addition & 1 deletion
2
...es/app/src/app/components/Preview/DevTools/Tests/TestDetails/TestBlock/TestName/index.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
| import * as React from 'react'; | ||
| import { Test } from '../../../'; | ||
|
|
||
|
|
||
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestDetails/TestBlock/index.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
| import * as React from 'react'; | ||
| import FileIcon from 'react-icons/lib/md/insert-drive-file'; | ||
|
|
||
|
|
||
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestDetails/index.tsx
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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestElement/index.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
|
|
||
| import * as React from 'react'; | ||
| import Tooltip from '@codesandbox/common/lib/components/Tooltip'; | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestOverview/index.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
|
|
||
| import * as React from 'react'; | ||
|
|
||
|
|
||
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestProgressBar/index.tsx
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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestSummary/index.tsx
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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/components/Preview/DevTools/Tests/TestSummaryText/index.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
| import * as React from 'react'; | ||
| import { | ||
| TestDetails, | ||
|
|
||
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
2 changes: 1 addition & 1 deletion
2
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Server/Status.tsx
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,4 +1,4 @@ | ||
| // @flow | ||
|
|
||
| import React from 'react'; | ||
| import styled from 'styled-components'; | ||
|
|
||
|
|
||
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,26 @@ | ||
| import React, { Component } from 'react'; | ||
| import Down from 'react-icons/lib/md/expand-more'; | ||
| import Up from 'react-icons/lib/md/expand-less'; | ||
| import { SortBy } from 'react-instantsearch-dom'; | ||
|
|
||
| import { Container, Title, Button } from './elements'; | ||
|
|
||
| class Filter extends Component { | ||
| state = { open: false }; | ||
|
|
||
| toggle = () => this.setState(({ open }) => ({ open: !open })); | ||
| render() { | ||
| const { title, defaultRefinement, items } = this.props; | ||
| const { open } = this.state; | ||
| return ( | ||
| <Container open={open}> | ||
| <Title> | ||
| <span>{title}</span> | ||
| <Button onClick={this.toggle}>{open ? <Up /> : <Down />}</Button> | ||
| </Title> | ||
| <SortBy defaultRefinement={defaultRefinement} items={items} /> | ||
| </Container> | ||
| ); | ||
| } | ||
| } | ||
| export default Filter; |
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
8 changes: 0 additions & 8 deletions
8
packages/app/src/app/pages/Search/SandboxCard/SandboxInfo/Stat/elements.js
This file was deleted.
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.
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.
This is nice! Maybe we can also re-use
in a later version.