Giter VIP home page Giter VIP logo

aesir's Issues

Search tab accessing undefined properties for some conditions

When the user adds some rules(Rule name to filter) while searching like below;
image
It gets an error like the one below.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
    at selectize.js:318:65
    at Array.forEach (<anonymous>)
    at selectize.js:301:22
let eventCallTrace = item.event.eventdata.CallTrace.split("|").map(trace => `<code>${trace}</code>`).join("<br>");

Some events may not have item.event.eventdata.CallTrace property. Use ternary methods or do something.

Use GitHub Action for CI/CD

After accomplishing many goals(If necessary implementations are finished), let's apply GitHub Action for CI/CD. Because this project aims for a fast dockerized Go application, such strategies will accelerate and simplify the deployment procedure.

Search feature improvement to-dos

Currently, the search tab doesn't provide any kind of pagination. If users search for some conditions in a large-size EVTX dataset collection, the current code will just return lots of rows at once like the picture below. Also, the current status performs sorting via _id property after receiving all data from MongoDB, so it might be bad practice in case of large data handling
image

Improvement suggestions

  • Pagination (e.g. Showing 30 results at once. Use MongoDB's aggregation to limit the number of results)Using infinite scroll? ▶ abolished
  • Showing pagination bar (use Bootstrap components) both on and below the table.
  • Sorting the result on the MongoDB side, not the client side may reduce the speed
  • Printing how many rows are searched (e.g. 1,920 results) on the table
  • Forcibly fix the table width (design)
  • Possible improvements in Go backend related to search features /webRequestHandler/api.go

Adopting pagination may require additional calculations for querying a specific range of data from MongoDB.

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.