Giter VIP home page Giter VIP logo

allen505 / save-for-later Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 11.0 698 KB

A web extension for Chrome/Firefox which saves the tabs in current window for later use.

Home Page: https://allen505.github.io/save-for-later/contribute

License: GNU General Public License v3.0

CSS 13.01% HTML 5.11% JavaScript 81.87%
chrome-extension firefox chrome chromium webextension firefox-addon firefox-webextension firefox-extension

save-for-later's People

Contributors

allen505 avatar emecas 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

Watchers

 avatar  avatar

save-for-later's Issues

Better Documentation

The Codebase needs to be documented better, including but not limited to:

  • More readable, and better looking README.md
  • Documentation of code for the core functions

Open all tabs in a private window

It seems there's no way to open all the saved tabs at once (the whole session) in a private window. Even if you're already in a private window, they open in a regular window.

You can only open them individually, if you're already in a private window, by L-clicking (middle click doesn't work).
That's better than nothing, but I wish you could open them all at once.

Redesign for 2.0

  • Adding a settings button
  • Adding a settings page
  • (optional) Add Delete All to settings page
  • Unify theme for all icons
  • Change color of delete icon to red and add Left Margin
  • Adjust horizontal alignment for icons in Accordion
  • Remove Delete All from popup UI
  • Change the Donate button from GIF to actual button

notify color

show the notification color in blue and not in red bcoz red means something error has happened

Smart Open

When opening a new Save if the only tab open is a new tab, then the tabs should be open in the same window. Also remove the existing new Tab

Add Settings page

Add a new settings page with the following features:

  • #10 Toggle for: Open the saved tabs in current window or new window
  • Toggle for: Auto delete Save on opening the Save
  • Add a tab: What's new in this release page (with contributors who worked for this release)
  • Add a tab: For Donation/Contributions
  • #7 Add a tab: To create new or manage existing labels which can be added to each Save
  • #3 Toggle for: Local Storage or Sync Storage

✨Feature request: Save&&close

The specific functions are shown in →_→ img:
But the way to achieve it is up to you, for example:

 
 

  • or not add a button, but the following way will be better 👇!

212_21080406

advices

1.Think completely and work and that thinking should be done at once,do like this when writing also ,as little thinking causes mistakes.

2.think of each bit of how it can be improved

3.Increase patience

4.do important work first

5.If u can't reproduce a bug normally then test thoroughly and try to repro for 2,3 times.

6.As far as possible try to reproduce bugs in win10 64b as most of the users in the world use win10

Support shortcutkeys to save !

`chrome://extensions/shortcuts#:~:text=Save%20for%20later`

↑ Copy the above URL and open it will arrive directly.
this hotkey is Popup, not a specific function , so must add ⌨hotkey for 👉


 
 
With the 🔔, users can rest assured when saving with ⌨hotkey!

bell212_19064108bell

  •     ? tabs be saved ꘌ see at here👉 #13


⚠ Of course, this hotkey operating must also support Save selected tabs !
In fact, a hotkey will be enough, because you holding the Shift on the tab-bar and click 2 times from the beginning to the end, it is equivalent to selecting all the tabs under the window.

  • see here 👉 #13

Manifest v3

We need to update the manifest.json file to v3 version. Currently it is using v2 version. Listing down the blockers for this effort:

  • Updating all WebExtension APIs used to chrome APIs
  • v3 support in Firefox
  • Support for Chrome APIs in Firefox browser
  • Thorough testing

Change storage from local to sync

Change the default storage location from local to sync.
Some key points to consider:

  • Setting up IDs for in browser_specific_settings, especially for Chrome and other Chromium based browsers
  • Sync size(100KB) is lesser that local(5MB). Exception handler for out of storage must be in place, warning the user. A fallback to local should be done.
  • Research needs to be done to see how many tabs need to be saved before the storage fails, and if it is feasible.
  • If the browser is not signed in or user wishes to opt out of sync, it should fall back to local
  • Syncing when there is no connection
  • Duplication of saves on local storage and sync storage must be avoided

Helpful links:
storage.local
storage.sync

Adding labels to the saved sessions

This is how it looks right now:

Capture20200915-A

I am wondering how easy would be to add a label for each saved session, that helps for a better identification what is the session about, something like this:

Capture20200915-B

Thanks

Add to save the highlighted/selected multiple tabs !

Save for later referred to as SFL.

Feature request: SFL can support to selected/highlighted multiple tabs with holding Ctrl/Shift !

I don't know if you know this browser basic feature ?

Click to view: What is the selected/highlighted multiple tabs ❓

multi-selected-tabs

  1. You can try to holdding Ctrl/Shift/Ctrl+Shift on the tab-bar and click the non-current tab.
  2. At this point, you have selected multiple tabs at the same time.
  3. Finally, you can perform batch operations on these selected tabs. e.g. Ctrl+W to batch closes them, F5 to batch reload them ... can also drag them in batches. etc...

Example extension : (In fact, many extensions support this feature)

  • So can you support for this browser kernel/API function (the 🔌 highlighted API can be used directly)

I don't know if it is this API-Doc :
https://developer.chrome.com/docs/extensions/reference/tabs/#event-onHighlighted


  • Current behavior:

  SFL can only save all tabs in the window , which is very limited!
  More often, users only want to save the selected/highlighted tabs with holding Ctrl/Shift (⚠In fact, the current tab is also selected/highlighted , it's just 1)

  • Expected behavior:

  When the multiple tabs be selected/highlighted with holding Ctrl/Shift/Ctrl+Shift,
At this time, it becomes an operation for the selected multiple tabs,
that is, at this time, it cannot remain as an operation for the current tab/page.

  • To sum up a sentence:
    SFL it can support for selected/highlighted multiple tabs with holding Ctrl/Shift/Ctrl+Shift.

💡 Implementation plan : see 👇

212_18150240


Whatever, must support this very smart/convenient/perfect feature, as for the UI/GUI is up to you ... ^_^


  • ⚠ Of course, this function 👇 must also support the hotkey operating!

#12


💪👍 If can be achieved, will be perfect + very smart!

Export/Import Saves

An option to export or import tabs/saves from a file. Apart from the ability to back-up settings when we switch machines, it would also let you share your saves with people.

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.