From 50ee983e27b3c0c13887eb8e95d868556475ce6f Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Wed, 11 Mar 2026 14:10:56 -0400 Subject: [PATCH] found some lingering List references in the template dir; summarily changed to Note --- src/functional_tests/test_simple_note_creation.py | 4 ++-- .../apps/dashboard/_partials/_applet-new-note.html | 2 +- src/templates/apps/dashboard/_partials/_form.html | 2 +- src/templates/apps/dashboard/note.html | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/functional_tests/test_simple_note_creation.py b/src/functional_tests/test_simple_note_creation.py index 7b872a6..6868eaf 100644 --- a/src/functional_tests/test_simple_note_creation.py +++ b/src/functional_tests/test_simple_note_creation.py @@ -7,7 +7,7 @@ from .note_page import NotePage class NewVisitorTest(FunctionalTest): # Test methods - def test_can_start_a_todo_list(self): + def test_can_start_a_note(self): self.create_pre_authenticated_session("alice@test.io") self.browser.get(self.live_server_url) note_page = NotePage(self) @@ -17,7 +17,7 @@ class NewVisitorTest(FunctionalTest): self.assertIn('Welcome', header_text) inputbox = note_page.get_item_input_box() - self.assertEqual(inputbox.get_attribute('placeholder'), 'Enter a to-do item') + self.assertEqual(inputbox.get_attribute('placeholder'), 'Enter a note item') inputbox.send_keys('Buy peacock feathers') diff --git a/src/templates/apps/dashboard/_partials/_applet-new-note.html b/src/templates/apps/dashboard/_partials/_applet-new-note.html index 5f8b660..3ff728c 100644 --- a/src/templates/apps/dashboard/_partials/_applet-new-note.html +++ b/src/templates/apps/dashboard/_partials/_applet-new-note.html @@ -2,7 +2,7 @@ id="id_applet_new_note" style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};" > -

Start a new to-do list

+

Start a new note

{% url "new_note" as form_action %} {% include "apps/dashboard/_partials/_form.html" with form=form form_action=form_action %} diff --git a/src/templates/apps/dashboard/_partials/_form.html b/src/templates/apps/dashboard/_partials/_form.html index 949df5c..f079db5 100644 --- a/src/templates/apps/dashboard/_partials/_form.html +++ b/src/templates/apps/dashboard/_partials/_form.html @@ -4,7 +4,7 @@ id="id_text" name="text" class="form-control form-control-lg{% if form.errors.text %} is-invalid{% endif %}" - placeholder="Enter a to-do item" + placeholder="Enter a note item" value="{{ form.text.value | default:'' }}" aria-describedby="id_text_feedback" required diff --git a/src/templates/apps/dashboard/note.html b/src/templates/apps/dashboard/note.html index 6dd913a..be82cab 100644 --- a/src/templates/apps/dashboard/note.html +++ b/src/templates/apps/dashboard/note.html @@ -1,8 +1,8 @@ {% extends "core/base.html" %} {% load lyric_extras %} -{% block title_text %}Your to-do list{% endblock title_text %} -{% block header_text %}Your to-do list{% endblock header_text %} +{% block title_text %}Your note{% endblock title_text %} +{% block header_text %}Your note{% endblock header_text %} {% block extra_header %} @@ -13,7 +13,7 @@ {% block content %}
- List created by: {{ note.owner|display_name }} + Note created by: {{ note.owner|display_name }} {% for item in note.item_set.all %} @@ -43,7 +43,7 @@ - List shared with: + Note shared with: {% for user in note.shared_with.all %} {{ user|display_name }} {% endfor %}
{{ forloop.counter }}. {{ item.text }}