Skip to content
#

offline

Here are 919 public repositories matching this topic...

johnridesabike
johnridesabike commented Jun 14, 2019

Right now, there's no official, documented, way to read an instance's name or storeName properties. Having access to those can be useful for debugging.

They are technically accessible through the localforage._config property. However, that isn't documented, and the underscore conventionally means that users should avoid accessing it.

A basic example where this would be useful:

wesgarland
wesgarland commented Jul 18, 2019

I use stackedit.io and frequently have several documents open in different tabs simultaneously.

It would be very useful to me if the tab title was either the filename or the title of the document or something like that, to make it easy to find what I'm looking for.

document.title = 'StackEdit | ' + document.querySelector('.token.h1').innerText.slice(2)

looks pretty goo

YPS233
YPS233 commented Nov 29, 2019

I want to use zeal to query windows driver documents, but after I download the c and c++ documents,i can not found wdk function . for example the function NtCreateFile or ZwCreateFile. I can found it from microsoft document (https://docs.microsoft.com/zh-cn/search/?search=zwcreatefile&category=All). Did I not find it or it is not exist in zeal ?

the funtion information: https://docs.microsoft.

jdelman
jdelman commented Jul 17, 2019

When rotating between landscape/portrait, you can lose your open document and position. I have encountered this issue on an iPhone XS Max running iOS 12.3.1.

Steps to recreate:

  • Search for something.
  • View an article.
  • Rotate into landscape mode (on my iPhone XS Max, this shows the search view and the document view side-by-side)
  • Rotate back to portrait

Expected behavior: Show

Night-Reading-Go《Go 夜读》 > Share the related technical topics of Go every week through zoom online live broadcast, every day on the WeChat/Slack to communicate programming technology topics. 由 Go 夜读 SIG 成员维护,并通过 zoom 在线直播的方式分享 Go 相关的技术话题,每天大家在微信/Slack 上及时沟通交流编程技术话题。

  • Updated Mar 6, 2020
  • Go
jeffposnick
jeffposnick commented Aug 24, 2016

dynamicUrlToDependencies important concept for any site that includes server-side rendering and which uses partial templates/includes to produce a final HTML resource. However, it's importance and use cases aren't explained as well as they should be in the documentation.

I think the actual https://github.com/GoogleChrome/sw-precache#dynamicurltodependencies-objectstringarraystring entry can be

offline-plugin
mattgaspar
mattgaspar commented Jul 31, 2019

Are you aware of any different behavior when a PWA (using offline-plugin) is added to the home screen using "Add to Home Screen" on Chrome/Android or Safari/iOS?

I'm having problems with the app getting stuck using the cached version when it was installed and never updating.
I even have offline-plugin responseStrategy set to network-first but it seems to always use the cached version after add

patchwork
AndreaGProg
AndreaGProg commented Feb 4, 2020

Hi,
This is a wonderful approach to sending all our JSON status to the server:
(Also wonderful for managing the download or upload queue).

export const network = createNetworkReducer(comparisonFn);
function comparisonFn(action,actionQueue) {
      if (typeof action === 'object') {
            return actionQueue.find(queued => isEqual(queued, action));
      }
      if (typeo
JustFly1984
JustFly1984 commented Jan 14, 2018

The issue I'm experiencing is pretty annoying.
I'm trying to optimize my first byte, by turning off compression, and gziping everything by webpack with CompressionPlugin. The issue is that it doesn't compress service-worker.js produced by sw-precache-webpack-plugin.

I understand the reason why: service-worker.js should cache all chunks produced by webpack after CompressionPlugin compress

calibr
calibr commented Jun 27, 2019

I see that new yjs is coming with Snapshots, will they be able to restore the whole document to a specific state based on StateSet and DeleteSet ?

What I did in the earlier version was essentialy packing the document into a syncStep2 message to specific state and then feeding this message to a new document.

function backDocToState(doc, state) {
  const { ss, ds } = state
  const needS
Zverik
Zverik commented Feb 17, 2020

Description

Since the idea of Zettelkasten is to have a wiki-like structure, where knowledge is linked together in a network, "detached" notes are incorrect: they should be mentioned in other notes, e.g. in an outline. I'd like to have a simple way to find all detached notes for processing.

Example Workflow

  1. Quickly create multiple notes e.g. when reading a book.
  2. Press a butto
adrienharnay
adrienharnay commented Aug 6, 2018

Hey,

It is not clear in the documentation that persistCache is async and should be awaited.

await persistCache({
  storage: window.localStorage,
  cache,
});

Removing await breaks persistence, because the first queries will resolve before the cache is persisted, and won't resolve again when it is.

Could you please confirm that this is by design (or maybe something el

Improve this page

Add a description, image, and links to the offline topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the offline topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.