The home page was a bit busy for some so I have cleaned it up and moved its contents
to about.html
The code changes include the addition of an "about" page to enhance the
user experience and provide information about the application. This
helps users understand the purpose and features of the application,
making it more user-friendly. The "about" page contains a comparison
table of different text editors and highlights the unique features of
Notatio. These changes aim to improve usability and provide valuable
information to users.
- Disable submit button and display spinner during form submission to
prevent multiple clicks
- Obtain form field values and send signup request as form data for
processing on the server
- Disable submit button and display spinner during form submission to
prevent multiple clicks
- Obtain form field values and send signup request as form data for
processing on the server
This commit removes unnecessary endpoints from the HTTP server and
deletes the tables.go file, consolidating the relevant code under
main.go. The kanban and update-task-status handlers are no longer
needed, as well as the createTableDB function. No major consequences or
considerations arise from these changes.
for improved user experience
This commit refactors the newuser.html template for improved user
experience by adding a title, meta viewport tag, and Bootstrap CSS. It
also enhances the layout and styling, including the use of Bootstrap
alerts and input groups. The form for creating a new file is now
displayed in a more organized manner.
The Dockerfile is updated to build the notatio binary with the new file
path "/home/notatio/notatio" instead of "/notatio". The final image is
also updated to copy the necessary files to the new file path
"/home/notatio". The entrypoint is modified to change the working
directory before executing the notatio binary.
healthcheck
- Update base image to `docker.io/library/alpine:3.18.4` to ensure the
latest version is used.
- Set the user in the container to `notatio` for security purposes.
- Add a healthcheck to monitor the app's availability.
- Modify the `ENTRYPOINT` to delay the execution by 10 seconds before
starting the application.