openedx / openedx/openedx-app-ios

[iOS] Double refresh of the "Dates" tab when redirecting to it

Open
#438 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
31
Forks
32
PR merge metrics
No merged PRs in 30d

Description

After merging this PR, the redirect to the "Dates" tab started updating twice.
Need to prevent the "Dates" tab from refreshing completely when the second response comes in the background (and it triggers an update for the course banner and a new update for "Dates")
Before:

https://github.com/openedx/openedx-app-ios/assets/37253/5930e9cb-22e1-4961-9c0b-f643197161a4

After:

https://github.com/openedx/openedx-app-ios/assets/37253/ef83810a-b045-4374-8146-163a870f4ea1

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

Start by reviewing PR #385 and tracing the redirect to the Dates tab and the background response that updates the course banner. Done means the second response no longer refreshes the Dates tab completely while the course banner still updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
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.