You are browsing as a guest. Sign up (or log in) to start making projects!

Garden Calendar

  • 5 Devlogs
  • 10 Total hours

A website that shows you what months vegetables and fruits have to be sown and when they can be harvested.

Ship #1 ✨ Blessed

Garden Calendar is a website that shows you when to sow the plants for your garden.

A calendar shows you when to sow indoors, outdoors, when the plants can be harvested and using filtering options, you can quickly find the plant you are looking for. Furthermore Garden Calendar gives you useful gardening tips for each plant in its database.

I built this project because I wanted to refresh my Angular skills, in hindsight, this project wasn't ideal for
this because I didn't get to use a lot of Angular features.
Nevertheless, it wasn't for nothing, and I learnt something along the way.

  • 5 devlogs
  • 10h
  • 15.86x multiplier
  • 197 Stardust
Try project → See source code →
Open comments for this post

35m 49s logged

GitHub Pages Deployment

I deployed the app to GitHub pages.

I encountered one issue: The images were not loading, because GitHub page URLs end with the name of the repository, so the root of the app is not at / but on /<Repository-Name>. The path of my images were preceded with a / which is incorrect when the root is not at /. Removing the / resolved the issue.

0
0
3
Open comments for this post

2h 19m 6s logged

Plant Details & UI Tweaks

Plants can now be clicked on, showing a details menu on the right with details and a tip for growing the plant.

I had troubles with the CSS of the legend at the bottom right corner which is positioned absolutely: The library used to make the panels resizable sets position: relative during dragging, causing the legend to be in an incorrect position only during dragging. I fixed the issue with some clever div wrapping.

0
0
3
Open comments for this post

3h 4m 34s logged

Bookmarking + Refactoring

Users can now bookmark the plants they want to see. Bookmarked plants save in localStorage.

Moreover, there is now an empty state when there are no plants to show due to filters.

I also did some refactoring and simplified the code here and there.

For my Angular learning goal: I learnt how to use effect(), which seems to do basically the same as the useEffect() hook in React.

1
0
4
Open comments for this post

2h 32m 10s logged

Calendar Rebuild

I rewrote the calendar from an SVG graphic to a table, and added some basic filtering.

Since my goal with this project is to learn Angular this was a nice opportunity to try signal forms. I also created a service for plant-related utility functions.

Next I want to allow users to only show plants they are interested in.

0
0
2
Open comments for this post

1h 48m 30s logged

Gantt Diagram

I want to use a Gantt Diagram to show when to sow and when to harvest plants. I decided to make this chart with a generated SVG graphic but that was a mistake: Calculating the position of each element (text, rectangle, line) is really fragile and styling the diagram further is painful.

I want to re-do the diagram with a html table, which can be styled a lot easier.

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…