Android: edit/delete does not update entry in search result list

Open
#2,363 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
mobile, search

Research direction

Reproduce the issue in the Android search-results list using the listed delete and edit flows, then trace the context-menu actions from the search results entry point. Check how the list is refreshed after each successful action. Done means deletion removes the entry immediately and editing shows the new values without repeating the search.

Written by the indexing model from the issue text.

Description

bug
Which version of floccus are you using?

v5.10.3

How many bookmarks do you have, roughly?

2k

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

GrapheneOS (Android 17), Google Pixel 6

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

Editing or deleting an entry in the search results list via the 3 dots menu does not have any effect on the search result list.

For example, the entry remains in the search result list even if you delete it.
Or after editing an entry from the search result list the search result entry still shows the old values.

However, the actions are successful. A repeated search will not find the entry that was deleted, and will show the edited entry with the correct new values.

Expected Behavior

When editing or deleting an entry from the search result list, the search result list should be updated to reflect the change. That means remove the deleted entry from the search result list or show the new values for the edited search result entry.

To Reproduce
  1. search for bookmarks
  2. for any entry of the search results click on the 3 dots to open the context menu
  3. click "Delete"

Alternative:

  1. search for bookmarks
  2. for any entry of the search results click on the 3 dots to open the context menu
  3. click "Edit"
  4. change the title
  5. click "Save"
Debug log provided
  • I have provided a debug log file
Dominant language
JavaScript
Stars
8.5k
Forks
327
Avg merge
2d 19h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

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.

More from floccusaddon/floccus

All issues in floccusaddon/floccus

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.