Skip to content

📋 Issue 1: Individual Copy-to-Clipboard Buttons for Action Items and Decisions #352

Description

@Adithyakp86
📋 Issue 1: Individual Copy-to-Clipboard Buttons for Action Items and Decisions (level-1)
### Description
Currently, Late-Meet allows users to copy the entire meeting summary to the clipboard via the dropdown menu. However, users often want to copy only a single action item or a single key decision to quickly share it with their team in Slack, Microsoft Teams, or a ticket tracker (like Jira).

We should add a subtle, elegant "Copy" button next to each action item and decision listed in the dashboard side panel.

---

### Proposed Solution / Technical Guidance
1. **Render Copy Buttons**:
   - Locate the rendering loops in `src/dashboard.ts`. 
   - In `updateActionItems(actionItems, meetingId)`, within the loop creating the action item elements, append a copy button (using a clean SVG clipboard icon).
   - In `updateDecisions(decisions)` (or the respective decisions list rendering block), append a similar copy button next to the decision text.
2. **Handle Click Event**:
   - Wire up click listeners to these buttons that invoke `navigator.clipboard.writeText` to copy the formatted text.
   - For action items, copy a format like: `[ ] [Task] - Assignee: [Owner] (Due: [Deadline])`.
   - For decisions, copy a format like: `[Decision] - Announced by: [By]`.
3. **Show Toast/Tooltip**:
   - Trigger a temporary tooltip or leverage the existing `showToast("Copied to clipboard!", "success")` function from `src/dashboard.ts` to provide immediate visual feedback.
4. **Style the Icons**:
   - Ensure the copy buttons use smooth transitions, hover effects, and align beautifully with the monochrome glassmorphism aesthetic specified in `src/dashboard.css`.

---

### Files to Modify
- `src/dashboard.ts` (specifically action items & decisions update rendering loops)
- `src/dashboard.css` (for copy-button positioning and hover animations)

---

### Definition of Done
- [ ] Subtle clipboard SVG icons appear next to each individual action item and decision.
- [ ] Clicking the icon copies that specific item in a clean text format to the system clipboard.
- [ ] A success toast or tooltip is triggered on click.
- [ ] The feature operates perfectly in both light and dark/system themes without breaking layout alignment.

Activity

  1. added
    gssocOfficial GSSoC contribution issue
    gssoc:approvedGSSoC: PR approved and scored
    enhancementNew feature or request
    type:designType: Design / UI / UX (Optional bonus)
    on May 31, 2026
  2. github-actions commented on May 31, 2026

    @github-actions
    Contributor

    👋 Hi @Adithyakp86, thank you for opening this issue! I have automatically assigned this issue to you since you raised it.

    Please follow the contribution guidelines and submit a PR. Let us know if you need any assistance! 🚀


    Please consider starring the repository ⭐ to show your support!

  3. github-actions commented on Jun 18, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgithub_actionsPull requests that update GitHub Actions codegssocOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredlevel:intermediateDifficulty level: Intermediate (35 pts)staletype:designType: Design / UI / UX (Optional bonus)ui

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions