Skip to content

[Mobile] Implement Answer View #422

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

Closed
1 of 24 tasks
mmtftr opened this issue Oct 20, 2024 · 1 comment
Closed
1 of 24 tasks

[Mobile] Implement Answer View #422

mmtftr opened this issue Oct 20, 2024 · 1 comment
Assignees
Labels

Comments

@mmtftr
Copy link
Contributor

mmtftr commented Oct 20, 2024

📌 Implement a Feature

🏡 Component

  • Backend
  • Frontend
  • Mobile
  • Design
  • Documentation
  • Other

📚 Description

Implement an Answer View on mobile that allows users to view and interact with answers. The view should support rich text formatting, code snippets with execution capability, and voting functionality.

📋 Acceptance Criteria

  • Answer List View

    • Display answers sorted by votes (highest first)
    • Show answer metadata (author, date)
    • Proper formatting of text content
    • Proper code snippet display
    • Show vote counts
    • Handle empty state (no answers yet)
  • Code Snippet Features

    • Support executable code snippets
    • Code execution with proper input/output
    • Syntax highlighting
    • Copy code functionality
    • Show execution errors clearly
    • Support for all required languages
  • User Interactions

    • Upvote/downvote answers
    • Delete own answers
    • Share answer link

📃 Related requirements

Link to section

1.6.3.3. Registered Users shall be able to add Answers to a Question with:

  • 1.6.3.3.1. Formatted text content
  • 1.6.3.3.2. (optional) executable or non-executable code snippets.

1.6.3.4. Registered Users shall be able to preview their Answer as they write it

1.6.4. Interaction with Answers

  • 1.6.4.1. Registered Users shall be able to upvote an Answer
  • 1.6.4.2. Registered Users shall be able to downvote an Answer

📅 Deadline

  • Estimated hours of work: 2 hours
  • Implementation Deadline: -- Milestone 1

👁‍🗨 Reviewer

@mmtftr

@mmtftr mmtftr self-assigned this Oct 22, 2024
@mmtftr mmtftr added this to the 451 - Customer Milestone 1 milestone Oct 22, 2024
@mmtftr
Copy link
Contributor Author

mmtftr commented Nov 15, 2024

Closed by #473

@mmtftr mmtftr closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant