GithubHelp home page GithubHelp logo

walktalkchalk / tabstache Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 10.0 101 KB

A chrome extension for saving and recalling tabs in a stash

License: GNU General Public License v2.0

HTML 7.46% JavaScript 70.02% CSS 22.52%

tabstache's People

Contributors

andarilhoz avatar collnwalkr avatar dngrhm avatar godric3 avatar jamesmacfie avatar kayvanmazaheri avatar vasulenko avatar xadahiya avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tabstache's Issues

Refactor for testability

I'd love a PR to refactor the code a bit to make the code more readable and testable. Moving chrome extension functionality out of the event handler and calling those functions might be a good place to start.

Tabs don't all get saved to stash

In situations with several tabs (15-20) not all tabs are closed and saved to the stash. I think this might be a threading issue between the bookmarking and the closing.

TabStache don't create TabStache_base folder

I wanted to check if I can help with issue #4 (yes, Hacktoberfest :) ).
So, first I wanted to check how it works, but when I tried to create new stache, it didn't worked(only created new tab).
Quick check at console shows that at start it throw error:

Error in response to bookmarks.getTree: ReferenceError: otherBookmarksID is not defined
    at chrome.bookmarks.getTree [as callback] (chrome-extension://cbpangmphioghangmilmccnjcgahlcdc/popup.js:13:28)
    at chrome.bookmarks.search [as callback] (chrome-extension://cbpangmphioghangmilmccnjcgahlcdc/popup.js:12:24)

It looks like it won't work if there is no TabStache_base folder in bookmarks. I will make PR with quick fix.

Option to configure ignored tabs

Currently some of tabs are ignored, but it's hardcoded.
I thinks it will be good to allow to configure list of ignored addresses (option page probably needed).
Also option to choose if ignored tabs should be closed or not.

Share a stache

ability to somehow share a stache with someone else who has tabStache

Append tabs to stash

Add a + button to the tabs list that will allow the user to add the currently open tabs to the associated tab list. This should function similarly to the new stash functionality (ignored tabs, close stashed tabs).

Concerns:
It might be easy for a user to open a stash instead for appending. A little dead (non-clickable) space between the + and name would be appropriate.

Import/Export to file

Add the ability to import/export a stash from/to a text file. This would allow you to build a stash and archive all the links in the stash. This could be useful for easily storing and accessing the domain knowledge required to make a change or document the reasoning for a design decision.

Ignore New Tab

When storing a stache, ignore common tabs that would likely be duplicates (about:blank, extensions, apps, ...)

AUT Testing

Add a couple Automated User Tests to verify functionality. Can chrome be fired up with an unpacked extension installed? Open a few tabs, Stash them, verify the bookmarks and the tabs went away, unstash the tabs, verify the tabs have been restored.

Empty stache

Currently it is possible to create empty stache

Design Updates

Looking for some updates on improving the face of the extension before releasing to as an "official" extension.

JS cleanup

This was first written when I was still new at JS. The code could use some cleanup. (for loops?). Please submit PRs in smaller chunks.

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.