Code Monkey home page Code Monkey logo

hackbar's Introduction

stats

hackbar's People

Contributors

jacoblincool avatar powentan avatar uier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

powentan

hackbar's Issues

Users can use hackbar with HackMD API

Since HackMD released its beta API several months ago, maybe we can provide an optional field for token, and using HackMD API if the token is given.

If the token is not given, use the original way to fetch.

Can't open collaboration note

As mentioned in #10, currently the way hackbar opens the note with book mode in personal space is userpath + shortId.

However, it fails when I opened a note whose owner is not me.

Retry when fetch failed

Fail to fetch can happen, I met once during development (503), which will make the kbar inoperable.

Expected to do retry after the request failed.

Add Firefox add-on

Current code is built for chrome extension and only published to chrome web store.

For example, the manifest_version is 3, which is only supported by chrome.

Expected the extension can be used in Firefox.

Stop fetching if the user hasn't logged in

The script loads and runs on entering hackmd.io website.

Currently, no matter the user is logged in or not, the fetches run and try to get users' notes data, which needs authentication, to provide the service.
And if the user has NOT logged in, the fetches fail and 3 retries begin, and of course the retries will all fail.

Would be great if we stop at the first fetch call when we recognize that the user has not logged in.

Add GitHub Actions to build extension as Assets when Release

Refer to the Installation section in REAME.md

- Manually download and locally load to your browser (WIP)

Expected to add GitHub Actions to run yarn build and pack the /build into hackbar_<version>.zip that attached to Release Assets.

So that users can directly download and use it in their browser without clone and build by themselves.

It's also convenient to publish extension (e.g. chrome web store) with the auto build.

Default actions didn't work when kbar is opened in note with book mode

In note with book mode, execute Home page, New note, Switch team will navigate only in the book.

更新:若目前的 focus 是在左側側邊欄,則會正常。若 focus 在右邊內容的 iframe 內,才會發生此事件。
由於目前不曉得修改掉 iframe 內的 kbar 行為是否會影響到使用者,在沒有其他人回報前暫不修改

image

Firefox shortcut conflict

Because Ctrl / Cmd + K is a default shortcut for firefox.
Users might not open hackbar use this shortcut. Add a method to customize shortcut might be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.