Git Product home page Git Product logo

edex-ui's People

Contributors

animus-surge avatar arthurgeron avatar bsodmike avatar crypnull avatar d4rkia avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar gitsquared avatar greenkeeper[bot] avatar greenkeeperio-bot avatar hmikihth avatar icanwalkonwater avatar jabster28 avatar kjartanoli avatar kungger-git avatar mreinhardt avatar n1kn1m avatar n1tr0-5urf3r avatar niklas2810 avatar nottnottloop avatar pixelyion avatar pretagonist avatar pyrocto avatar qsniyg avatar s0 avatar sadata7 avatar snyk-bot avatar wrac4242 avatar xkenmon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edex-ui's Issues

[UI] [Touch] Multitouch doesn't work

It's gonna be tough getting some hardware for testing, but it seems multi-touch actions like using the Shift key on the keyboard does not work.

Perhaps adding a document-wide touch event handler that would activate each element touched could fix the issue. Can the onclick event be triggered by JS? yes

this might help?

P.S: #100 🎉

Check for newer versions at launch

An auto-updater is pointless for a utility software like edex that won't change much after its release and is mostly distributed under a portable format.

That said, i might consider pushing out new stuff like security fixes or more themes and keyboard layouts and modules and stuff, so it might be interesting to perform a quick API request to GitHub at start and pop up a modal if there's something new to download.

Changing themes in a running instance overflows memory over time.

Using the file browser, if you change the theme of eDEX-UI a number of times, it starts to slow down and eventually grinds to a halt with the message [17916:0100/000000.413673:FATAL:memory.cc(22)] Out of memory. size=262144. It appears that when reloading a theme, the previous session is still being saved in memory, or something like that. This takes a number of theme changes to trigger on a machine with 16gb of RAM, though a smaller machine like my 8gb laptop doesn't take many theme changes.

Cannot set Progress Element

I get a bunch of TypeError: Failed to set the 'value' property on 'HTMLProgressElement': The provided double value is non-finite. when running this. The error is in: src/classes/filesystem.class.js 270:38.

I'm running a vanilla ubuntu:bionic docker image.

Performance issues on Windows 10 x64

Hi,

Launching eDEX-UI raise processor usage to 100% after a few seconds.

Spawns a lot of those process

image

Also a lot of thoses in the terminal:

image

Not sur if related, but if the request to ipinfo.now.sh is the issue, can we turn off the request location part?

Android support

Hello! I'd like to know if you plan to support Android; it would be awesome to have this running on tablets and smartphones.

Dependency on ifconfig

Looks like there's an implicit dependency on ifconfig being present. Probably a good idea to have a graceful fallback on that, as in my case it wasn't installed by default, and in some distros (such as Ubuntu), it's being moved away from completely in preference to ip. Perhaps check for both and fail gracefully if neither are found.

[PERFORMANCE] Always high cost on CPU

Thanks for a really cool app! 👍

I opened this on my mac with nothing changed in settings. Then it costs a lot on CPU:

image

  • macOS 10.14.1
  • i7 2.8GHz

Wish for a better performance or maybe some switches to disable some realtime features. :)

AppImage does not run

Getting

module.js:545
    throw err;
    ^
Error: Cannot find module '/run/firejail/appimage/.appimage-6898/resources/electron.asar/browser/init.js'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:473:25)
    at Function.Module.runMain (module.js:683:10)
    at startup (bootstrap_node.js:196:16)
    at bootstrap_node.js:622:3
Parent pid 6898, child pid 6901
Parent is shutting down, bye...

on Ubuntu 14.04.

Reference:
AppImage/appimage.github.io#611

[_boot.js] Find a place for settings.json

Currently, _boot.js is looking for the settings.json file at the directory where the electron app is launched.
This cause errors in compiled versions because the files are packed into an ASAR archive.

