Skip to content

Commit 8e4dea5

Browse files
authored
Merge pull request #96 from marksie1988/dev
v1.4.0
2 parents 0ba81fd + b82eb3b commit 8e4dea5

File tree

12 files changed

+496
-413
lines changed

12 files changed

+496
-413
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ RUN apt install zsh -y
88

99
RUN wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O - | zsh || true
1010

11+
EXPOSE 5000
12+
1113
CMD ["zsh"]

.devcontainer/devcontainer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
"name": "Atomic Calendar Revive",
33
"dockerFile": "Dockerfile",
44
"context": "..",
5-
"appPort": ["5000:5000"],
5+
"appPorts": [5000],
66
"postCreateCommand": "npm install",
7-
"workspaceFolder": "/workspace",
8-
"workspaceMount": "type=bind,source=/home/${env:USERNAME}/repos/atomic-calendar-revive,target=/workspace",
7+
"workspaceFolder": "/atomic-calendar-revive",
8+
"workspaceMount": "type=bind,source=/home/${env:USERNAME}/repos/atomic-calendar-revive,target=/atomic-calendar-revive",
99
"extensions": [
1010
"github.vscode-pull-request-github",
1111
"esbenp.prettier-vscode",
1212
"yzhang.markdown-all-in-one",
1313
"bierner.lit-html",
1414
"runem.lit-plugin",
15-
"auchenberg.vscode-browser-preview",
1615
"davidanson.vscode-markdownlint",
1716
"redhat.vscode-yaml"
1817
],

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
dist/app*.js
2+
13
# Logs
24
logs
35
*.log

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An advanced calendar card for Home Assistant with Lovelace. (fixed to work with
66

77
[![GitHub Release][releases-shield]][releases]
88
[![License][license-shield]](LICENSE.md)
9-
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
9+
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
1010

1111
[![Known Issues][issues-shield]][issues]
1212
![Project Maintenance][maintenance-shield]

dist/atomic-calendar-revive.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/development/devcycle.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ The branch should have a relevant short name e.g. patch-1 or bugfix-67 where the
4747

4848
---
4949

50+
## Make changes & Test
51+
52+
Make the changes that you were planning in impelmenting
53+
54+
If using DevContainer you can test the files with `npm start`, the file will be accessible on http://127.0.0.1:5000/app.js
55+
56+
To add this to your Home assistant configuration add the following:
57+
```yaml
58+
- url: "http://127.0.0.1:5000/app.js"
59+
type: module
60+
```
5061
5162
## Commit your changes
5263

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ It contains two types of views: `Events mode` and `Calendar mode`. You can switc
2525

2626
### New Features
2727

28+
- Calendar view clicked date is highlighted
2829
- Added more appealing UI
2930
- Added the ability to display calendar names in event view
3031
- Added keyword whitelists

docs/options/theme-options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ If you don't set colors, default theme colors will be used. If you use automatic
3232
| calEventBulletColor | string | v1.3.0 | `#cc5500` Sets bullet color for events on calendar day
3333
| CalEventSatColor | string | v1.3.0 | `rgba(86, 86, 86, .05)` Sets Saturday to a different color
3434
| CalEventSunColor | string | v1.3.0 | `rgba(255, 255,255, .15)` Sets Sunday to a different color
35+
| CalActiveEventBackgroundColor | string | v1.4.0 | `rgba(255, 69,255, .50)` Sets selected day to different color

docs/quickstart.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ This quick start guide will take you through the easiest ways to get up and runn
1414

1515
Install using `HACS` component:
1616
1. You need HACS installed and configured
17-
2. Go to Community tab, Settings
18-
3. Paste this line into `Add custom repository` field:
17+
2. Go to plugins tab
18+
3. Search for `Atomic Calendar Revive`
19+
4. If you use the Lovelace Editor then add the follwoing to Configuration -> Lovelace Dashboards -> Resources
1920
```
20-
marksie1988/atomic-calendar-revive
21-
```
22-
4. Choose type: Plugin
23-
5. The atomic calendar revive component will be available to install under the Plugins tab.
24-
6. If you use the Lovelace Editor then add the follwoing to Configuration -> Lovelace Dashboards -> Resources
25-
```
26-
/local/community/atomic-calendar-revive/atomic-calendar-revive.js
21+
/hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js
2722
```
2823
7. If you edit your files directly, add the below to the `ui-lovelace.yaml` file :
2924
```yaml

0 commit comments

Comments
 (0)