GithubHelp home page GithubHelp logo

blagoj5 / tab-master Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 2.24 MB

Chrome extension for navigating trough tabs like a PRO

Home Page: tab-master.vercel.app

License: MIT License

JavaScript 9.49% TypeScript 88.83% HTML 0.61% CSS 1.08%

tab-master's Introduction

TAB MASTER

Demo video

Demo Vide

Architecture

  • Background script/worker

    • Used for listening to initial command for opening and staring the modal
    • Used for sending tabs, history and bookmarks to the content/react script
  • Content script (modal)

    • Statically injected (all time available), and not programmatically
    • Used for creating the dialog with specific id that react script will use
    • Used for creating and injecting the react script to the previously created dialog with a specific ID

Chrome

How to build and test locally

  • yarn build
  • Go to chrome://extensions
  • Enable dev switch
  • Load unpacked
  • Go to any page and press ctrl/cmd + key

How to use it for dev

  • yarn build:watch
  • Go to chrome://extensions
  • Enable dev switch
  • Load unpacked
  • Go to any page and press ctrl/cmd + key
  • If you do any changes it will automatically build the extension with all the changes, you only have to press on the refresh icon of the extension

How to use it for dev, individually each package

  • Go to the package you want to run and do yarn, followed by yarn dev
  • yarn build used from inside the package, it will only build that package in the current folder

Firefox

How to build and test locally

  • yarn build
  • Go to about://debugging -> This Firefox
  • Load Temporary Add-on -> Select build-firefox/manifest.json
  • Go to any page and press ctrl/cmd + key

How to use it for dev

  • yarn build:watch
  • Go to about://debugging -> This Firefox
  • Load Temporary Add-on -> Select build-firefox/manifest.json
  • Go to any page and press ctrl/cmd + key
  • If you do any changes it will automatically build the extension with all the changes, you only have to press on the refresh icon of the extension

Project Structure

MONOREPO, using yarn workspaces:

  • packages
    • modal
    • common (used for types and utilities that are shared between background script and content script/s)
    • popup (currently being build, will be the actual config page)
    • config (the actual config page, full screen version of popup)
  • scripts
    • setup.js - used for copying all the needed files (manifest.json, etc..)
    • build.js - used for building the extension itself

tab-master's People

Contributors

blagoj5 avatar nikolovlazar avatar dependabot[bot] avatar

Stargazers

kon  avatar eg avatar Krishna Bajpai avatar Oskar Pietrucha avatar teamNOOB avatar Uwais Patel avatar  avatar Chaz avatar 你好世界 avatar  avatar Matt Shaffer avatar Aleksandar Ivanovski avatar Dushko Klincharov avatar  avatar Andrej avatar

Watchers

Ilija Boshkov avatar  avatar

Forkers

uwaisdev

tab-master's Issues

Prototype

Screen.Recording.2021-11-21.at.23.03.01.mov

Please add option to change ctrl + k keybind

Not working on edge, because edge's ctrl + k shortcut for focusing on search bar
Please add option to change this keybind.

P.S. - also not working on github.com, because it opens command palete.

Open the modal even if the current page is a new tab page

When I am on the new tab page with no other tabs / url open, I would like to open the modal and navigate to an item in the history.

Expected: Modal should open on the new tab page.

Actual: Modal doesn't open on the new tab page

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.