Code Monkey home page Code Monkey logo

agora's People

Contributors

hp4k1h5 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

agora's Issues

When adding pollMs agora throws an error.

Describe the bug

Whenever I add PollMs it throws this error:

TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at shapeQuote (file:///home/archbtw/agora/src/shape/shapeIex.js:71:17)
    at Object.buildQuoteList [as uiFn] (file:///home/archbtw/agora/src/ui/iex/quote.js:32:10)
    at up (file:///home/archbtw/agora/src/ui/update.js:96:29)
    at update (file:///home/archbtw/agora/src/ui/update.js:70:11)
    at file:///home/archbtw/agora/src/index.js:46:17
    at Array.map (<anonymous>)
    at Array.<anonymous> (file:///home/archbtw/agora/src/index.js:43:31)
    at Carousel.move (/home/archbtw/agora/node_modules/@hp4k1h5/blessed-contrib/lib/layout/carousel.js:16:28)
    at Carousel.start (/home/archbtw/agora/node_modules/@hp4k1h5/blessed-contrib/lib/layout/carousel.js:59:8)

To Reproduce
Steps to reproduce the behavior:

Run agora with this config, but with and without pollMs

{
  "IEX_PUB_KEY": "",
  "APCA_API_KEY_ID": "",
  "APCA_API_SECRET_KEY": "",
  "alpacaAccountType": "paper",
  
    "workspaces": [
    {
      "name": "home",
      "watchlist": ["gme"],
      "components": [
        {
          "type": "quote",
          "yxhw": [0, 0, 8, 3],
          "symbol": "gme",
          "pollMs": 1500

        },
                {
          "type": "list",
          "chartType": "line",
          "yxhw": [8, 0, 4, 3],
          "color": [230, 100, 200],
          "listTypes": [
            "mostactive",
            "gainers"]
        },
        {
          "type": "chart",
          "chartType": "line",
          "yxhw": [0, 3, 12, 9],
          "symbol": "gme",
          "time": "60min",
          "vol": true,
          "color": "green"
                  }
      ]
    },
    {
      "name": "home2",
      "watchlist": ["gsat"],
      "components": [
        {
          "type": "quote",
          "yxhw": [0, 0, 12, 3],
          "symbol": "gsat"
          
        },
                {
          "type": "list",
          "chartType": "line",
          "yxhw": [8, 0, 4, 3],
          "color": [230, 100, 200],
          "listTypes": [
            "mostactive",
            "gainers"
            ]
         
        },
        {
          "type": "chart",
          "chartType": "line",
          "yxhw": [0, 3, 12, 9],
          "symbol": "gsat",
          "time": "60min",
          "vol": true,
          "color": "green"
    
        }
      ]
    },
    
    {
      "name": "home3",
      "watchlist": ["clne"],
      "components": [
        {
          "type": "quote",
          "yxhw": [0, 0, 12, 3],
          "symbol": "clne"
    
        },
                {
          "type": "list",
          "chartType": "line",
          "yxhw": [8, 0, 4, 3],
          "color": [230, 100, 200],
          "listTypes": [
            "mostactive",
            "gainers"
            ]
    
        },
        {
          "type": "chart",
          "chartType": "line",
          "yxhw": [0, 3, 12, 9],
          "symbol": "clne",
          "time": "60min",
          "vol": true,
          "color": "green"
}
      ]
    }
  ]
  
}

Expected behavior

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Terminal: Konsole
  • Shell: fish

Additional context

Thank you so much for this project.

A link in the tutorial is broken.

Hi :-)

Describe the bug

It's not really a bug but I just wanted to report that a certain link in the tutorial isn't working :-)

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/HP4k1h5/agora/blob/main/docs/TUTORIAL.md#getting-started
  2. Scroll all the way down to "configuring workspaces"
  3. Click on "See example configurations"
  4. The link goes to https://github.com/HP4k1h5/agora/blob/main/docs/docs/example-configs
  5. This link does not work.

Expected behavior

Instead of https://github.com/HP4k1h5/agora/blob/main/docs/docs/example-configs
I think it should be https://github.com/HP4k1h5/agora/blob/main/docs/example-configs

With one "/docs/" in the URL instead of 2 "/docs/".

Additional context

Thank you for your hard work!

list of known bad behaviors and bugs

if you are experiencing similar issues please create a comment below or start a new issue. thank you for your patience.

  • BUG typing bots for a bots component will trigger a bots command, might need to rename the bots command just bot, but this is not ideal as i would like to support both for bot commands, so the bots component command might need to check for a window command. 3b05e31

  • BEHAVIOR BUG polling windows reset scroll. given that the content changes on each poll it might not be possible to accurately reset scroll height but it should try. closed by 1535c62

  • BEHAVIOR BUG polling window is added to focus rotation. this probably won't affect the above, but it is still a terrible behavior. it can be mitigated by targeting a non polling window, since the polling window won't steal back focus, but this should not be a thing the user has to do. closed by 3b05e31

  • BEHAVIOR BUG x on a window means you cant reuse that space. x should replace the window with a blank of the same number. closed by cf852a7

  • BEHAVIOR BUG allow users to reset all previously active polls when returning to a carousel automatically

  • BEHAVIOR BUG graphs disappear on account component when scrolling other components

  • this is happening because graphs in blessed contrib need to be fixed to allow non-grid parentality they dont' accept "parent" option. for now using box.append() for same effect.

  • should also amend graphs to turn off borders and make more use of allowed vertical space. i believe there is an off-by somewhere that can be demonstrated by adding more than two graphs stacked vertically to a workspace.
    closed by 0691d3b

  • BUG add orders, positions components to [all list closed by efd1fb7

  • BUG < > with no limit does not default to limit order closed by 08f085a


All of the above bugs and behaviors were found on the following system/terminal configurations. If your setup is different but you are experiencing similar issues please respond below or file a new issue. thank you for your patience as a lot of these are corrected.

Desktop (please complete the following information):

  • OS: macOS
  • Terminal : iTerm2
  • Version 3.3.11
  • Shell zsh 5.7.1

log.txt

Describe the bug
left a log statement

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.