upnotes-io / react-todo Goto Github PK
View Code? Open in Web Editor NEWA generic todo list componet for react. This is being used in an electron based app: https://upnotes.io
A generic todo list componet for react. This is being used in an electron based app: https://upnotes.io
I have setup the following instruction but I got some errors like this
warning package.json: "dependencies" has dependency "husky" with range "^8.0.3" that collides with a dependency in "devDependencies" of the same name with version "^8.0.0"
warning [email protected]: "dependencies" has dependency "husky" with range "^8.0.3" that collides with a dependency in "devDependencies" of the same name with version "^8.0.0"
..
I don't know how to solve it.
Ctr/cmd + z and ctr/cmd + y should work accross multiple items while undo and redo. Please refer to google keep behavier of undo and redo for checkboxes.
Pressing enter for creating new row works for the first item but it does not work for rest of the rows.
https://upnotes-io.github.io/react-todo/
Basically 2ed and 3ed points are special conditions to the first point so if first usecase is implemented correctally the 2ed and 3ed should automatically work.
Hey @kamalkishor1991
I would like to work on this issue.
Can you please assign this issue to me
Right now nothing happens if you press back in the beginning of the todo item.
The project run perfectly fine on node:16 version. So we can do either of two:
package.json
file: "engines": {
"node": "^16.20",
"yarn": "^1.22"
},
"engineStrict": true
v16
to the v22
version of nodejs.When entered text the text is going into another input in list for typing , which I think is little bit frustrating, A button on side of input field would be better for adding items
Error on yarn run storybook
System Environment
Description
Can not run on a terminal or Zsh
Steps to Reproduce
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
warning " > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning " > @mui/[email protected]" has incorrect peer dependency "react-dom@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/[email protected]" has incorrect peer dependency "react-dom@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/system > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning "@mui/material > @mui/system > @mui/[email protected]" has incorrect peer dependency "react@^17.0.0 || ^18.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@>=2".
warning " > @storybook/[email protected]" has unmet peer dependency "require-from-string@^2.0.2".
warning " > [email protected]" has incorrect peer dependency "react@^18.0.0".
warning " > [email protected]" has incorrect peer dependency "react-dom@^18.0.0".
[4/4] ๐จ Building fresh packages...
$ husky install
husky - Git hooks installed
โจ Done in 12.10s.```
yarn run v1.22.19
$ start-storybook -p 6006
info @storybook/react v6.5.13
info
info => Loading presets
attention => Storybook now collects completely anonymous telemetry regarding usage.
This information is used to shape Storybook's roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://storybook.js.org/telemetry
info Addon-docs: using MDX1
info => Using implicit CSS loaders
(node:21123) DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss',
you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details.
(Use `node --trace-deprecation ...` to show where the warning was created)
info => Using default Webpack4 setup
10% building 1/1 modules 0 active
info => Ignoring cached manager due to change in manager config
10% building 1/7 modules 6 active /Users/nyanlin/github/react-todo/node_modules/@storybook/addon-backgrounds/preview.js-generated-config-entry.jsnode:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/Users/nyanlin/github/react-todo/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/Users/nyanlin/github/react-todo/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/Users/nyanlin/github/react-todo/node_modules/webpack/lib/NormalModule.js:471:10)
at /Users/nyanlin/github/react-todo/node_modules/webpack/lib/NormalModule.js:503:5
at /Users/nyanlin/github/react-todo/node_modules/webpack/lib/NormalModule.js:358:12
at /Users/nyanlin/github/react-todo/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/Users/nyanlin/github/react-todo/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at /Users/nyanlin/github/react-todo/node_modules/loader-runner/lib/LoaderRunner.js:205:4 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.6.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Right now the text does not wrap.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.