Comments (1)
Changing this to a form where a user fills up gives us the following benefits
- As a user is typing the question, we can show other already answered questions (like StackOverflow), so that user can refer to those and get their answers faster.
To my mind, this veers towards Phase 3 and can be counted as scope creep.
We can perhaps reuse the search components to anticipate what the user might be asking for, but we would still need to build out the backend to route the submitted request to the agency.
Alternatively, the form could just generate the corresponding e-mail to send to the agency + ourselves, but this would oblige the user to go through an extra step to send the e-mail, which isn't good UX
- We can also store what questions users are asking for further analysis (e.g. are these new questions that we should get agencies to create FAQs for, or existing questions such that users are not searching)
As an alternative to storing the questions, we could have ourselves cc'd in the mail sent to agencies with the appropriate parameters added to the mailto:
link.
Proposed iterations
I hence propose the following iterations to get to the functionality we want:
We will initially add a cc to ourselves for thedonemailto:
link generated for the agency.- A second iteration will present a form to the user to fill up a form that would generate the mail as described above
- Subsequently, we build out the backend needed to:
- Initially route the form submission into e-mails, which we then replace with...
- ... Hold the request as a question to be answered in the application itself
from askgovsg.
Related Issues (20)
- Setup storybook for local development HOT 1
- When user types in >150 character in question input, show a clearer error message HOT 1
- [Storybook] Add stories for PostForm and EditForm
- [Storybook] Make use of doc pages
- [Storybook] Create mock for react-router-dom
- [Storybook] Add stories for SearchBox, EnquiryModal and StyledToast
- Highlight query matches in search results
- [Chromatic] Setup visual testing
- [Storybook] Setup snapshot testing
- Add cmake to prerequisites in readme
- Fix secrets-check script HOT 3
- [Storybook] SearchResult story broken
- Use full names of agencies on home page HOT 4
- Ideas for Democracy.gov.sg HOT 1
- [frontend] Post Question button too close to topics menu
- [frontend] add x button to ConfirmDialog and FailureDialog HOT 1
- [client] Update styles for edit and delete buttons
- [Topics] Scroll to top not working when switching topics HOT 1
- Refactor AgencyHomePage to be inline with HomePage
- Weird frontend (?) error resulting in blank page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from askgovsg.