Uploaded image for project: 'Stripes'
  1. Stripes
  2. STRIPES-462

Factor out shared code in search-based modules

    XMLWordPrintable

    Details

    • Template:

      Description

      As previously discussed in several places (e.g. STRIPES-172, STRIPES-452), we have a lot of near-duplicate code in ui-users and ui-items, the first two modules that are based on searching, listing, viewing and editing records of different types. Now with UIREQ-1, UIREQ-2, UIREQ-3, UIREQ-8 and maybe others, we are in danger of creating a third nearly-the-same-but-not-quite module by copy-pasting and editing the result.

      This is probably the right time to take the concrete lessons of ui-users and ui-items, and use them to create a general framework for such modules – and then to make ui-requests another instance of that general framework. (We did much the same for the modules' settings pages in STRIPES-343, which gave us the <Settings> component which now also underlies ui-organization and other modules.)

      This is potentially a wide-ranging task. It will need some careful design, some refactoring in ui-users and ui-items, possibly some improvements in test-suite coverage, and new documentation. The good news is that, once done, it should make many of the ui-requests issues trivial to implement.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mike Mike Taylor
                Reporter:
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h

                      TestRail: Runs

                        TestRail: Cases