bcgov / digital-journeys Goto Github PK
View Code? Open in Web Editor NEWPSA Forms System
Home Page: https://bcgov.github.io/digital-journeys/
License: Apache License 2.0
PSA Forms System
Home Page: https://bcgov.github.io/digital-journeys/
License: Apache License 2.0
Testing
As a PSA Employee I can access formsflow on a production environment.
A/C
As a BC Gov Employee my data can auto-populate form fields when I am logged in so that I can save time completing my journey.
Acceptance Criteria
From IDIR:
From ODS:
Employee ID
Phone Number
Department/Office
Office Address
Personal Address
Supervisor/Manager's Name (if available)
Auto-populated form fields can be edited after populated
Telus has setup an API endpoint in the ODS we can use for development
Background: The non-admin user is able to view submissions from other users.
Steps to Reproduce:
Actual Behavior: The non-admin user is able to view submissions from other users.
Expected Behavior: The non-admin user should be able to only view his own submissions.
Background: Updating the title of a form does not update its name and path
Steps to Reproduce:
Actual Behavior: The user is displayed with name/path error.
Editing the title does not update the Name and Path fields. When you first create the form, the name and path auto-populate as you type in the title. However, if you update the title, the name and path do not get updated. If you later create another form with the old title, you get an error "the path must be unique per project".
Expected Behavior: The user should be able to create a form with a title that does not exist. The name and path of the edited form should be updated.
Background: The user is not displayed with a warning pop-up when navigating back from the edit and submit form screen.
Steps to Reproduce:
Actual Behavior: The user is not displayed with a warning pop-up when navigating back from the edit screen.
Expected Behavior: The user should be displayed with a warning pop-up when navigating back from the edit screen: "If you go back now, all unsaved information you have entered will be lost. Are you sure you want to exit this page?" with a Cancel and Continue button.
Background: The user is not displayed with a confirmation pop-up when submitting the form.
Steps to Reproduce:
Actual Behavior: The user is not displayed with a confirmation pop-up when submitting the form.
Expected Behavior: The user should be displayed with a confirmation pop-up: "Are you sure you want to submit?"
As the PO I need to be able to review our onboarding and off-boarding process in a single concise document.
Acceptance Criteria:
As a digital journey user I would like to see a branded consistent look-and-feel for forms
Acceptance Criteria
References:
Button inc has a react library with alot of prebuilt BCGov branded components: https://button-inc.github.io/service-development-toolkit/@button-inc/bcgov-theme/index.html?path=/docs/components-navigation--html https://github.com/button-inc/service-development-toolkit
Example of branded form
Notes:
As a PSA Employee I can access formsflow on a test environment.
A/C
As a forms designer I can easily provide info on FOIP in the form
Acceptance Criteria
e.g.
All personal information is collected in accordance with section 26(c) and (e) of the Freedom of Information and Protection of Privacy Act for the purposes identified above. Any questions or concerns regarding the collection of your information may be directed by submitting a request to AskMyHR at www.gov.bc.ca/myhr/contact or calling 1.877.277.0772.
As a supervisor/manager, I would like to be able to approve forms after they've been submitted
A/C
Notes:
Transition plan for Freshworks to deliver to PSA
As a digital journeys user I can login to the system
A/C
As a BC Gov Employee filling out the maternity form I would like the form to be submitted to my supervisor for approval on submission so that I don't have to manually submit a copy
A/C
On formsflow:
Offline:
As a BC Gov Employee I can provide my identity information and agree to reviewed material in the form
Acceptance Criteria
Auto-populate - Employee name
The above are pre-populated where possible.
Background: The non-admin user is able to view submissions from other users.
Steps to Reproduce:
Actual Behavior: The user is displayed with the old form name. The user is displayed with different colors for different submission times but displayed with the status "New" for both old and new submissions.
Expected Behavior: The user should be displayed with the updated form title.
As a BC Gov Employee I would like to receive a PDF copy of the form I submitted so I can reference the form later if needed.
As a Supervisor I would like to receive a PDF copy of the form that was submitted so that I can review the submission easily and have a copy for my records.
As a form designer I would like to specify that a PDF copy be generated when a form is designed so that I can use that PDF in my workflows.
Acceptance Criteria
Notes:
As a Digital Journeys users I can login to the system using my IDIR
Acceptance Criteria
Tech Notes
Notes:
Topics greatly improve the discoverability of repos; please add the short code from the table below to the topics of your repo so that ministries can use GitHub's search to find out what repos belong to them and other visitors can find useful content (and reuse it!).
In short order we'll add our 800th repo. This large number clearly demonstrates the success of using GitHub and our Open Source initiative. This huge success means it's critical that we work to make our content as discoverable as possible. Through discoverability, we promote code reuse across a large decentralized organization like the Government of British Columbia as well as allow ministries to find the repos they own.
Below is a table of abbreviation a.k.a short codes for each ministry; they're the ones used in all @gov.bc.ca
email addresses. Please add the short codes of the ministry or organization that "owns" this repo as a topic
.
That's it, you're done!!!
Once topics are added, you can use them in GitHub's search. For example, enter something like org:bcgov topic:citz
to find all the repos that belong to Citizens' Services. You can refine this search by adding key words specific to a subject you're interested in. To learn more about searching through repos check out GitHub's doc on searching.
If your org is not in the list below, or the table contains errors, please create an issue here.
While you're doing this, add additional topics
that would help someone searching for "something". These can be the language used javascript
or R
; something like opendata
or data
for data only repos; or any other key words that are useful.
Add a meaningful description to your repo. This is hugely valuable to people looking through our repositories.
If your application is live, add the production URL.
Short Code | Organization Name |
---|---|
AEST | Advanced Education, Skills & Training |
AGRI | Agriculture |
ALC | Agriculture Land Commission |
AG | Attorney General |
MCF | Children & Family Development |
CITZ | Citizens' Services |
DBC | Destination BC |
EMBC | Emergency Management BC |
EAO | Environmental Assessment Office |
EDUC | Education |
EMPR | Energy, Mines & Petroleum Resources |
ENV | Environment & Climate Change Strategy |
FIN | Finance |
FLNR | Forests, Lands, Natural Resource Operations & Rural Development |
HLTH | Health |
IRR | Indigenous Relations & Reconciliation |
JEDC | Jobs, Economic Development & Competitiveness |
LBR | Labour Policy & Legislation |
LDB | BC Liquor Distribution Branch |
MMHA | Mental Health & Addictions |
MAH | Municipal Affairs & Housing |
BCPC | Pension Corporation |
PSA | Public Service Agency |
PSSG | Public Safety and Solicitor General |
SDPR | Social Development & Poverty Reduction |
TCA | Tourism, Arts & Culture |
TRAN | Transportation & Infrastructure |
NOTE See an error or omission? Please create an issue here to get it remedied.
Background: The user is not displayed with any errors if he does not fill out the required form fields.
Steps to Reproduce:
Actual Behavior: The user is not displayed with any errors if he does not fill out the required form fields and can not submit the form.
Expected Behavior: The user should be displayed with an error message stating to fill in the required fields before submitting.
As a BC Gov Employee I would like to be able to save a partially completed form and return later to complete it without losing information I've already entered.
Acceptance Criteria
Notes
As a form submitter, I would like to be able to receive an email confirmation when I submit a form
Acceptance Criteria
Test Notes
Tech Notes:
Background: The user is displayed with the submitted form's data when he clicks on "View/Edit" form.
Steps to Reproduce:
Actual Behavior: The user is displayed with the submitted form's data when he clicks on "View/Edit" form.
Expected Behavior: The user should be displayed with the form blank fields. The data from the previous form entry should not populate here.
Background: The non-admin user is displayed with the deleted form on the list.
Steps to Reproduce:
Actual Behavior: The non-admin user is still displayed with the deleted form on the list, and clicking on its action buttons displays "Resource not found".
Expected Behavior: The user should not be displayed with any deleted forms.
Hello! I scanned your readme and could not find a project lifecycle badge. A project lifecycle badge will provide contributors to your project as well as other stakeholders (platform services, executive) insight into the lifecycle of your repository.
It is a simple image that neatly describes your project's stage in its lifecycle. More information can be found in the project lifecycle badges documentation.
I suggest you make a PR into your README.md and add a project lifecycle badge near the top where it is easy for your users to pick it up :). Once it is merged feel free to close this issue. I will not open up a new one :)
It will be user-friendly to display the name of the person who created/last edited the form and the date.
Also, on the "Dashboards" > "Metrics" screen, there is a drop-down to select the options "Created Date" and "Modified Date", but the user has no idea on the dates of any of the forms.
Background: The user should be displayed with the toast message upon form submission
Actual Behavior: Currently, after submitting the form, the user is displayed with the toast "Submission Saved".
Expected Behavior: The user should be displayed with a more user-friendly message:
"Thank you for your submission. Once your submission has been reviewed by your supervisor, you will receive a notification via email. You can view a copy of your submission in your forms dashboard."
Notes
Teams are encouraged to favour modern inclusive phrasing both in their communication as well as in any source checked into their repositories. You'll find a table at the end of this text with preferred phrasing to socialize with your team.
We're aligning our development community to favour inclusive phrasing for common technical expressions. There is a table below that outlines the phrases that are being retired along with the preferred alternatives.
During your team scrum, technical meetings, documentation, the code you write, etc. use the inclusive phrasing from the table below. That's it - it really is that easy.
For the curious mind, the Public Service Agency (PSA) has published a guide describing how Words Matter in our daily communication. Its an insightful read and a good reminder to be curious and open minded.
The word "master" is not inherently bad or non-inclusive. For example people get a masters degree; become a master of their craft; or master a skill. It's generally when the word "master" is used along side the word "slave" that it becomes non-inclusive.
Some teams choose to use the word main
for the default branch of a repo as opposed to the more commonly used master
branch. While it's not required or recommended, your team is empowered to do what works for them. If you do rename the master
branch consider using main
so that we have consistency among the repos within our organization.
Non-Inclusive | Inclusive | |
---|---|---|
Whitelist | => | Allowlist |
Blacklist | => | Denylist |
Master / Slave | => | Leader / Follower; Primary / Standby; etc |
Grandfathered | => | Legacy status |
Sanity check | => | Quick check; Confidence check; etc |
Dummy value | => | Placeholder value; Sample value; etc |
This list is not comprehensive. If you're aware of other outdated nomenclature please create an issue (PR preferred) with your suggestion.
As a BC Gov Employee I can enter a postal address
Acceptance Criteria
Notes
Google Maps "Address" form element is available in forms.io:
As the PO I need to be able to easily review our user roles and permissions in a single document.
Acceptance criteria:
Background: Viewing submissions as a non-admin from the "Applications" tab throws a 502 error.
Steps to Reproduce:
Actual Behavior: The user is displayed with a 502.
Expected Behavior: The user should be able to view his submissions from the "Applications" tab.
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.