cityofboston / boston.gov-d7 Goto Github PK
View Code? Open in Web Editor NEWOnce housed code for boston.gov. Have moved to Drupal 8 as of November 2019.
License: Other
Once housed code for boston.gov. Have moved to Drupal 8 as of November 2019.
License: Other
From feedback: For any and all events requiring/needing a permit, could you please include those events in your calendar and indicate at which locations they are permitted to be held? If a resident lives on the Boston Common, in the North End, near Franklin Park, near the Esplanade, etc., it would be incredibly helpful to know what's going to be happening outside our front doors. At present, we feel like we only find out if we stumble upon it and most of the time, it's too late to enjoy or avoid events.
We won't be including all permitted events on the City calendar, but we can create a map or a feed of those probably. This is an issue to capture that desire.
We could use CityGram and a feed via our open data portal to create an easy subscription service to permits filed within X distance from a specific address.
Each BYCF has a set of "features" (see screenshot from this page). Those features should be clickable and show all places / nodes with the clicked feature.
Possibly add this the way someone can filter places in the BYCF search bar. Where does this search live ultimately?
If a title is entered in a component, this title sometimes appears below 'component type' when the component is closed. However, at other times the title does not appear when the component is closed.
The title should appear for components that have a title listed.
Components where title does not appear and should:
Hide all related content fields on all content types except the one called "Related Content" until we better define / model what each should do. Ref #12 when done.
I want the fields under "related content" to work so that events tagged properly with people, programs/initiatives, places, and departments will show up on those pages. It currently works if you add the page where you want to add content to the "related content" field under related content.
Thought:
Add a "related events" section on Related Content that creates a component at the bottom of the page called "Related events". Allows the author to pull in and display specific events to their post, event, article, etc.
Events often have similar names - Zoning Board Hearing, City Council Meeting, etc. How can we make these events more findable, both in the CMS for content authors referencing them for related content / tagging purposes and for constituents in the calendar?
Right now, events with duplicate names have -0, -1, etc. appended to their URL.
Can we add the date to the URL to prevent the addition of "-0", "-1"?
Can this date also appear in the autopopulate field when an author is filling in related content?
This will take a little bit of time. There's a Views References? module that we can use to implement this, but we'll need to update each entity reference field when we make this change, which will take a lot of time and touch a lot of things. When we have more bandwidth, we can investigate other possibilities.
What to do with repeating events?
Repeating events are a singular piece of content. We should avoid adding dates to their URLs.
What happens when the date changes?
That starts to get messing from a search engine perspective.
As a CMS user, I shouldn't be able to make my title or intro copy look bad.
Accordingly, we're going to try a character limit in the CMS to see the reaction and whether people are able to adapt to the new limits.
Status quo:
The title and the intro text both get cut off on the news page. The title and intro text gets cut off on an event only in the upcoming events component.
On staging, it looks like 93 characters are available in the title before getting cut off; 100 characters in the intro text.
What are the options for a UI for limiting characters? Red outline highlight overlay in the WYSIWYG field? Inability to type any more characters with an error validation?
When a CMS user cancels an event, this describes what happens on Boston.gov. Reference #48
On the list of events on /events:
On an event page:
And have all other styles in that component adjust accordingly when background color is changed.
Also, the sooner the better on getting this issue ready, so @matthewcrist can work it in with the other component changes.
Due by end of October reasonable?
Add in each 'my profile' item as iFrame from self service.
Styling should match comp. on file.
Then, provide in-line editing for each of these items.
On the Hub, under the avatar/picture that shows in the header when a user is logged in there is a 'change password' option. We should adjust this link to take users to a different page.
For event content types, the metadata description populates with [node: date summary of some kind]. Before the [node:summary].
This should use the first available date on repeating events.
This will be a fairly heavy lift to get the first available date for the event and ensure that it will update appropriately.
The reason is that the "WYSIWYG" option allows a user to add a hyperlink to the image. The default option doesn't allow a user to do that.
Right now, when you add a new image or an image from the library, the "display as" option defaults to "default":
Users should instead have the "display as" default to "WYSIWYG":
An Events Component with the following list will do:
None - displays a single event
Related Events - displays all events tagged in the related content field with the same page where the component lives.
Upcoming Events - displays all events.
Questions:
Are the above accurate?
Do all related events show up in Upcoming Events? Or just events that are not tagged?
@matthewcrist could be a good thing for @asalsman if he's in documenting mode already...
Fran sends Satyen an export twice a year of assessments data based on the FY quarter system.
Assessing has multiple systems for their assessing data, but right now they are migrating to a newer system - and off the old COBOL frame. The last export Satyen received from Fran was from the old system, but in Jan they are switching to the new one. The export might be a different file system type - so it will change the way the export is done.
Currently, in ZGM05dev, there is an assessing folder in which there is documentation that details each SQL conversation, query and job that processes the assessing data and ports it into the databases.
The newer system in January should be a relational db system and it will be easier to just automate the export and schedule it.
For the documentation see: zgm05dev/assessing/search/default/organization
The documentation is around 10-12 pages so I'm leaving that for you to delve through. The application itself just runs a search on the data, using VBScript to parse and find related matches. The VBscript in the assessing/search.asp
is well commented. As long as the data export goes through per the zgm instructions, the search continues to work. You only have to go to the search file and change the FY quarter global variables.
@sebastianebarb I'd like to have these comps queued up before the end of November. Happy to discuss beforehand and include @jduffy2001.
From a constituent: "I mean like, "Next up: Mayor Walsh Pets Kittens at the Angel MSPCA". I'd click the hell out of that."
Comments:
@sebastianebarb What should this look like? Happy to chat, but this one will need a comp for desktop, tablet, and mobile.
@hackajesse I wonder if a better idea would be an infinite scroll for posts. Fusion.net just keeps going with related content so you don't need to click. It makes me want to read the next article, I often do.
http://fusion.net/story/340171/how-nextdoor-reduced-racial-profiling/
@sebastianebarb while super cool (nice link!), we're going to skip infinite scroll at this point b/c of accessibility / usability for some folks. Read why
Ideas for a "next post" or "related posts" concept to give people relevant content? Perhaps along the lines of a click-bait site like this one?
This is the backend for the workers comp form #40.
control panel: https://www.cityofboston.gov/workerscomp/claiminquiry/login.aspx
inquiry info list: https://www.cityofboston.gov/workerscomp/claiminquiry/inquiryinfo.aspx
The claims submitted through the workers comp form can then be seen and managed on a secured website. From this area an employee can see a queue of inquiries and provide a response. This area is called “Claims Inquiry Administration”.
Data Source=VSQL01
Initial Catalog=workerscomp
The admin interface tells you how many claims are awaiting a response and some basic information about the claim (name, provider, bill amount). It pulls this data from the inquiries data which has a column for responded (0 or 1).
An admin can view an inquiry and respond from the interface. The application will then save the response to the database and also change the responded flag to true.
Be able to surface 'events on the plaza on the Hub, via the e-ink screen and on boston.gov from one source.
Potentially have these items sync altogether.
Potentially have 'events on the plaza' component on Hub
Create a guide for “suggesting a guide”. Whether it’s hosted by Google or you’re embedding a natively-designed form, open the doors to the public for guide suggestions.
The application: www.cityofboston.gov/3D/members/apply.asp
This form currently redirects to the DND 3D initiative page.
It’s the first time I’m seeing it so I’m not sure what the background is.
Adds the form information to the Mayors24 database and sends an email with the form fields to [email protected] titled WWW / 3d Member Discount Registration using VBScript.
Also subscribes the individual to the Lyris 3Dmembers list.
Story:
As an authenticated user in the CMS, I want the ability to have my search term Auto Complete for the full site search so that the system can help me select my search terms.
Could use the same LinkIt option as we do for Related Content and Contact fields.
Acceptance criteria:
Needs:
on boston.gov/guides, there is a list of guides. Each guide has a few bullet points that on click are supposed to go to a specific point on the guide page. However, since anchor tags in the URLs are not named the same as the Short Title in the CMS, those anchor links don't send the user to the proper place on the page.
As a user, I want to view any page on the website and print it out in a printer-friendly format. Usually shows up as a button to click to print.
@matthewcrist prefers to create a printer friendly style sheet, which needs to be done anyway. Instead of a button on pages, Matt thinks we should add a link in the accessibility toolbar on how to print.
More discussion needed on how this will happen and/or may appear on the page. Questions to consider:
Module references by @hackajesse:
On the script page, if a 'contact' field is input AND a sidebar component is added then two separation lines appear (one dashed and one solid). Only the solid line should appear, but might need some development insight on how this is working in order to determine whether it should be dashed or solid line here.
Hub example:
/need-something-else
Still seeing this appear even after 'make sure email isn't blank and set' was implemented by @matthewcrist
The anchor tag option is a bit wonky in the WYSIWYG. Right now, you have to anchor something a paragraph before to compensate for the nav bar, but it still looks wrong on mobile.
I want the anchor tags to work the same way as the secondary navigation on components.
Reported by @jduffy2001 originally, but needs fleshing out and screenshots of the issue.
Components break person profiles when you add them. @jduffy2001 tested out drawers, text, news and announcements, and three-column with image components, and none of them worked. They just broke the page.
The option to add components on the page exists, so this is a bug.
@jduffy2001 can you add a screenshot?
Some people will need to create guides in Drupal. However, content author permissions do not include any editing / creating of guides.
This would be a separate role called Guide Author. It would be added to someone's existing Content Author role, so the permissions are specifically related to creating / editing guides.
Permissions to enable:
Guide: Create new content
Guide: Edit own content
Guide: Edit any content
@matthewcrist would "delete" own / any content include simply deleting a component? Or would it mean something more significant?
It'd be great to have some kind of short-linking built into these pages, in addition to the newfeed sharing options:
The long title's pretty cumbersome for sharing, obviously. Since each posting has a 5-digit numeric ID, maybe something simple like "jobs.boston.gov/11158" would work?
Here's some info that might help give background:
Document created by Acquia for City when choosing external site search: https://drive.google.com/open?id=1Ul25dVM1AYFYgA-XRD1oGCHKWBLdBJXJyVbW5OY1Ds4
Acquia docs on their solr set up: https://docs.acquia.com/acquia-search
Christina, Acquia TAM, also knows quite a bit and could probably be a good resource for this one.
When we switch, we need to use a hosted version of Solr that is current. We might also explore alternatives like Elastic search.
Currently nothing shows up when you search and get nothing:
@jduffy2001 what should the copy be if you get nothing? "No Results"?
Acceptance criteria:
When creating/editing a tabbed content page, up to 4 tabs are available in the edit interface.
If a tab is left unfilled, it will not display on the tabbed content page.
As a stakeholder I want the tabbed content page to be AA compliant using the checker in SPY-525.
Implementation details: * When creating/editing a tabbed content page, up to 4 tabs are available in the edit interface.
If a tab is left unfilled, it will not display on the tabbed content page.
As a stakeholder I want the tabbed content page to be AA compliant using the checker in SPY-525.
if we limit to four, here is description of options:
In reviewing SPY-532, it was decided it would be preferable to limit the number of tabs to 4. This is a new requirement, so we agreed to create a new story to limit the Tabbed page to 4 tabs.
The way that this will be achieved is:
@jduffy2001 do you see a need for this at the moment? If not, we can close the issue until we need it in the future.
In the CMS, add a checkbox in the Video component that indicates an event will be live streamed. "This event will be streamed live."
On /events:
On an event thumbnail:
Use "What it live" as copy and play-with-circle icon from number 9 per the comp below the event title, left and bottom justified.
There will be a video component in the actual event page, so no need to change anything there.
Remaining questions for @asalsman :
There aren't any, so we should tell our CMS users what error they made.
Various departmental leadership has expressed interest in having the ability to communicate with their employees via the Hub.
Potentially through posts that employees get directed to each week and/or through posts that kick out automatic emails to employees with weekly news.
Example: DND weekly newsletter
Follow progressive enhancement principles
Right now, when an event date passes, the date of the event is removed in the top right section of the event. You can see an example here.
Reference #49 for what happens on Boston.gov
Set cancellation reason character limit to whatever the character limit is for the intro text section (adding this because character limits on that section may or may not change in the near term.
Admin panel for this form is #39.
https://www.cityofboston.gov/workerscomp/claiminquiry/
On the workers compensation page, we have this Claim Inquiry form: a web form where vendors can submit an inquiry seeking information on workers’ compensation claims.
Data Source=VSQL01
Initial Catalog=workerscomp
There is an initial questionnaire. When the user submits all the correct responses, they are taken to /default.aspx the actual form.
The application validates all of the fields submitted and inserts than into the inquiries table.
Every content type in the CMS with components has a dropdown list to choose from. That list is not in alphabetical order. It should be.
@matthewcrist I'm pretty sure I can change this myself. Path?
URL: https://www.boston.gov/departments/parking-clerk/how-pay-parking-ticket
BROWSER: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Love the new site. Easy to read and navigate. Love the large text and fewer words. Vast improvement. One suggestion is to add more graphics next to the text. For example, when you write OVER THE PHONE have a little picture of a phone next to it. It will help people learning English and who struggle to read.
@jduffy2001 thoughts on this?
Deciding whether to keep or ditch still. http://www.webdesignerdepot.com/2015/08/the-ux-case-against-the-home-button/
Story:
As a site admin I want the ability to create an Elected Officials directory so that the public can see who their elected officials are.
Acceptance criteria:
As a site administrator I want to be able to add a list of people to a listing page.
As a site administrator I want to be able to select what type of people are displayed on this listing page.
Implementation details:
Attached "Grid of People", as there is no Elected Officials Directory Page comp
https://www.drupal.org/project/autosave
This would work for saving a content type, but wouldn't work for adding components since those are AJAX forms and this module doesn't support. We'd need to have the autosave be consistent across all save to be useful.
Is there another module that would work for that purpose?
Might be related to component refactoring.
https://www.boston.gov/departments/assessing/how-file-residential-exemption
http://www.cityofboston.gov/wickedcooltree/
Managed by New Urban Mechanics. Probably should ask what kind of presence they can have/want on the new site.
A 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.