atrilabs-engine icon indicating copy to clipboard operation
atrilabs-engine copied to clipboard

Add a Search Bar Component

Open adityaxpique opened this issue 2 years ago • 14 comments

The signature of search bar component should be as follows:-

type SearchBarProps = {
       styles: React.CSSProperties;
       custom: { 
              value: string; 
              placeholder: string;
              suggestionsArray: [string};
              showIcon: boolean;
       }
       onChange: (value: string) => void;
       onPressEnter: () => void;
};
 
export const SearchBar: React.FC<SearchBarProps> = React.forwardRef(
  (ref, props) => {
    return <div></div>;
  }
);

The design reference -

Screenshot 2022-10-06 202625

Screenshot 2022-10-06 202338

Persistent search from https://material.io/design/navigation/search.html#usage is also a reference for the suggestions functioning.

adityaxpique avatar Oct 08 '22 07:10 adityaxpique

Please assign me this.

rohinirai010 avatar Oct 09 '22 12:10 rohinirai010

@all-contributors please add @rohinirai010 as a contributor for userTesting

darshitac11 avatar Oct 09 '22 18:10 darshitac11

@darshitac11

I've put up a pull request to add @rohinirai010! :tada:

allcontributors[bot] avatar Oct 09 '22 18:10 allcontributors[bot]

If this is not assigned to anyone then Please assign me.

PranitPatil03 avatar Nov 08 '22 19:11 PranitPatil03

@PranitPatil03 read the instructions given in the contributors.md file to set up the project and if in any doubt feel free to ask here.

Plz read this as well https://github.com/Atri-Labs/atrilabs-engine/discussions/169

jonathanalvares9009 avatar Nov 09 '22 06:11 jonathanalvares9009

Hello

I'm trying to set up the atri framework locally, But I'm getting some errors, how can I solve it?? getting an error after using the below command

build some pre-requisite package

cd $PROJECT_ROOT/packages/forest && yarn run build

Screenshot 2022-11-12 015550

PranitPatil03 avatar Nov 11 '22 20:11 PranitPatil03

@PranitPatil03 please try updating your globally installed tsc and typescript. It's weird that tsc is picking files from node_modules folder.

cruxcode avatar Nov 15 '22 11:11 cruxcode

Hello

I have Stuck in a server development error, Help needed

This is a command causing an error

cd $PROJECT_ROOT/packages/webapp-builder yarn run server

image

PranitPatil03 avatar Dec 07 '22 20:12 PranitPatil03

Hi @PranitPatil03, is it possible for you to use PowerShell? If yes, then please use an alternative command yarn run serverpws instead of yarn run server.

cruxcode avatar Dec 09 '22 15:12 cruxcode

Hello @cruxcode @darshitac11

I have set up the project on my local machine but the visual editor is not working, getting an error like

Screenshot 2022-12-10 181339

PranitPatil03 avatar Dec 11 '22 10:12 PranitPatil03

@PranitPatil03 can you confirm whether typescript process is installed in the packages/scripts/node_modules. Also, what are the specifications of your system. We generally get Killed message when a system doesn't have enough memory or swap isn't configured properly.

cruxcode avatar Dec 11 '22 10:12 cruxcode

Hello @cruxcode Sir

I have tried to install atri framework on my local machine but still having some issues please help me to solve them Thank You

error

PranitPatil03 avatar Dec 21 '22 15:12 PranitPatil03

@PranitPatil03 It seems the lerna run build has not worked properly. Please ensure that the lib directory exists in all workspaces i.e. all the subfolder in packages have lib directory.

cruxcode avatar Dec 21 '22 22:12 cruxcode

Hello @cruxcode,

I have successfully started the development server, however, I am facing some errors. Can you please help me to solve them? I am also getting errors while importing the modules.

Can you share more details about Search Bar Component?

editererror importerror

Thank You

PranitPatil03 avatar Dec 24 '22 13:12 PranitPatil03