Git Product home page Git Product logo

searchx-frontend's People

Contributors

dependabot[bot] avatar felipemoraes avatar kiliangrashoff avatar mvallet91 avatar roynirmal avatar sindunuragarp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

searchx-frontend's Issues

Migrate to Bootstrap v4 or Material-UI

A new version of Bootstrap has arrived, so we'd like to migrate and make collaborative features using Cards https://react-bootstrap.github.io/components/cards/

However, Material-UI has become popular in today's web applications. To make users feel more comfortable with the tooling, we may take into consideration migrating SearchX to Material-UI.
This also requires to port our survey engine to the new styles.

Task completion

Add a button allowing the user to claim completion of the task. The button should redirect to a post-search website (this website should be in the configuration of SearchX).

Handle incorrect user code

Currently when a user finishes with incorrect code, the resulting code is undefined. This would not be nice when a user wrongly writes their user code.

Create Abstraction for Search Tasks

Currently each search task is "hardcoded" to work. Since we want to make searchx easily adaptable for a new task, we would need to create an abstraction that would make this achievable.

Improvements for documentation

I found the following points that I think could be improved when going through the instructions.

  • The documentation of searchx-front jumps to configuring the backend URL, without explaining that you have to run searchx-api first. This was clear to me, but may no be to a new user. It would be helpful to link to the other repo for instructions on setting up the API.
  • After running the development server, the documentation does not explain at what (default) url the user can visit the server. The output of webpack does link to http://127.0.0.1:8080/, however that only shows the about page, so I had to look through the code to find the URL for the search. It would be helpful if the URL where the user can try SearchX is in the documentation, and if the about page links to the search page (or the search page is made the default page).

Logging events

Hi,

Can you add in some functionality to log the event when a user CLICKS on the query box (focuses on it)? That way we can better time how long someone spends querying.

In addition, can you check to make sure that there are events in place for subsequent interactions on the SERP?

  • Add a logging event for when a bookmark is deleted from the saved list. For a collaborative session, this event should note the user ID of the person who deleted it.
  • When a user hovers over a widget (and out), can you have events to track that? Like, the parent container should have an event associated with it. At the moment I believe there are events in place that consider when individual elements within a widget are hovered over (i.e. hovering over a document in the saved documents widget), but an overall hover in and hover out for the container box would be awesome.

Thank you!

Add chat support

For collaborative search tasks

  • preferably something that is pluggable like facebook chat

Add support for modifying verticals

Currently the verticals are hard coded in the frontend. It should be changed to be editable on the backend to reflect result types from the search provider.

Chat Bug

I cannot reproduce:
Sometimes two instances of Chat appears for user, when that may occur?

Intro.js back

Bring intro back. Add intro messages in:

  • SearchTaskBar, intro explains the user subject to learn.
  • SearchTaskBar, intro explains the counter and the time limit (counter should start after intro is completed)
  • SearchBox, explains that it is a normal search system

Refactor Stores (State Management)

Issues:

  • The use of localstorage is very messy and spread out everywhere
  • localstorage should not be used for sensitive data (user code, etc)
  • There are different types of stores. Component stores, and global stores
  • The current library (flux) is very loosely defined, therefore it's easy to implement bad practices

Possible Solution:

  • Adopt a newer state management library which solves the issues in flux (ex: redux, mobx)

Improve Session Member Information

Currently users are only identified by a color. To implement additional features regarding user information, we need an id / username to refer a user with. This can be through a prompt in the beginning of a session.

With the username information, we can then implement:

  • listing which group members are online
  • display information on which users have viewed/rated a document
  • etc

Add Component Prop Types

Currently container components and presentational components are separated in the search directory. To ensure the components are receiving the correct props, we should define prop types for at least the presentational components (inside the components directory of each feature).

Task bar

Add a taskbar on the top right with information about the task. A task id should be part of user current state. It should support getting the task definitions from a file (maybe Json) containing task idand definitions. The filename should come from the configuration file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.