A UI clone of Elicit with some modifications
Link to Elicit: https://elicit.org/
A UI clone of Elicit written in React/Typescript/Chakra UI
Home Page: https://elicit-clone.vercel.app
A UI clone of Elicit with some modifications
Link to Elicit: https://elicit.org/
Requirements for search bar popover:
Current implementation:
Popover autoFocus={false}
(doesn't steal focus) or Popover initialFocusRef={inputRef}
(passes focus to search bar input field with ref={inputRef}
)onOpen
from useDisclosure
instead, i.e. input onFocus={onOpen}
, putting input
inside PopoverTrigger
causes the toggle open/close behaviormaintaining input focus
-> clicking outside search bar/popover
doesn't close the popover, but maintaining input focus
-> clicking inside popover
-> clicking outside search bar/popover
will close the popover. Worse is that maintaining input focus
-> clicking inside popover
-> clicking inside search bar
will also close the popover and user is unable to open the popover again unless they reload the page!!Input onKeyDown
to blur()
and onPopoverClose()
Current implementation code:
const { isOpen: isPopoverOpen, onOpen: onPopoverOpen, onClose: onPopoverClose } = useDisclosure()
<Popover
isOpen={isPopoverOpen}
onClose={onPopoverClose}
autoFocus={false}
>
<PopoverAnchor>
<InputGroup>
<InputLeftElement>...</InputLeftElement>
<Input
value={input}
onChange={handleChange} // updates state
onKeyDown={handleKeyDown} // e.key === 'Escape' -> e.currentTarget.blur() and onPopoverClose()
onFocus={onPopoverOpen}
/>
<InputRightElement>...</InputRightElement>
</InputGroup>
</PopoverAnchor>
<PopoverContent>
<PopoverBody>...</PopoverBody>
</PopoverContent>
</Popover>
To do
/search
page layout with placeholder data (basic layout done, to tweak and work on logic and passing data)Harder to do
/search
page data based on real search and implement loading animation for each query?/search
page layout based on adding/removing filters and implement horizontal scrolling?Very minor UI bug on profile icon tooltip popup
Current profile icon tooltip implementation
Very minor UI bug on /search
paper summary thumbs up/down tooltip popup
Consider redesigning after cloning
/search
page and find ways to improve based on existing public user feedbackA 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.