Giter Club home page Giter Club logo

chrome-dev-newtab's Introduction

chrome-dev-newtab's People

Contributors

amreshsinha avatar croustys avatar d4rkener avatar dolamanee6122 avatar girish-bharadwaj avatar lucasgmelo avatar nicosh avatar semantic-release-bot avatar xfra96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chrome-dev-newtab's Issues

Fix dark theme

At the moment dark theme needs some tweaks :

  1. Performance chart labels are not changing color
  2. Tabs labels are not changing color
  3. Reddit title section is not changing color

Improve dark theme

Body background in dark mode should be #121212
Cards background should be #272727
Searchbar text should be #fff

Any other suggestion / improvement is welcome (ex. change link colors)

use chrome.storage instead that localStorage

Use chrome apis chrome.storage for storage purposes instead that localStorage everywhere is needed.

Ex :

let savedBoard = localStorage.getItem("board") ? localStorage.getItem("board") : defaultBoard;

const currentTheme = localStorage.getItem("theme") || "light";

localStorage.setItem('theme', newTheme);

localStorage.setItem('board', newBoard);

const gitUser = localStorage.getItem("git_username");
const gitToken = localStorage.getItem("git_token");

if (response.status != 200) {
localStorage.removeItem("git_username");
localStorage.removeItem("git_token");
setError(true)
setErrorMessage("Error")
setData(false)
} else {
let data = await response.json()
if (reposListType === 1) {
data = data.data.user.repositories.nodes
}
if (n) {
localStorage.setItem('git_username', n)
} else {
localStorage.removeItem("git_username");
}
if (t) {
localStorage.setItem('git_token', t)
} else {
localStorage.removeItem("git_token");
}

useEffect(()=>{
let text = localStorage.getItem("notestext") || "Write something...";
setNotes(text)
},[])
const onChange = (value) => {
localStorage.setItem('notestext', value);
setNotes(value);
};
return <SimpleMDE value={notes} onChange={onChange} />
}

Problem when opening Todo Tab

When clicking on todo open blank page.

This is the report from devtools

SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at main.c7b55b5f.chunk.js:1 at Ic (2.f518325e.chunk.js:2) at t.unstable_runWithPriority (2.f518325e.chunk.js:2) at Uo (2.f518325e.chunk.js:2) at Pc (2.f518325e.chunk.js:2) at 2.f518325e.chunk.js:2 at R (2.f518325e.chunk.js:2) at MessagePort.w.port1.onmessage (2.f518325e.chunk.js:2)

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.