########################################################################################## JILS-5: Modularlise Code ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2019-09-09 16:34:18) Project: Jira Issue Listing Script (JILS) Reported By: btasker Assigned To: btasker Targeted for fix in version: - 0.1 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Originally #5 on Github. Raised 15 Sep The original aim of the codebase was quite simple, but the archive functionality has increased complexity a lot, leading to a fairly monolithic codebase. To make things a little more manageable (and readable), might be worth breaking certain bits out into seperate files. ----------------------------------------------------------------------------------------- Issue Relations ================ - blocks JILS-10: Plugin Support - blocks JILS-43: Provide JSON Representation of pages - Original Issue Page (https://github.com/bentasker/Jira-Issue-Listing/issues/5) ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2014-11-03 11:51:33 btasker ----------------------------------------------------------------------------------------- On 2 Oct, a commit was made - Started modularlising codebase https://github.com/bentasker/Jira-Issue-Listing/commit/203282c34de14034f697b954fc439726c80bc1f8 ----------------------------------------------------------------------------------------- 2014-11-11 00:34:54 btasker ----------------------------------------------------------------------------------------- I think there's probably a lot more that can be done to tidy the codebase. Because it started with a fairly simple aim, I didn't necessarily exercise some of the discipline that I should have done in the coding style. At some point, for the benefit of maintainability, it'll probably be worthwhile doing a full refactor, even if only to separate the CRUD from the views. ----------------------------------------------------------------------------------------- 2016-04-24 18:26:10 ----------------------------------------------------------------------------------------- btasker added '0.1' to Fix Version ----------------------------------------------------------------------------------------- 2016-04-24 19:13:47 btasker ----------------------------------------------------------------------------------------- Commit 054ffe8 (https://github.com/bentasker/Jira-Issue-Listing/commit/054ffe885cbe9c007346bb435dbbf48ca3d68224) is a PoC for JILS-43, but starts the work of splitting out the CRUD. Although, in the longer term, a better structure can probably be used, for the time being, the structure is being introduced so that code is split into - queries - templates Where various templates (html/json) are available for the appropriate pages. ----------------------------------------------------------------------------------------- 2016-04-24 23:38:01 btasker ----------------------------------------------------------------------------------------- JILS-43 has done quite a lot of work in seperating the CRUD, however there's still a lot of general tidying to be done. So far, the code has (as far as possible) simply been split into seperate files, so readability is still an issue, and the code is still fairly messy. Need to finish moving files into the new structure (as some don't have a JSON equivalent, they weren't touched in JILS-43) ----------------------------------------------------------------------------------------- 2019-09-09 16:34:18 btasker ----------------------------------------------------------------------------------------- Bulk Change. Clearing out old issues - it's unlikely I'll find time to do any further work on JILS. New issues will be raised for relevant items if that proves not to be the case ----------------------------------------------------------------------------------------- 2019-09-09 16:34:18 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Closed' ----------------------------------------------------------------------------------------- 2019-09-09 16:34:18 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution