Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
43ad0ea
switch to emotion
joshreisner Sep 11, 2023
2ba5846
refactoring styles
joshreisner Sep 12, 2023
38c3f5b
style table, remove listButtons option
joshreisner Sep 12, 2023
14b815c
loader css
joshreisner Sep 13, 2023
db2d01c
refactoring colors
joshreisner Sep 13, 2023
e6f1a64
reorganize styles, start on meeting
joshreisner Sep 14, 2023
71d8b87
remove more bootstrap classes style meeting page
joshreisner Sep 15, 2023
27721f2
search dropdown
joshreisner Sep 16, 2023
4d4f98e
map
joshreisner Sep 16, 2023
166a758
styling
joshreisner Sep 17, 2023
19629ba
styling
joshreisner Sep 18, 2023
6c15764
directions / join buttons
joshreisner Sep 18, 2023
8e05a67
style other meetings on detail page, install emotion plugin
joshreisner Sep 20, 2023
fae2795
style map popups
joshreisner Sep 21, 2023
0f036ee
tweak close button hover color
joshreisner Sep 21, 2023
05c2bb7
bump package json
joshreisner Sep 21, 2023
c486a53
update snapshot
joshreisner Sep 21, 2023
50a96f3
tweak manassas styles
joshreisner Sep 21, 2023
f159d35
improve reset for sunspot
joshreisner Sep 22, 2023
10c7375
mobile list styling
joshreisner Sep 23, 2023
17bab69
style alerts
joshreisner Sep 24, 2023
18eb0cf
refactor variables
joshreisner Sep 25, 2023
6b4ee16
fix padding on in-progress row
joshreisner Sep 26, 2023
3cefe9d
style map marker anchors
joshreisner Sep 28, 2023
15836f1
move marker popup anchor point
joshreisner Sep 28, 2023
c375747
expand readme
joshreisner Sep 28, 2023
5592b66
fix beta test issues
joshreisner Sep 29, 2023
9908916
fix width
joshreisner Sep 29, 2023
f3e5f52
fix google sheets
joshreisner Sep 29, 2023
b9527e3
css fixes for napa
joshreisner Sep 30, 2023
14ce379
more fix for napa
joshreisner Sep 30, 2023
e0efd62
margin tweaks for napa
joshreisner Sep 30, 2023
f410417
final tweaks
joshreisner Oct 2, 2023
2ae2e51
switching AA to A.A.
joshreisner Oct 2, 2023
f92dd8b
update Google Hangouts to Google Meet
joshreisner Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 60 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ var tsml_react_config = {
};
```

AA groups that wish to participate in the Meeting Guide app should be careful not to repurpose types already in use. A full list of AA meeting types can be found in the [Meeting Guide format spec](https://github.com/code4recovery/spec).
A.A. groups that wish to participate in the Meeting Guide app should be careful not to repurpose types already in use. A full list of A.A. meeting types can be found in the [Meeting Guide format spec](https://github.com/code4recovery/spec).

### Override type descriptions

AA meeting type descriptions are automatically applied to Open and Closed types. These can be unset or overwritten as needed.
A.A. meeting type descriptions are automatically applied to Open and Closed types. These can be unset or overwritten as needed.

```js
var tsml_react_config = {
Expand All @@ -63,7 +63,7 @@ var tsml_react_config = {

### Change the map style

Mapbox maps can be styled by creating a [custom map style](https://docs.mapbox.com/studio-manual/guides/map-styling/) and adding it to the `tsml_react_config` object.
Mapbox maps can be styled by picking a [classic Mapbox style](https://docs.mapbox.com/api/maps/styles/#classic-mapbox-styles) or creating a [custom map style](https://docs.mapbox.com/studio-manual/guides/map-styling/) and adding it to the `tsml_react_config` object.

```js
var tsml_react_config = {
Expand All @@ -73,6 +73,62 @@ var tsml_react_config = {
};
```

### Customize theme colors

You can use CSS variables to customize TSML UI’s appearance. Here are the defaults:

```css
#tsml-ui {
--alert-background: #faf4e0;
--alert-text: #998a5e;
--background: #fff;
--border-radius: 4px;
--focus: #0d6efd40;
--font-family: system-ui, -apple-system, sans-serif;
--font-size: 16px;
--in-person: #146c43;
--inactive: #b02a37;
--link: #0d6efd;
--online: #0a58ca;
--online-background-image: url(https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=1440&ixid=MnwxfDB8MXxhbGx8fHx8fHx8fHwxNjIyMTIzODkw&ixlib=rb-1.2.1&q=80&utm_campaign=api-credit&utm_medium=referral&utm_source=unsplash_source&w=1920);
--text: #212529;
}
```

Only specify the variables you wish to override in your code. Hex values (`#123456`) must be used when specifiying colors.

### Dark mode

If your website theme supports responsive dark mode, TSML UI can match it with a media query: In [this demo](https://tsml-ui.code4recovery.org/tests/aasanjose.html) the background will be white if the user prefers a light appearance, and black if they prefer dark.

```css
@media (prefers-color-scheme: dark) {
#tsml-ui {
--background: #000;
--color: #fff;
--link: #7bc8ff;
}
}
```

### Change the online background image

This image will be shown instead of a map for online meetings. Should be roughly 2000px wide and tall.

```css
#tsml-ui {
--online-background-image: url(/path/to/image.jpg);
}
```

To remove:

```css
#tsml-ui {
--online-background-image: none;
}
```

## Frequently asked questions

### How do timezones work?
Expand All @@ -95,7 +151,7 @@ Metatypes are types that are not specified explicitly in the data, they are infe

### 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.
This app exists to help people find A.A. 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.

Expand Down
1 change: 0 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ interface TSMLReactConfig {
params: Array<'search' | 'mode' | 'view' | 'meeting'>;
show: {
controls: boolean;
listButtons: boolean;
title: boolean;
};
strings: {
Expand Down
Loading