nextcloud / nextcloud/mail

add to calendar feature: handle loading states of events individually

Open
#10,757 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. receive an email with two events (e.g. flights)
  2. click + button on one of the events to add it to your calendar
  3. see loading spinners on both events, creating impression that both events will be added
  4. only the event you clicked is added to the event
Expected behavior

loading spinner should only be active on event that you clicked +-button on

Actual behavior

loading spinner is shown on both events

Mail app version

3.7.21

Nextcloud version

29.0.9.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Reproduce the add-to-calendar flow with two events, then trace the event cards and calendar action handling to find why one action shows loading on both events. Done means only the clicked event shows a spinner while it is being added, with existing behavior unchanged for the other event.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.