tsml-ui-react v1.2.19
TSML UI
TSML UI is a React web app that makes the 12 Step Meeting List interface available for use on any web page, regardless of platform.
Here's a demo of what the meeting finder looks like with no styling. Here's another demo embedded into a different design, with a Google Sheet as a data source.
To use TSML UI on your website you only need to add some HTML to your web page. To get started, use our TSML UI configuration helper.
Configure
Enable "Near Me" mode
You don't need to do anything other than enable HTTPS on your website. To ensure all users see this functionality, make sure that anyone who enters a http:// address for your site is redirected to the https:// address.
Debug mode
Trusted servants can append ?debug=true to the web address to see warnings in their browser's javascript console. For example, there is a warning about a bad conference_url at on this demo site.
This mode also disables caching so that changes may be observed by reloading.
Add custom types
Here is an example of extending the tsml_react_config object to include a definition for an additional meeting type.
var tsml_react_config = {
timezone: 'Pacific/Honolulu',
strings: {
en: {
types: {
BEACH: 'Beach Meeting',
},
},
},
};A list of AA meeting types can be found in the Meeting Guide format spec.
Frequently asked questions
How are metatypes like "Active" and "Online" calculated?
Metatypes are types that are not specified explicitly in the data, they are inferred from the data based on this logic:
A meeting is considered
In-Personif it doesn't have a type ofLocation Temporarily Closedand it has a specific street address.A meeting is considered
Onlineif it has aconference_urlthat matches our recognized formats and/or it has aconference_phoneA meeting is considered
Activeif it'sIn-PersonorOnline, otherwise it'sInactive.
Why no "Hybrid" type?
This app exists to help people find AA meetings, and after much discussion we decided that Hybrid was not a useful filter type for that purpose. We believe that people on the whole do not set out looking for a hybrid meeting, they simply want to know whether their online or in-person meeting happens to be hybrid. They will know this by its appearance in the list.
Second, while we can infer that a meeting is "online" if there is a Zoom URL (for example) in the listing, the app should not assume that, when there are online and in-person options, that means it is an actual "hybrid" meeting with a video screen and speakers in the room.
Web servants may add their own meetimg types of course.
Next steps
- Hierarchical region dropdown
- Alternate appearance of
TCmeetings (hide directions and cross out address) - Alternate appearance of approximate addresses (no location list group, zoom out map, no popup)
- Display group info on inside page
- Distance dropdown instead of regions when in near me or location mode
- Spanish
- French
- Near location mode with geocoding
- Accessibility improvements
- Proper
hrefattributes (instead of#) in controls for SEO - Filter-clearing buttons when no results
- Select multiple dropdown items on mobile
Contributing
Pull requests are welcome. To get started, clone this repository, run yarn, and point your web root at the public folder.
While developing, run yarn watch to compile assets as you edit them. When you're ready to commit, run yarn prod to minify them for production.
Credits
This project uses React JS and Bootstrap CSS.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago