veeral-patel / true-positive Goto Github PK
View Code? Open in Web Editor NEWCollaborative, web-based case management for incident response
Home Page: https://truepositive.netlify.app
Collaborative, web-based case management for incident response
Home Page: https://truepositive.netlify.app
Currently, just like each case has a status and a priority, I want each case to have a "code". A code must take the form of "CODE-X" where X is a number. This code value should be auto-incremented as a case is created - CODE-1, CODE-2, etc
Modify the frontend and backend code to make this change. You'll need to create a database script as well as modify all case related endpoints. On the frontend side, remember to show the code on the Case page alongside the status and priority.
backend/db/migrate/[timestamp]_add_code_to_cases.rb
✓ 2aff274 Editbackend/db/migrate/[timestamp]_add_code_to_cases.rb
✓ Editbackend/app/models/case.rb
✓ 513b931 Editbackend/app/models/case.rb
✓ Editbackend/graphql/mutations/create_case.rb
✓ 84946ea Editbackend/graphql/mutations/create_case.rb
✓ Editbackend/graphql/types/case_type.rb
✓ b951afb Editbackend/graphql/types/case_type.rb
✓ Editfrontend/path_to_case_component
✓ cdb1d67 Editfrontend/path_to_case_component
✓ EditA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.