Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pages for login and viewing user tickets #16

Merged
merged 8 commits into from
Jan 15, 2024

Conversation

zzat
Copy link
Collaborator

@zzat zzat commented Jan 13, 2024

This PR adds following features to the app:

@zzat zzat requested a review from olttwa January 13, 2024 09:54
@olttwa olttwa changed the base branch from main to feature/db_queries_unit_tests January 13, 2024 10:24
[:img {:class "w-20 -rotate-45 float-right"
:src "https://live.staticflickr.com/8182/7985611823_2a8cba9408_z.jpg"}]
:else nil)]]]]))))
(when (or (= "InProcess" @booking-status)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DRY refactoring needed here.

(defn get-user-tickets [db-spec]
(run-query!
db-spec
(sql/format {:select [:u.name [[:array_agg :ticket_name] :ticket_name]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kebab-case instead of snake-case

@zzat zzat merged commit 0997cc8 into feature/db_queries_unit_tests Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants