Peek History

Frontend Challenge: history tracker

The CEDE Engineering Team appreciates your interest. The tasks from this repository are used for all levels of frontend engineering roles.

๐Ÿ—๏ธ To do:

  • complete the coding tasks
  • upload the code to your personal github repo
  • share the link to your repo

โœจ Features

  • Quickly access you history in popup without going away from your working tab.
  • Delete specific or all history
  • Reopen closed tabs (Full sessions)
  • Restore sessions from other devices
  • Infinite scrolling

โŒจ Keyboard Shortcuts

  • ๐Ÿ”ต Toggle history tracker (Open/Close extension popup) - Ctrl + Shift + H

In the Popup

  • โš™๏ธ Open extension options/settings - Alt + O
  • ๐Ÿ“‘ See recently closed tabs/other tabs - Alt + T
  • ๐Ÿ”™ Switch back to view history from recently closed/other tabs - Alt + H
  • ๐Ÿ”ข After opening the popup you can use number keys Alt + (1 - 9) to open the nth number of history link or recently closed tab.

๐Ÿ’ก Tip: Replace Alt key with Option on Mac.


Getting Started

This repository contains a Chrome extension build with React, Redux & MUI.

You can follow the instruction below to launch the extension.

  1. Install dependencies using and build the extension yarn && yarn start
  2. Type in the address bar chrome://extensions
  3. Toggle developer mode on the top right
  4. Click on Load unpacked button and choose your freshly built dist/ folder

Exercise 1: Add instant search capabilities

๐Ÿ”Ž As a user, I want to quickly search in history - Alt + S

Exercise 2: Delete my history

As user, I want to delete my history as follows on the screen. You can use dispatch actions deleteAll and deleteRange functions from thunks.ts.

Exercise 3: Unit tests & documentation

๐Ÿงช Write unit tests for your code.

๐ŸŽจ Setup storybook and add some relevant components


๐Ÿ”ฅ Good luck!