Skip to content

Conversation

@aturingmachine
Copy link
Owner

@aturingmachine aturingmachine commented Jun 24, 2021

Updates

Features

  • Adds client directory
    • Vue2 - Class Based Components w/ Typescript
  • Express API for interacting with the service
  • Websockets wrappers/clients
  • Adds flag to spin up client

DevEx

  • Fix some eslint issues between the service and client
    • pretty messy, probably can be done cleaner
  • Add dev start scrip to initiate the entire stack in one terminal
  • Adds ids to logs
    • its a not ideal id gen but i needed a quick fix for the client work

TODO

- adds server and client dirs
- adds simple express app
- adds option to mount client/express app
- adds build script since we need to move some files to the dist dir
  after compilation
  - this will probs be expanded later to include the needed webpack stuff?
- updates opts and helps messages to include new client option
- combined logs are now streaming over the logs web socket
- adds ws tester from websocket.org as client and modifies to work
  with our ws
- updates client script to make my life easier while testing
  - these need to be cleaned at some point lol
- adds LogWebSocket class to handle streaming of logs to the websocket
- removes now bad import
- adds new vue cli project as client root
- updates build scripts to build vue project and push into dist
- updates server to return vue project
  - also adds in a hack to get resources for the vue app, there has to be a
    a safer way but I just needed to check that the scripts and config was
    working as expected
- rewrites client in Vue2 so we can use vuex class because I guess
  there is no support? I dont really remember it was late
- adds websocket support to the server to stream logs out
- adds simple log streaming to the web client, it is nothing special
- adds dev script for running the entire stack in a single command
  - it _might_ be leaking processes but who could really know ya know?
@aturingmachine aturingmachine added blocked Cannot be worked on/merged/released etc. feature Feature requests/tracking labels Jun 24, 2021
@aturingmachine aturingmachine linked an issue Jun 25, 2021 that may be closed by this pull request
- gets client working
  - fetching config
  - streaming logs
- pulls server into its own dir outside of lib
- restructures project to have core and client dirs for better
  organization
@aturingmachine
Copy link
Owner Author

Punting #3, #4 since this has been open for too long.

- adds simple init script to install deps and move configs
- adds uuid library to handling log id generation
@aturingmachine aturingmachine marked this pull request as ready for review June 26, 2021 20:14
@aturingmachine aturingmachine removed the blocked Cannot be worked on/merged/released etc. label Jun 26, 2021
@aturingmachine
Copy link
Owner Author

Merging to clear the line since this is kind of blocking

@aturingmachine aturingmachine merged commit 720eb4d into main Jun 26, 2021
@aturingmachine aturingmachine deleted the 0.0.2-client branch June 26, 2021 20:21
@aturingmachine aturingmachine linked an issue Jun 26, 2021 that may be closed by this pull request
@aturingmachine aturingmachine linked an issue Jul 3, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Feature requests/tracking

Projects

None yet

2 participants