Skip to content

Commit 7927638

Browse files
Merge branch 'main' into sf/error-pages
2 parents d5dbaf0 + c1a317b commit 7927638

File tree

40 files changed

+519
-104
lines changed

40 files changed

+519
-104
lines changed

.env.stg.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
DATABASE_URL=ecto://<USER>:<PASSWORD>@db:<PORT>/cesium.link_stg
2-
GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>
3-
GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET>
1+
export DATABASE_URL=ecto://<USER>:<PASSWORD>@db:<PORT>/cesium.link_stg
2+
export GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>
3+
export GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET>

.formatter.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"*.{heex,ex,exs}",
77
"priv/*/seeds.exs",
88
"priv/repo/seeds/*.exs",
9-
"{config,lib,test}/**/*.{heex,ex,exs}",
10-
"storybook/**/*.exs"
9+
"{config,lib,test}/**/*.{heex,ex,exs}"
1110
],
1211
subdirectories: ["priv/*/migrations"]
1312
]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project.
3+
labels: ["enhancement"]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: Check for existing issues
8+
description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
9+
options:
10+
- label: Completed
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: Describe the feature
15+
description: A clear and concise description of what you want to happen.
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: |
21+
If applicable, add mockups / screenshots to help present your vision of the feature
22+
description: Drag images into the text input below.
23+
validations:
24+
required: false
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Bug Report
2+
description: Create a bug report to help us improve.
3+
labels: ["bug"]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: Check for existing issues
8+
description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
9+
options:
10+
- label: Completed
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: Describe the bug / provide steps to reproduce it
15+
description: A clear and concise description of what the bug is.
16+
validations:
17+
required: true
18+
- type: dropdown
19+
id: browsers
20+
attributes:
21+
label: What browsers are you seeing the problem on?
22+
multiple: true
23+
options:
24+
- Firefox
25+
- Chrome
26+
- Safari
27+
- Microsoft Edge
28+
- type: textarea
29+
attributes:
30+
label: If applicable, add screenshots to help explain present your vision of the bug
31+
description: Drag issues into the text input below.
32+
validations:
33+
required: false

.github/workflows/style.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
branches: [main]
66
types: [opened, synchronize]
7+
paths:
8+
- '**/*.ex'
9+
- '**/*.exs'
10+
- '**/*.html.heex'
711

812
jobs:
913
style:

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@ name: Build and Test
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- '**/*.ex'
8+
- '**/*.exs'
9+
- '**/*.html.heex'
610
pull_request:
711
branches: [main]
812
types: [opened, synchronize]
13+
paths:
14+
- '**/*.ex'
15+
- '**/*.exs'
16+
- '**/*.html.heex'
917

1018
jobs:
1119
build:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.env
22
.env.*
33
!.env.*.sample
4+
.envrc
45

56
# The directory Mix will write compiled artifacts to.
67
/_build/

Dockerfile.dev

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@ FROM elixir:1.14-alpine
33
# Install build dependencies
44
RUN apk add --no-cache build-base git python3
55

6-
# Install pdf generation dependencies
7-
RUN apk add --no-cache \
8-
libstdc++ \
9-
libx11 \
10-
libxrender \
11-
libxext \
12-
libssl3 \
13-
ca-certificates \
14-
fontconfig \
15-
freetype \
16-
ttf-droid \
17-
ttf-freefont \
18-
ttf-liberation \
19-
# more fonts
20-
;
21-
226
# Install hex + rebar
237
RUN mix local.hex --force && \
248
mix local.rebar --force

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ We have a [Contributing Guide][contributing] to help you getting started.
3232
<img src=".github/brand/cesium-DARK.svg#gh-light-mode-only" width="300">
3333
<img src=".github/brand/cesium-LIGHT.svg#gh-dark-mode-only" width="300">
3434

35-
Copyright (c) 2020, CeSIUM.
35+
Copyright (c) 2024, CeSIUM.
3636

3737
This project is licensed under the MIT License - see the [LICENSE][license]
3838
file for details.

assets/js/hooks/emoji.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export const EmojiPicker = {
44
mounted() {
55
this.el.addEventListener("click", (event) =>
66
{
7-
if(this.el.parentElement.querySelector("em-emoji-picker") == null) {
8-
const picker = new EmojiMart.Picker({onEmojiSelect: (data) => {updateEmojiInput(this.el.id, data.id); }, theme: "light", set: "native", autoFocus: true, onClickOutside: () => {picker.remove();}});
7+
if (this.el.parentElement.querySelector("em-emoji-picker") == null) {
8+
const picker = new EmojiMart.Picker({onEmojiSelect: (data) => {updateEmojiInput(this.el.id, data.id); }, theme: "light", set: "native", autoFocus: true, onClickOutside: () => {picker.remove()}});
99
picker.style.position = "absolute";
1010
picker.style.left = "100px";
1111
this.el.parentElement.appendChild(picker);

0 commit comments

Comments
 (0)