Skip to content

Commit

Permalink
feat: initial application layout (#114)
Browse files Browse the repository at this point in the history
* Added titlebar, sidebar, convert button, and visualization containers.
* fixes: removed unneeded eslint disables
added some missing typescript definitions
various other fixes

* fixed in compiling config and icon that was missing. Also changed  the sizing of icon in app.
  • Loading branch information
NektariosFifes committed Apr 28, 2022
1 parent f5293c1 commit 552890c
Show file tree
Hide file tree
Showing 38 changed files with 1,879 additions and 27,961 deletions.
7 changes: 3 additions & 4 deletions Desktop/.erb/configs/webpack.config.renderer.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,20 @@ const configuration: webpack.Configuration = {

mode: 'development',

target: ['web', 'electron-renderer'],
target: 'electron-renderer',

entry: [
`webpack-dev-server/client?http://localhost:${port}/dist`,
'webpack/hot/only-dev-server',
'core-js',
'regenerator-runtime/runtime',
path.join(webpackPaths.srcRendererPath, 'index.tsx'),
],

output: {
path: webpackPaths.distRendererPath,
publicPath: '/',
filename: 'renderer.dev.js',
library: {
type: 'umd',
},
},

module: {
Expand Down
5 changes: 1 addition & 4 deletions Desktop/.erb/configs/webpack.config.renderer.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,14 @@ const configuration: webpack.Configuration = {

mode: 'production',

target: ['web', 'electron-renderer'],
target: 'electron-renderer',

entry: [path.join(webpackPaths.srcRendererPath, 'index.tsx')],

output: {
path: webpackPaths.distRendererPath,
publicPath: './',
filename: 'renderer.js',
library: {
type: 'umd',
},
},

module: {
Expand Down
4 changes: 0 additions & 4 deletions Desktop/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,3 @@ npm-debug.log.*
*.css.d.ts
*.sass.d.ts
*.scss.d.ts

# eslint ignores hidden directories by default:
# https://github.com/eslint/eslint/issues/8429
!.erb
5 changes: 1 addition & 4 deletions Desktop/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ module.exports = {
rules: {
// A temporary hack related to IDE not resolving correct package.json
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'error',
// Since React 17 and typescript 4.1 you can safely disable the rule
'react/react-in-jsx-scope': 'off',
'import/no-cycle': 'off',
},
parserOptions: {
ecmaVersion: 2020,
Expand All @@ -21,7 +19,6 @@ module.exports = {
webpack: {
config: require.resolve('./.erb/configs/webpack.config.eslint.ts'),
},
typescript: {},
},
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
Expand Down
4 changes: 0 additions & 4 deletions Desktop/.husky/pre-commit

This file was deleted.

43 changes: 22 additions & 21 deletions Desktop/assets/icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 552890c

Please sign in to comment.