Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debate: argument improvements #88

Open
4 tasks
Andrei0872 opened this issue Mar 2, 2023 · 0 comments
Open
4 tasks

Debate: argument improvements #88

Andrei0872 opened this issue Mar 2, 2023 · 0 comments

Comments

@Andrei0872
Copy link
Owner

Andrei0872 commented Mar 2, 2023

  • preview argument
    Idea: you could select a range of text and export the serialized version of it. That part should be saved in a separated column(e.g. contentPreview) in the argument table.
  • expand arg content with transition
  • allow expanding multiple args at the same time
  • show spinner while fetching the arg
{
  (p.argumentId === crtReadArgumentId && !isReadArgumentLoading) || (p.argumentId !== crtReadArgumentId) ? (
    <DebateArgumentCard
      additionalActions={renderAdditionalActions(p)}
      isExpanded={p.argumentId === crtReadArgumentId}
      readArgument={onReadArgument}
      debateArgumentData={p}
    />
  ) : <p>Loading...</p>
}
  • setting setCrtReadArgumentId(argId); before fetching
@Andrei0872 Andrei0872 converted this from a draft issue Mar 2, 2023
@Andrei0872 Andrei0872 changed the title Debate: show preview of argument content Debate: argument improvements Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant