appbaseio / reactivesearch Goto Github PK
View Code? Open in Web Editor NEWSearch UI components for React and Vue
Home Page: https://opensource.appbase.io/reactivesearch
License: Apache License 2.0
Search UI components for React and Vue
Home Page: https://opensource.appbase.io/reactivesearch
License: Apache License 2.0
When unselecting the NestedList value from the SelectedFilter component, the NestedList selections stop working.
Currently, all ReactiveSearch component title
props are supporting String
datatype. They should also accept HTML element
as an alternative to String.
we are a SaaS startup and have our own search enginge developed. is it possible to use this component without having an appbase account? if so, is there a documentation for it.
Add a highlight prop similar to the DataSearch component -
appbaseio/reactivebase#91.
NestedList component's react prop (i.e. when the NestedList component depends on other components) does not correctly apply to the nested (child) list values.
small
value will render the image in an icon size.For defaultSelected
prop, only items which are present in the NestedList should be selected and values which are not found in the list should be ignored (Similar to NativeList).
The view shows up as blank when switched. Playground link
Also from a UI perspective, there should be a way to display the current active view.
We will move the storybook and associated playground build and config files to its own repo at reactive-playground. That way we can use a unified playground across all reactive* projects.
In doing so, we will also build a jquery-esque plugin to filter stories by applied tags (which can also be set as a URL query parameter)
Reference: appbaseio/reactivebase#78
Update e-commerce example recipe to use all ReactiveSearch components.
Are we following the style syntax https://opensource.appbase.io/reactive-manual/v1.0.0/advanced/StyleGuide.html for each component?
String
String
String
[optional]Boolean
[optional]false
.String
or Array
Boolean
[optional]false
.Component would be sorted in alphabetical order, and for the time being, will not support any other sort options. The size of the labels will depend on the frequency of their occurrence. Selected label will show a background-color effect.
rbc-count-active
rbc-multiselect-active
rbc-title-active
Sync Pagination with Reactivebase actuators
Create a 4-step interactive tutorial to guide a user towards building an example ReactiveSearch app.
Step 1: Create App
Step 2: Importer Upload Interface - Upload data, we will provide an example JSON to be directly uploaded
Step 3: Importer + Dejavu View Interface - Provide mappings and view uploaded data
Step 4: Show the final app UI (with an external link to running with codepen)
When using sortOptions together with the showResultStats prop, there is a styles overlap. Also setting showResultStats prop to false
has a side effect on the sortOptions prop's UI element.
Originally filed under ReactiveBase, but it couldn't be replicated over there - appbaseio/reactivebase#98.
Currently, the cursor position doesn't change on the Search components. We need to support cursor movements based on the user inputs.
Possible fix involves working with Reactive-select and applying an event.PreventDefault().
Components will now have additional props showFilter
and filterLabel
to show the filter labels associated with current value selections.
Reference: appbaseio/reactivebase#133.
Like RangeSlider but decides its range based on the underlying data, i.e. dynamically.
String
String
String
Function
[optional]function(start_val, end_val)
and returns an object in the format:{
"start": "start label",
"end": "end label"
}
Function
[optional]function(start_val, end_val)
and returns an object in the format:{
"start": 0,
"end": 10
}
Boolean
true
.Number
rbc-histogram-active
rbc-rangelabels-active
rbc-title-active
By default, the interval
prop (for the number of histogram bars) should be set to Math.ceil((range.end - range.start) / 10)
. We already do this in RangeSlider component https://github.com/appbaseio/reactivebase/blob/dev/app/sensors/RangeSlider.js#L243.
@metagrover Perhaps while building the meetup example for Reactive Maps, we can build one that can also be re-used here. For the layout, try to keep it closely aligned to the design spec.
Need relative and responsive style design. TBD.
showPagination
prop to pagination
.We will also include a CSS style class for the same, rbc-pagination-active
and rbc-pagination-inactive
.
Reference: appbaseio/reactivebase#76.
Current implementation of NestedList
component supports up to two levels of aggregations. We should implement a generic aggregations query that can support 'n' levels --> and currently limit n to recurse to a depth of 10 (We will wait till the day an actual use-case needs more than that).
In DynamicRangeSlider component, when showHistogram
prop is set as false, an empty aggs
array is passed. This causes a bad query exception.
Do not pass the aggs object when a histogram query isn't needed.
Result components should wrap the markup with <div>...</div>
instead of <a>...</a>
when url
property is not set.
This is essential for cases when you have <a />
in your title
or desc
property, because in such cases if the outer wrapper is also an <a>
tag, you will end up with nested <a>
tags.
String
String
String
[optional]Object Array
start
, end
numeric values and label
as either string or HTML.{[
{"start": 4, "end": 5, "label": "4 stars and up"},
{"start": 3, "end": 5, "label": "3 stars and up"},
{"start": 1, "end": 5, "label": "> 1 stars"}
]}
Object
start
and end
keys, values should match one of the elements in the data array prop.rbc-title-active
For a selected item, there should be a rbc-active
class.
An extension of Data Search component meant to be used in e-commerce search settings.
String
String
String
String
[optional]Number
[optional]Object Array
[optional]value
as string and label
as either string or HTML.{[
{"value": "breakfast", "label": {<p><i className="fa-icon">Breakfast</p>}},
{"value": "lunch", "label": {<p><i className="fa-icon">Lunch</p>}},
{"value": "dinner", "label": {<p><i className="fa-icon">Dinner</p>}}
]}
String
[optional]showSuggestions prop is always set to be true
for this component and not exposed in the props spec.
rbc-title-active
For a selected item, there should be a rbc-active
class.
Update the CategorySearch component to incorporate the new changes in the search UI/Ux and autosuggestion functionality.
How can possible to implement in vue.js
We should only show "PoweredBy" logo on the actuator when component's current height >= 300px.
Reference: appbaseio/reactivebase#72
defaultOnData
method will show JSON objects in results if onData
method is absent
react
prop between themselves.react
prop between themselves.We should implement a noResults view in all examples.
Importantly, we are selling the search functionality and that is broken in some key examples. We need to fix that first.
Currently, NestedList component shows stale data for inner lists when initializing. We should only show fresh data (and perhaps use a loader when set?).
NestedList
query must return null
when the list is closed.
String
String
String
Object Array
Note
: label can be specified as either String
or HTML
.Boolean
true
by default.String
or Array
Boolean
rbc-count-active
rbc-multiselect-active
rbc-title-active
Adding interval prop which sets the histogram interval, tied to the change in the DateRange component appbaseio/reactivebase#94
We should componentStyle
to all the ReactiveSearch specific components to get compatibility with ReactiveBase components.
Reference: appbaseio/reactivebase#81
NestedList: Depth UI (Hide if value is not available in nested fields).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.