A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT, settings.json not found in /home/square/Downloads/edex-ui-0.5.0/resources/app.asar
    at notFoundError (ELECTRON_ASAR.js:115:19)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:183:9)
    at Object.fs.writeFileSync (fs.js:1326:33)
    at Object.<anonymous> (/home/square/Downloads/edex-ui-0.5.0/resources/app.asar/_boot.js:20:8)
    at Object.<anonymous> (/home/square/Downloads/edex-ui-0.5.0/resources/app.asar/_boot.js:89:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

To do:

  • Modify _boot.js to place settings.json in edex dir in a OS-provided directory ("AppData")
  • Spawn the tty with edex's directory as CWD (?)

Run in MacOS Mojave fail.

Version: I try both run from source code and install latest release mac os package.
Here is the log:

⬤  debug     Error: Got 404 (Not Found) response from server
✖  error     InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.: Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
⬤  debug     at file:///Users/anderson/Code/edex-ui/src/classes/terminal.class.js 166:29
●  note      UpdateChecker: Could not fetch latest release from GitHub's API.
⬤  debug     Error: Got 404 (Not Found) response from server
✖  error     [object Event]: Uncaught [object Event]
⬤  debug     at file:///Users/anderson/Code/edex-ui/src/classes/terminal.class.js 111:43

And here is the screenshot, which network traffic offline, file system display nothing, and terminal display nothing and can not type anything:
image

Here is the screenshot when I click enter:
image

[UI] Error handling

Print console errors somewhere in the UI / instead of the boot screen for startup failures

eDEX unfocuses after initializing fullscreen

Hello,

first: Thank you for the amazing work with this! Having so much fun with this project. Everything is running fine, the globe seems to be working too. But once I close the App, I see at least 20 of these messages in the Terminal (I'm working with macOS). It seems like there's an error when the api tries to grab data to parse it to the locationGlobe.. Any idea what could cause this?

Also, something else: When I hit npm start the fullscreen opens for 1 second and then it switches back to my desktop and the terminal window and I have to open the electron app manually. Is this intended?

Thanks again! terminal output is below:

⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined ● note LocationGlobe: Error parsing data from ipinfo.now.sh

Changing directory to c:\ - error

Getting back from edex-ui directory to main directory gives an execution failed
"Cannot access current working directory" even when running as admin
capture

Network widget overlaps with keyboard on 21:9 screens

Hello,
First of all, great job with this awesome project, that is really impressive! I’ve been playing around for about half an hour now, and I really enjoy it, however I immediately noticed something:
On ultra-wide screens (21:9), or at least on mine (2560x1080), there is an overlap of the network widget with the keyboard widget, as you can see on the image below
2018-11-21-143722_2560x1080_scrot

You can also see the Enter key is not correctly drawn on my 21:9 screen. I can confirm however that I do not have these issues on my regular 16:9 (1920x1080) screen.

I don’t think I’ll have time for now to look myself into this issue, however I think I will participate a bit some time soon on the keyboard side of the project.

Keep up with the great work!

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error while updating /src/package-lock.json:
No matching version found for [email protected]

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

[Terminal] Update xterm to v3

  • Figure out what the f#*k happened with attach and fit addons - is the whole addons system gone or what?
  • Make some JS magic to generate the terminal theme from the main color of the active theme (CSS themes are gone in xterm 3.0) (see this gist)
  • Test performance
  • Release the thing

install fails on fresh npm install - win10 x64

c:\lou\edex-ui-master>npm run install-windows

[email protected] preinstall-windows c:\lou\edex-ui-master
npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON "%USERPROFILE%.windows-build-tools\python27\python.exe"

[email protected] postinstall C:\Users\ys4admin\AppData\Roaming\npm\node_modules\windows-build-tools
node ./dist/index.js

Downloading vs_BuildTools.exe
[> ] 0.0% (0 B/s)
Downloaded vs_BuildTools.exe. Saved to C:\Users\ys4admin.windows-build-tools\vs_BuildTools.exe.

Starting installation...
Launched installers, now waiting for them to finish.
This will likely take some time - please be patient!

Status from the installers:
---------- Visual Studio Build Tools ----------
Successfully installed Visual Studio Build Tools.
------------------- Python --------------------
Python 2.7.15 is already installed, not installing again.

Now configuring the Visual Studio Build Tools..

All done!

  • [email protected]
    updated 1 package in 20.734s
    C:\Users\ys4admin\AppData\Roaming\npm\node-gyp -> C:\Users\ys4admin\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js
  • [email protected]
    updated 1 package in 6.067s

SUCCESS: Specified value was saved.

[email protected] install-windows c:\lou\edex-ui-master
npm install && cd src && npm install && ..\node_modules.bin\electron-rebuild -f -w node-pty && cd ..

[email protected] prepare c:\lou\edex-ui-master
npm run snyk-protect

[email protected] snyk-protect c:\lou\edex-ui-master
snyk protect

Snyk couldn't patch the specified vulnerabilities because GNU's patch is not available. Please install 'patch' and try again.
For more information please see our support page: https://support.snyk.io/snyk-cli/snyk-protect-requires-the-patch-binary.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] snyk-protect: snyk protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] snyk-protect script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_590Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: npm run snyk-protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_732Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install-windows: npm install && cd src && npm install && ..\node_modules\.bin\electron-rebuild -f -w node-pty && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install-windows script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_836Z-debug.log

c:\lou\edex-ui-master>

Latest Release (Windows) is Running Terribly

Tried this out today on two win10 machines. Had to force kill the process on both machines after it immediately redlined the CPU at a constant 100% with 60-75% of that being the exe. On one machine it chewed up over 3.8 GB of RAM before I closed it.
WMIC/wmiprvse runs wild.
I haven't dipped into the source to see what's going on, but i'd be surprised if this needed to be so excessive.

PC:
Win10
AMD FX-9590 (4.72 GHz)
32 GB
GTX 970

Tablet:
Win10
Intel Atom Z8700
4 GB

I can only venture a guess...maybe windows defender has the application in a choke hold or something. It seems odd, since I don't see any similar issues being brought up here.

I'd like to help figure this out. Reply with thoughts or suggestions I can try out.
Easy to repeat and provide more details if needed.

Build targets

Before 1.0 final release:

LINUX

  • Add AppImage build target
  • Check if Snap works, perhaps remove it entirely
  • Include the AppImage in AppImageHub

WINDOWS

  • Try to find a solution for FS' CWD tracking on this OS
  • Fail
  • Find a fallback solution
  • Test and debug

MAC OS

  • Get a mac VM
  • Perform a gross evaluation of the codebase to look for os-specific stuff that needs to be modified (notably check systeminformation's compatibility)
  • Add MacOS build targets to the package.json
  • See if it builds in CI
  • Test and debug
  • Update the Wiki

Stops working after a few seconds (Ubuntu 18.10, using AppImage)

Using the latest edex-ui AppImage on Ubuntu 18.10, after a few seconds of using edex-ui, it stops working:

▶  start     Starting eDEX-UI v1.0.0
ℹ  info      With Node 8.9.3 and Electron 2.0.9
ℹ  info      Renderer is Chrome 61.0.3163.100
▶  Startup   Initialized timer...
ℹ  info      Base config dir is /home/logix/.config/eDEX-UI
☐  pending   Loading settings file...
✔  success   Settings loaded!
☐  pending   Creating new terminal process on port 3000
✔  success   Terminal back-end initialized!
ℹ  info      Creating window...
…  watching  Waiting for frontend connection...
✔  success   Connected to frontend!
◼  Startup   Timer run for: 21.73s
ℹ  info      Resized TTY to  089 038
ℹ  info      Resized TTY to  138 036
●  note      UpdateChecker: Could not fetch latest release from GitHub's API.
⬤  debug     Error: Got 404 (Not Found) response from server
✖  error     TypeError: Cannot read property 'length' of undefined: Uncaught TypeError: Cannot read property 'length' of undefined
⬤  debug     at /tmp/.mount_eDEX-U9AlLHJ/resources/app.asar/node_modules/systeminformation/lib/cpu.js 410:12
✖  error     TypeError: Cannot read property 'length' of undefined: Uncaught TypeError: Cannot read property 'length' of undefined
⬤  debug     at /tmp/.mount_eDEX-U9AlLHJ/resources/app.asar/node_modules/systeminformation/lib/cpu.js 850:27
[1076:0100/000000.919009:FATAL:memory.cc(22)] Out of memory. size=524288
✖  error     Lost connection to frontend
…  watching  Waiting for frontend connection...

eEDEX-UI failed to launch

I tried to install all versions @win 7 64 bit ... When I open the application a message shows up:

eEDEX-UI failed to launch
File not found:

There is no key-repeat when using the physical keyboard

When using the 'letter' keys on the physical keyboard, there is no key repeat, as in keeping the key pressed does not repeatedly input that character. This works fine for arrow keys and backspace, also when clicking on the virtual keyboard.

Mac OS HighSierra
MacBook Pro (13-inch, 2017)

Issue with modules

✖ error Error: Cannot find module './node_modules/xterm/lib/addons/attach/attach.js': Uncaught Error: Cannot find module './node_modules/xterm/lib/addons/attach/attach.js'
⬤ debug at module.js 545:5
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined

Originally posted by @hasDarren in #249 (comment)

Tracking Failed, Running detached from tty

Hi,

First off, I'm really enjoyed edex, so thank you!

I'm getting a "Tracking Failed, Running detached from tty" message on the file list next to the keyboard.

Running on Windows 10.
Am I missing a permission or setting?

[Request] Add configuration option for ANSI keyboard layout, alongside ISO

screen shot 2018-11-22 at 9 42 20 am

This is close, but the position of the backslash key is wrong, and there's an extra key that isn't really there, and the alignment of the bottom row with the home row is shifted right by about half a key, it should be moved to the left (in the ANSI layout).

My keyboard looks more like this:
image

(however, I'm on a MacBook and the bottommost row really is FN, CTRL, ALT, CMD, space, CMD, ALT, arrow keys, but that matters less)

`cd` does not respect directories with spaces

When clicking on a directory icon in the file browser, the created cd command does not add backslashes or otherwise escape spaces in directories that have spaces in their names. My guess is this may also extend to directories with other special characters as well.

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.