jhanley634 / dojo-blackboard

An HTMX webserver for the Dojo's Tuesday night python meetups.
MIT License
3 stars 1 forks source link

pete page #24

Closed PeterTheobald closed 1 month ago

PeterTheobald commented 1 month ago

Summary by Sourcery

Introduce a new endpoint '/users/peter' to serve a basic HTML page for Peter.

New Features:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request adds a new endpoint for Peter's home page in the bboard application. The changes are minimal and straightforward, introducing a single new route handler function.

User journey diagram for Peter's home page

journey
    title User journey for accessing Peter's home page
    section Access Peter's Home Page
      User ->> Application: Navigate to /users/peter
      Application ->> User: Display "Hello world (Pete's page)"

File-Level Changes

Change Details Files
Added a new endpoint for Peter's home page
  • Created a new route handler function named 'peter'
  • Set up the route '/users/peter' to respond with a simple 'Hello world' message
  • Configured the response as an HTMLResponse with appropriate content
src/bboard/main.py

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
jhanley634 commented 1 month ago

It's high time we got this merged to main.