Skip to content

Commit

Permalink
Issues & PR template, Readme updated #30 (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: aman.kapoor <[email protected]>
  • Loading branch information
amank22 and amankgo authored Jan 13, 2022
1 parent 5689b48 commit 6200e1c
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 2 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE.md/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: 🐞 Bug
about: File a bug/issue
title: '[BUG] <title>'
labels: Bug, Needs Triage
assignees: ''
---

## Expected Behavior

<!--- If you're describing a bug, tell us what should happen -->

## Current Behavior

<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement.md, explain the difference from current behavior -->

## Steps to Reproduce (for bugs)

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->

1.
2.
3.
4.

## Context

<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->

* Version used:
* Operating System and version:
* [ ] Windows
* [ ] Mac OS
* [ ] Linux

[//]: # (## Possible Solution)
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: 🚀 Feature
about: Suggest a new feature
title: '[FEATURE] <title>'
labels: feature
assignees: ''
---

## Detailed Description

<!--- Provide a detailed description of the change or addition you are proposing -->

## Context

<!--- Why is this change important to you? How would you use it? -->
<!--- How can it benefit other users? -->

## Possible Implementation

<!--- Not obligatory, but suggest an idea for implementing addition or change -->

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->

* Version used:
* Operating System and version:
* [ ] Windows
* [ ] Mac OS
* [ ] Linux
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE.md/improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: 🧰 Change / Improvement
about: Suggest improvement in existing feature
title: '[IMPROVEMENT] <title>'
labels: enhancement
assignees: ''
---

## Expected Behavior

<!--- Tell us how it should work -->

## Current Behavior

<!--- Explain the difference from current behavior -->

## Context

<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->

* Version used:
* Operating System and version:
* [ ] Windows
* [ ] Mac OS
* [ ] Linux

[//]: # (## Possible Solution)
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
35 changes: 35 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
91 changes: 89 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,89 @@
# LogVue
Local Analytics. Monitor, analyse local analytics from ADB and use SQL-Like query to filter logs on desktop
<!-- LOGO -->
<br />
<h1>
<p align="center">
<img src="https://raw.githubusercontent.com/amank22/LogVue/readme/logo_land_full.png" alt="Logo">
</p>
</h1>
<p align="center">
Monitor, analyse, export local analytics from Android device and use SQL-Like query to filter logs on desktop!
<br />
</p>
<hr>

<p align="center">
<a href="https://github.com/JetBrains/compose-jb"><img alt="compose" src="https://img.shields.io/badge/Made%20with-Compose--Jb-blueviolet?logo=data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSItMC43MDkgLTExLjU1NSAxNDEuNzMyIDE0MS43MzIiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0MC4zMTQgMzcuNjU0QzE0MC4zMTQgMTYuODU4IDEyMy40MDIgMCAxMDIuNTM3IDBjLTEzLjc0NCAwLTI1Ljc3IDcuMzE3LTMyLjM3OSAxOC4yNTVDNjMuNTQ5IDcuMzE3IDUxLjUyMSAwIDM3Ljc3NyAwIDE2LjkxMiAwIDAgMTYuODU4IDAgMzcuNjU0YzAgMTAuODIxIDQuNTg4IDIwLjU3IDExLjkyMiAyNy40MzhoLS4wMWw1NC4wODQgNTEuNTg0YTUuMzg5IDUuMzg5IDAgMCAwIDguMDY4LjI0OWw1NC4zNDYtNTEuODMzaC0uMDE2YzcuMzM1LTYuODY3IDExLjkyLTE2LjYxNiAxMS45Mi0yNy40MzgiIGZpbGw9IiNlZDcxNzEiIGNsYXNzPSJmaWxsLTAwMDAwMCI+PC9wYXRoPjwvc3ZnPg=="/></a>
<a href="https://github.com/amank22/LogVue/releases/latest"><img alt="release" src="https://img.shields.io/github/v/release/amank22/logvue?color=brightgreen&label=latest%20release"/></a>
<a href="https://github.com/amank22/LogVue/issues"><img alt="issues" src="https://img.shields.io/github/issues/amank22/LogVue"/></a>
<a href="https://github.com/amank22/LogVue/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/amank22/logvue"/></a>
<a href="#"><img alt="License" src="https://img.shields.io/badge/platform-windows%20%7C%20mac%20%7C%20linux-blue?cacheSeconds=maxAge"/></a>
</p>

## Features

- Native desktop apps to view analytics
- Capture analytics directly from connected device
- Create multiple sessions for different features or apps
- Filter logs using SQL query like `where eventName = 'home'`
- Filter nested objects like `where event.user.name = 'Aman'`
- Export logs in json or pretty yaml format or copy single log
- Basic classification of common types of events like load, view, search, click etc.
- Enable dark mode for night

## Supported Analytics

- [Firebase](https://firebase.google.com/docs/analytics)
- [More to come](#future-goals)

## Prerequisites

- Install [ADB tools](https://www.xda-developers.com/install-adb-windows-macos-linux/) on your system

## Install

- Download installer package from [Latest Release](https://github.com/amank22/LogVue/releases/latest) for your
respective OS.
- If there is any issue with the installer package, download and run the jar file with `jar -jar filename.jar`

## Basic operations

### Filtering analytics

- Use SQL query to filter your data.
- Not all commands can be used but should be sufficient for this app use-case.

### Exporting analytics

- You can export session data using the export button in the UI.
- Following formats are provided:
- Json with pretty print
- Compact Json
- Plain Yaml
- Copy single analytics data in details section

## Contribute

Do you see any improvements or want to implement a missing feature? Contributions are very welcome!

- Is your contribution relatively small? Make your changes, run the code checks, open a PR and make sure the CI is
green!
- Are the changes big and do they make a lot of impact? Please open an
issue [here](https://github.com/amank22/LogVue/issues?q=is%3Aissue) or reach out and let's discuss.

Take into account that changes and requests can be rejected if they don't align with the **purpose of the application**.
To not waste any time you can always open an issue [here](https://github.com/amank22/LogVue/issues?q=is%3Aissue) to talk
before you start making any changes.

## Report an issue

- Did you find an issue and want to fix it yourself? See [Contribute](#contribute) for more information
- Want to report an issue? You can do that [here](https://github.com/amank22/LogVue/issues?q=is%3Aissue). By adding as
much details when reporting the issue and steps to reproduce you improve the change it will be solved quickly.

## Future goals

- [ ] Plugin system to support more logs and allows for in-house
customisations [#27](https://github.com/amank22/LogVue/issues/27)
- [ ] Import event logs directly [#28](https://github.com/amank22/LogVue/issues/28)
- [ ] A framework to validate logs directly with some set of rules directly in GUI
- [ ] Create [feature request](https://github.com/amank22/LogVue/issues/new) and we can discuss
Binary file added logo_land_full.png
Loading
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 6200e1c

Please sign in to comment.