Drafting

Incubating features (or guides)(or whatevs).

"Agile" :duck:

Add Hearing to Calendar

Add Hearing to Calendar MSA-248 Each user will be able to click a button and add the data for a specific hearing to its personal calendar. Calendar format options should include iCal, Google, and Outlook. The data transferred to the calendar entry shall include: · Event type (Hearing/Meeting) ·...

Administer Users

Administer Users Setting Category, State and Keyword Filters Categories, and keywords for each client comes directly from XML file imported in the system via the “Feed Parser”. Categories are retrieved from the parsed “pname” (profile name) field in the xml. States are a fixed list of options (...

Bill Text Fetching

Bill Text Fetching MSA-227 Separate plugin created for this purpose will allow the system to parse the HTML: Dom object and insert its entire content inside the database. This content stored inside this table is going to be used for full text search. Separate table named “entity_text” will be crea..…

Block Import of Bills to Closed Sessions

Block Import of Bills to Closed Sessions MSA-246 Important thing that the system will take care of is that if admin close some session, the legislations connected with this session should not be updated anymore even if they appear in StateTrack profile match upload / XMLs. Beside the fact that the..…

Cron Jobs and Pseudo-APIs

Cron Jobs and Pseudo-APIs sessionapi.php location: theme (mainstreet-advocates/sessionapi.php) Called in: template_session_add.php; template_session_list.php Used for the bespoke Session Management UI. if (isset($_GET['action'])and $_GET['action'] === 'list') ... SELECT * FROM session_i...

Deployment Checklist

Deployment Checklist Import Legacy (xml) Feeds There is closed to 100GB of xml feeds laying around. Bills are purged form the database after a legislative session is over... However regulations are not ever purged.

Detail View: Legislation

Detail View: Legislation MSA-238 Legislation detailed view is view that will allow the user to check all details related to the particular legislation document. The view will be divided in couple of sections Legislation details Legislation status – progress bar Social share element View fu...

Detail View: Regulations

Detail View: Regulations MSA-239 Detail view should include the following elements: Regulation details Social share element View full bill text Related documents section  Notes section REGULATION DETAILS This section will include the following data State Agency_name Type State...

Ensure Whitelabelling

Ensure Whitelabelling MSA-102 White labeling of bill statuses that are usually hosted on .gov sites but instead are only available on TrendTrack.com so that Kevin's clients are taken to MainStreetAdvocates.com Many URL's from the feed are replaced with local URL's to cached content. How the ed...

Export Search Results

Export Search Results MSA-237 The user should be able to export the data presented in views as csv and excel file, or a print preview. Check SRS -Figure 10 - exporting documents This feature should allow exporting of only selected/filtered data. For example. If user choose only 3 out of all c...

Import Feeds

Import Feeds MSA-226 The staff role will be able to manually upload XML feeds. Beside the already existing functionality of manual import, the changes to the existing system will be made that will allow the following flow: System will check email address on hourly base. This will be done using a...

Manage Client Feed Settings

Manage Client Feed Settings MSA-220 Categories, and keywords for each client comes directly from XML file imported in the system via the “Feed Uploader”. Categories are retrieved from the parses pname field in the xml. Each client settings will be stored inside the database in following tables wit..…

Manage User Feed Settings

Manage User Feed Settings MSA-222 This feature will allow staff role to setup/configure additional options for to user directly. The clients and system users are in so called parent child relationship. • When first added to the system, the user settings should be cloned from the (parent) client....

Model End of Week

Model End of Week MSA-33 Summary The we need a more precise and flexible sense of the "end of the week". The weekly email digest, as well as special searches in the user dashboard, will depend on this setting. It needs to be arbitrarily set by an MSA Staff person because on the same day, both th...

Model Legislative Sessions

Model Legislative Sessions MSA-245 Custom post type named session info will be opened. The custom data table will have the following data: Session name Session info Session state (since the sessions are state connected meaning that there can be session with same name and dates but they will...

Select Table Columns

Select Table Columns MSA-236 The system will allow switching between two types of views Each of these views represent predefined set of columns that will be displayed. User should be able to easily switch between first or second view by click on button. Column’s that should be visible in full vi...

Send Weekly Digest

Send Weekly Digest

Solr Core Management

Solr Core Management The msa-wp-solr plugin is an integration of the Solarium library into a custom wp plugin. https://solarium.readthedocs.io/en/stable/ Plugin File: solr-search.php Plugin manifest. require_once( SOLR_SEARCH . '/vendor/autoload.php' ); *// Load plugin class files* requir...

User-relative Updated Dates

User-relative Updated Dates MSA-247 System will track when bills are entered / updated in the system on a per-user basis. When a new user will be added to the system, the system will have to add all the bills to their feeds as last updated. This means that system will have a feature of "Last Updat..…

User Self-Service

User Self-Service Each user should be able to do the following Login/Logout Change password Update email address A primary navigation menu item should be included to manage a user’s account. Using built-in WordPress functionality is preferred. Note, there are several User properties that...

View Search Results in List

View Search Results in List Documents list view will allow user to view all his documents displayed as a table. Figure 9 - List view (user view) The user will be able to select \1. Type of document · Legislation · Regulation or · Hearings \2. Category Values inside this select will come queryi...

Work with Prioritized Bills

Work with Prioritized Bills MSA-244 From within the main dashboard (map view or list view) any user will be able to access and view all prioritized bills for the client. User will be able to sort the prioritized items by: Who prioritized the item (user name) The item prioritized (bill number /...

Working with Notes

Working with Notes MSA-241 All users (admin and user role) will be able to record notes associated with some legislation/bills, regulations, and/or hearings. While viewing a bill, regulation, or hearing, they will be able to click button to create and save a text note, or/and add a file to a note...…