Skip to content

Conversation

Polleps
Copy link
Member

@Polleps Polleps commented Mar 27, 2023

PR Checklist:

  • Link to related issues: #number
  • Add changelog entry linking to issue
  • Add tests (if needed)
  • If dependent on server-side changes: link to PR on atomic-data-rust
  • If new feature: added in description / readme

transition: height ${p => p.duration}ms ease-in-out;
const GridCollapser = styled.div<GridCollapserProps>`
display: grid;
grid-template-rows: ${({ open }) => (open ? '1fr' : '0fr')};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so clean, love it

newAgent?.subject && toast.success('Signed in!');
newAgent === undefined && toast.success('Signed out.');
} catch (e) {
toast.error('Agent setting failed: ' + e.message);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure there's a errorHandler function that should be used, which internally does the console.log and toast.error. That way we can still use something like sentry or bugsnag later.

Copy link
Member

@joepio joepio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job! Just make the handleError change, then lgtm

@Polleps Polleps force-pushed the sidebar/search-performance branch from cd93174 to 71ec98c Compare March 27, 2023 14:06
const [isOpen, setIsOpen] = React.useState(initialState);

useEffect(() => {
console.log('opening details');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naughty

@joepio joepio merged commit 7b06835 into main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants