max-mapper / max-mapper/menubar

Remote url is getting cached

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.8k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

Description

The menubar is not updating the changes from the remote url. I have a remote website shown in the menubar but looks like it is getting cached. What should i change to prevent url caching?

Steps to Reproduce the Problem
  1. .Use the below attached code.
const mb = menubar({tray,icon: iconPath2 ,index:'https://example.com',preloadWindow:true,showDockIcon:false,showOnAllWorkspaces:false,
 browserWindow: {
            transparent: true,
            width: 320,
            height: 400,
            backgroundColor: "#00000000"
        }});
Expected Behaviour

The content should change as per the new data from the url

Actual Behaviour

The content is not changing and keeping it the same what was before. It only refreshes once i relaunch the app.

Specifications
  • Menubar version: 9.1.1
  • Platform: MacOS 11.5.2
  • Electron version: 17.0.0

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 reproducing the issue with the provided menubar configuration on macOS 11.5.2 using Electron 17.0.0, then investigate how the remote index URL is loaded and refreshed. Done means updated remote content appears without relaunching the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.