Comments (6)
Ok, I will look then into it. If you would like to work on a PR by yourself, please let me know.
from columns_trace.
Hi, I'm happy you find it useful!
I wanted to improve the management of reported issues (like resolving, skipping, UI)
Can you give more details about your use case?
from columns_trace.
In development mode I want to build an UI with following features
- ability to list distinct issues
- ability to sort / filter issues
- mark issue as resolved or ignored
Based on your work I created the following model
create_table :column_trace_records do |t|
t.string :action
t.integer :count
t.string :model
t.text :used
t.text :unused
t.text :backtrace
t.boolean :resolved
t.index [:model, :used, :backtrace], name: 'issue_idx', unique: true
end
And ability to subscribe to events stream and create / update these records would simplify my implementation
from columns_trace.
I think, ActiveSupport::Notifications
is not necessarily needed in this case. I can create something like "reporters", where you can specify your custom reporter. It will be passed all the details like backtrace, used/unused columns etc. With the logger reporter as a default one, to mimic the current behaviour.
I did something similar in my other gem - https://github.com/fatkodima/data_checks/tree/master/lib/data_checks/notifiers. In that case it is named "notifiers", but the concept is the same.
Wdyt?
from columns_trace.
I like this concept.
from columns_trace.
Released a new version with this change.
from columns_trace.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from columns_trace.